diff options
author | Ryan Ofsky <ryan@ofsky.org> | 2024-06-07 12:12:34 +0200 |
---|---|---|
committer | TheCharlatan <seb.kung@gmail.com> | 2024-06-07 19:17:11 +0200 |
commit | 804f09dfa116300914e2aeef05ed9710dd504e8c (patch) | |
tree | 9dccb9bfec7e6a08dd6036e29b60b958bec67db6 /test | |
parent | e17255322378076edce3ef6f06cd36ca58d2e236 (diff) |
kernel: Add less confusing reindex options
Drop confusing kernel options:
BlockManagerOpts::reindex
ChainstateLoadOptions::reindex
ChainstateLoadOptions::reindex_chainstate
Replacing them with more straightforward options:
ChainstateLoadOptions::wipe_block_tree_db
ChainstateLoadOptions::wipe_chainstate_db
Having two options called "reindex" which did slightly different things
was needlessly confusing (one option wiped the block tree database, and
the other caused block files to be rescanned). Also the previous set of
options did not allow rebuilding the block database without also
rebuilding the chainstate database, when it should be possible to do
those independently.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions