diff options
author | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2022-06-21 01:12:07 +0200 |
---|---|---|
committer | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2022-06-21 16:19:10 +0200 |
commit | fb38c6e21f064e23b63a46d15adb873029463cff (patch) | |
tree | 6ee418806ed1f7ea48b76e89f76e9db9eadd0fdc /src/txdb.cpp | |
parent | 5884a47c367f6ff1aff3ae1ef6894881c5a5e0b7 (diff) | |
download | bitcoin-fb38c6e21f064e23b63a46d15adb873029463cff.tar.xz |
refactor: remove unused methods `{CDBIterator,CCoinsViewDBCursor}::GetValueSize()`
These methods haven't been used since the chainstate db cache has been
switched from per-tx to per-txout model years ago (PR #10195, commit
d342424301013ec47dc146a4beb49d5c9319d80a).
Diffstat (limited to 'src/txdb.cpp')
-rw-r--r-- | src/txdb.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/txdb.cpp b/src/txdb.cpp index a0939873ad..c048c2d92a 100644 --- a/src/txdb.cpp +++ b/src/txdb.cpp @@ -211,7 +211,6 @@ public: bool GetKey(COutPoint &key) const override; bool GetValue(Coin &coin) const override; - unsigned int GetValueSize() const override; bool Valid() const override; void Next() override; @@ -257,11 +256,6 @@ bool CCoinsViewDBCursor::GetValue(Coin &coin) const return pcursor->GetValue(coin); } -unsigned int CCoinsViewDBCursor::GetValueSize() const -{ - return pcursor->GetValueSize(); -} - bool CCoinsViewDBCursor::Valid() const { return keyTmp.first == DB_COIN; |