Remove -rescan startup parameter#23123
Remove -rescan startup parameter#23123meshcollider wants to merge 4 commits intobitcoin:masterfrom meshcollider:202109_remove_rescan
-rescan startup parameter#23123Conversation
maflcko
left a comment
There was a problem hiding this comment.
Approach ACK 256314b984a215fab0cf16b13a234ae002e987c4
Didn't review closely
|
Concept ACK |
|
utACK 256314b |
|
Concept and code review ACK 256314b984a215fab0cf16b13a234ae002e987c4 |
|
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. |
|
Modified second commit to use |
|
ACK dc3ec74 |
|
re-ACK dc3ec74 |
dc3ec74 Add rescan removal release note (Samuel Dobson) bccd1d9 Remove -rescan startup parameter (Samuel Dobson) f963b0f Corrupt wallet tx shouldn't trigger rescan of all wallets (Samuel Dobson) 6c00649 Remove outdated dummy wallet -salvagewallet arg (Samuel Dobson) Pull request description: Remove the `-rescan` startup parameter. Rescans can be run with the `rescanblockchain` RPC. Rescans are still done on wallet-load if needed due to corruption, for example. ACKs for top commit: achow101: ACK dc3ec74 laanwj: re-ACK dc3ec74 Tree-SHA512: 608360d0e7d73737fd3ef408b01b33d97a75eebccd70c6d1b47a32fecb99b9105b520b111b225beb10611c09aa840a2b6d2b6e6e54be5d0362829e757289de5c
| LOAD_FAIL, | ||
| NEED_REWRITE | ||
| NEED_REWRITE, | ||
| RESCAN_REQUIRED |
There was a problem hiding this comment.
In commit "Corrupt wallet tx shouldn't trigger rescan of all wallets" (f963b0f)
Minor: Might call this NEED_RESCAN to be consistent with NEED_REWRITE
There was a problem hiding this comment.
I think this is a good suggestion to be more consistent. Maybe in a follow-up PR.
|
Merged here: 571bb94 |
8615507 scripted-diff: rename DBErrors::RESCAN_REQUIRED to NEED_RESCAN (Samuel Dobson) Pull request description: Suggested here as a trivial follow-up: #23123 (comment) Makes RESCAN_REQUIRED consistent with NEED_REWRITE ACKs for top commit: achow101: ACK 8615507 jonatack: ACK 8615507 Tree-SHA512: 82d057c45e192cd6dd8a47675b52699e6cbc82272609a971e6e5d6796aad14a941a70e40d3913dbb611f79c8eadff8030c60ea6f203f2edc3720c0e78c166b97
…ED_RESCAN 8615507 scripted-diff: rename DBErrors::RESCAN_REQUIRED to NEED_RESCAN (Samuel Dobson) Pull request description: Suggested here as a trivial follow-up: bitcoin#23123 (comment) Makes RESCAN_REQUIRED consistent with NEED_REWRITE ACKs for top commit: achow101: ACK 8615507 jonatack: ACK 8615507 Tree-SHA512: 82d057c45e192cd6dd8a47675b52699e6cbc82272609a971e6e5d6796aad14a941a70e40d3913dbb611f79c8eadff8030c60ea6f203f2edc3720c0e78c166b97
Remove the
-rescanstartup parameter.Rescans can be run with the
rescanblockchainRPC.Rescans are still done on wallet-load if needed due to corruption, for example.