diff options
author | Fabian Jahr <fjahr@protonmail.com> | 2021-04-18 23:06:18 +0200 |
---|---|---|
committer | Fabian Jahr <fjahr@protonmail.com> | 2022-04-25 23:22:00 +0200 |
commit | f08c9fb0c6a799e3cb75ca5f763a746471625beb (patch) | |
tree | cf2cb7bbf15a69cf52bc997ac26305adf3907227 /src/index/txindex.h | |
parent | 2561823531c25e1510c107eb41de944b00444ce0 (diff) |
Index: Use prune locks for blockfilterindex
Prior to this change blocks could be pruned up to the last block before the blockfilterindex current best block.
Diffstat (limited to 'src/index/txindex.h')
-rw-r--r-- | src/index/txindex.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/index/txindex.h b/src/index/txindex.h index 2bbc602631..ec339abaa1 100644 --- a/src/index/txindex.h +++ b/src/index/txindex.h @@ -20,6 +20,8 @@ protected: private: const std::unique_ptr<DB> m_db; + bool AllowPrune() const override { return false; } + protected: bool WriteBlock(const CBlock& block, const CBlockIndex* pindex) override; |