aboutsummaryrefslogtreecommitdiff
path: root/src/index/coinstatsindex.h
diff options
context:
space:
mode:
authorFabian Jahr <fjahr@protonmail.com>2021-04-18 23:06:18 +0200
committerFabian Jahr <fjahr@protonmail.com>2022-04-25 23:22:00 +0200
commitf08c9fb0c6a799e3cb75ca5f763a746471625beb (patch)
treecf2cb7bbf15a69cf52bc997ac26305adf3907227 /src/index/coinstatsindex.h
parent2561823531c25e1510c107eb41de944b00444ce0 (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/coinstatsindex.h')
-rw-r--r--src/index/coinstatsindex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/index/coinstatsindex.h b/src/index/coinstatsindex.h
index 24190ac137..6f53bb74fb 100644
--- a/src/index/coinstatsindex.h
+++ b/src/index/coinstatsindex.h
@@ -36,6 +36,8 @@ private:
bool ReverseBlock(const CBlock& block, const CBlockIndex* pindex);
+ bool AllowPrune() const override { return true; }
+
protected:
bool Init() override;