diff options
author | Martin Zumsande <mzumsande@gmail.com> | 2022-05-23 21:07:29 +0200 |
---|---|---|
committer | Martin Zumsande <mzumsande@gmail.com> | 2023-05-17 11:14:28 -0400 |
commit | 97844d9268b87b5d09b1091bfd0326ed18ce5b91 (patch) | |
tree | a5f5056ea6825feb4b22e3533cd43025b29c4932 /test/functional/p2p_blockfilters.py | |
parent | 60bec3c82d09ec208bf0028ad32499e251ad205e (diff) | |
download | bitcoin-97844d9268b87b5d09b1091bfd0326ed18ce5b91.tar.xz |
index: Enable reindex-chainstate with active indexes
This is achieved by letting the index sync thread wait until
reindex-chainstate is finished.
This also disables the pruning check when reindexing the chainstate (which is
incompatible with prune mode) because there would be no chain at this point
in init.
Diffstat (limited to 'test/functional/p2p_blockfilters.py')
-rwxr-xr-x | test/functional/p2p_blockfilters.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/functional/p2p_blockfilters.py b/test/functional/p2p_blockfilters.py index 2da9037a69..e4908735c9 100755 --- a/test/functional/p2p_blockfilters.py +++ b/test/functional/p2p_blockfilters.py @@ -255,13 +255,6 @@ class CompactFiltersTest(BitcoinTestFramework): msg = "Error: Unknown -blockfilterindex value abc." self.nodes[0].assert_start_raises_init_error(expected_msg=msg) - self.log.info("Test -blockfilterindex with -reindex-chainstate raises an error") - self.nodes[0].assert_start_raises_init_error( - expected_msg='Error: -reindex-chainstate option is not compatible with -blockfilterindex. ' - 'Please temporarily disable blockfilterindex while using -reindex-chainstate, or replace -reindex-chainstate with -reindex to fully rebuild all indexes.', - extra_args=['-blockfilterindex', '-reindex-chainstate'], - ) - def compute_last_header(prev_header, hashes): """Compute the last filter header from a starting header and a sequence of filter hashes.""" header = ser_uint256(prev_header) |