refactor: remove unused methods in classes CDBIterator,CDBWrapper,CCoinsViewDBCursor#25438
Conversation
…tValueSize()` These methods haven't been used since the chainstate db cache has been switched from per-tx to per-txout model years ago (PR bitcoin#10195, commit d342424).
|
Code review ACK fb38c6e |
|
Btw, checking at this |
Yes. It seems like it! |
This method hasn't been used since the txindex migration code has been removed (PR bitcoin#22626, commit fa20f81). Co-authored-by: furszy <[email protected]>
{CDBIterator,CCoinsViewDBCursor}::GetValueSize()CDBIterator,CCoinsViewDBCursor
CDBIterator,CCoinsViewDBCursorCDBIterator,CDBWrapper,CCoinsViewDBCursor
|
|
Seems like it is used in Line 154 in 01e9e2d |
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
…terator,CDBWrapper,CCoinsViewDBCursor` e4b4db5 refactor: remove unused method `CDBWrapper::CompactRange` (Sebastian Falbesoner) fb38c6e refactor: remove unused methods `{CDBIterator,CCoinsViewDBCursor}::GetValueSize()` (Sebastian Falbesoner) Pull request description: The `GetValueSize` methods haven't been used since the chainstate db cache has been switched from per-tx to per-txout model years ago (PR bitcoin#10195, commit d342424). The `CompactRange` is unused since the txindex migration code was removed (PR bitcoin#22626, commit bitcoin@fa20f81). ACKs for top commit: fanquake: ACK e4b4db5 furszy: re-ACK e4b4db5 laanwj: Code review ACK e4b4db5 Tree-SHA512: 77da445fb70c744046263c6f2ddb05782b68e3d4b2ea604dd7c7dc73ce7c1f2d2b48ec68db4dcb03e35fc27488b99b0a420f6fa3d5b83d325c1708ed68e99e0a
The
GetValueSizemethods haven't been used since the chainstate db cache has been switched from per-tx to per-txout model years ago (PR #10195, commit d342424). TheCompactRangeis unused since the txindex migration code was removed (PR #22626, commit fa20f81).