wallet: remove outdated RewriteDB calls from SPKM & DBErrors::NEED_REWRITE enum value#34301
wallet: remove outdated RewriteDB calls from SPKM & DBErrors::NEED_REWRITE enum value#34301sedited merged 2 commits intobitcoin:masterfrom
RewriteDB calls from SPKM & DBErrors::NEED_REWRITE enum value#34301Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code Coverage & BenchmarksFor details see: https://corecheck.dev/bitcoin/bitcoin/pulls/34301. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please copy-paste ConflictsNo conflicts as of last run. |
|
Concept ACK I think this can actually extend a bit futher into getting rid of The only places we should ever need |
RewriteDB calls from SPKMRewriteDB calls from SPKM & DBErrors::NEED_REWRITE enum value
Thanks, I have added a commit addressing this point. |
|
ACK 5c802c7 |
ISTM that there is no implementation left of the `RewriteDB` method in any of the SPKMs, and thus, its call sites can be removed safely.
As highlighted in the PR review comment, this enum seems no longer required as the specific issue it solves for involves BDB based wallets that can't be loaded anymore outside the context of wallet migration, which rewrites the database anyway.
|
ACK c6a6435 |
ISTM that there is no implementation left of the
RewriteDBmethod in any of the SPKMs, and thus, its call sites can be removed safely.Also remove
DBErrors::NEED_REWRITEenum value as its usage is outdated now.