From dc971be0831959e7ee6a6df9e1aa46091351a8fb Mon Sep 17 00:00:00 2001 From: Ryan Ofsky Date: Mon, 17 Jan 2022 20:33:16 -0500 Subject: indexes, refactor: Remove CBlockIndex* uses in index WriteBlock methods Replace WriteBlock method with CustomAppend and pass BlockInfo struct instead of CBlockIndex* pointer This commit does not change behavior in any way. --- src/index/blockfilterindex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/index/blockfilterindex.h') diff --git a/src/index/blockfilterindex.h b/src/index/blockfilterindex.h index ac622b9d6b..8aeff0bb00 100644 --- a/src/index/blockfilterindex.h +++ b/src/index/blockfilterindex.h @@ -45,7 +45,7 @@ protected: bool CommitInternal(CDBBatch& batch) override; - bool WriteBlock(const CBlock& block, const CBlockIndex* pindex) override; + bool CustomAppend(const interfaces::BlockInfo& block) override; bool Rewind(const CBlockIndex* current_tip, const CBlockIndex* new_tip) override; -- cgit v1.2.3