mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
84716b134eAdd "index/blockfilterindex -> validation -> index/blockfilterindex" to expected circular dependencies (Jonas Schnelli)ab3a0a2fb9Add functional test for blockfilterindex in prune-mode (Jonas Schnelli)c286a22f7bAdd debug startup parameter -fastprune for more effective pruning tests (Jonas Schnelli)5e112269c3Avoid pruning below the blockfilterindex sync height (Jonas Schnelli)00d57ff768Avoid accessing nullpointer in BaseIndex::GetSummary() (Jonas Schnelli)6abe9f5b11Allow blockfilter in conjunction with prune (Jonas Schnelli) Pull request description: Maintaining the blockfilterindexes in prune mode is possible and may lead to efficient p2p based rescans of wallets (restore backups, import/sweep keys) beyond the prune height (rescans not part of that PR). This PR allows running the blockfilterindex(es) in conjunction with pruning. * Bitcoind/Qt will shutdown during startup when missing block data has been detected ([re]enable `-blockfilterindex` when we already have pruned) * manual block pruning is disabled during blockfilterindex sync * auto-pruning is delayed during blockfilterindex sync ToDos: * [x] Functional tests ACKs for top commit: fjahr: Code review ACK84716b1ryanofsky: Code review ACK84716b134e. Only changes since last review were suggested new FindFilesToPrune argument and test. benthecarman: tACK84716b134eTree-SHA512: 91d832c6c562c463f7ec7655c08956385413a99a896640b9737bda0183607fac530435d03d87c3c0e70c61ccdfe73fe8f3639bc7d26d33ca7e60925ebb97d77a
27 KiB
27 KiB