aboutsummaryrefslogtreecommitdiff
path: root/src/index/blockfilterindex.h
diff options
context:
space:
mode:
authorRyan Ofsky <ryan@ofsky.org>2022-01-17 20:33:52 -0500
committerRyan Ofsky <ryan@ofsky.org>2022-07-18 13:39:55 -0500
commitee3a079fab2c33b4186b62ab822753954a4e545f (patch)
tree6f38188bc651d5d3ea4a4a295b578b68e94998ba /src/index/blockfilterindex.h
parentdc971be0831959e7ee6a6df9e1aa46091351a8fb (diff)
downloadbitcoin-ee3a079fab2c33b4186b62ab822753954a4e545f.tar.xz
indexes, refactor: Remove CBlockIndex* uses in index Rewind methods
Replace Rewind method with CustomRewind and pass block hashes and heights instead of CBlockIndex* pointers This commit does not change behavior in any way.
Diffstat (limited to 'src/index/blockfilterindex.h')
-rw-r--r--src/index/blockfilterindex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index/blockfilterindex.h b/src/index/blockfilterindex.h
index 8aeff0bb00..75ae97d11a 100644
--- a/src/index/blockfilterindex.h
+++ b/src/index/blockfilterindex.h
@@ -47,7 +47,7 @@ protected:
bool CustomAppend(const interfaces::BlockInfo& block) override;
- bool Rewind(const CBlockIndex* current_tip, const CBlockIndex* new_tip) override;
+ bool CustomRewind(const interfaces::BlockKey& current_tip, const interfaces::BlockKey& new_tip) override;
BaseIndex::DB& GetDB() const override { return *m_db; }