Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge bitcoin#29726: assumeutxo: Fix -reindex before snapshot was val…
…idated b7ba60f test: add coverage for -reindex and assumeutxo (Martin Zumsande) e57f951 init, validation: Fix -reindex option with an existing snapshot (Martin Zumsande) Pull request description: In c711ca1 logic was introduced that `-reindex` and `-reindex-chainstate` will delete the snapshot chainstate. This doesn't work currently, instead of deleting the snapshot chainstate the node crashes with an assert (this can be triggered by applying the added test commit on master). Fix this, and another bug that would prevent the new active chainstate from having a mempool after `-reindex` has deleted the snapshot (also covered by the test). ACKs for top commit: fjahr: re-ACK b7ba60f hernanmarino: crACK b7ba60f . Good fix BrandonOdiwuor: re-ACK b7ba60f byaye: Tested ACK b7ba60f Tree-SHA512: c168f36997d7677d590af37b10427870f5d30123abf1c76032a16661e486735373bfa7e049e6aca439526fbcb6d619f970bf9d042196c851bf058a75a32fafdc
- Loading branch information