aboutsummaryrefslogtreecommitdiff
path: root/src/index/txindex.h
diff options
context:
space:
mode:
authorRyan Ofsky <ryan@ofsky.org>2022-01-17 20:33:16 -0500
committerRyan Ofsky <ryan@ofsky.org>2022-07-18 13:39:55 -0500
commitdc971be0831959e7ee6a6df9e1aa46091351a8fb (patch)
tree16dca1f909e3a69c260045cc7b89e0123da3e1e8 /src/index/txindex.h
parentbef4e405f3de2718dfee279a9abff4daf016da26 (diff)
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.
Diffstat (limited to 'src/index/txindex.h')
-rw-r--r--src/index/txindex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index/txindex.h b/src/index/txindex.h
index f74a7511dc..be240c4582 100644
--- a/src/index/txindex.h
+++ b/src/index/txindex.h
@@ -23,7 +23,7 @@ private:
bool AllowPrune() const override { return false; }
protected:
- bool WriteBlock(const CBlock& block, const CBlockIndex* pindex) override;
+ bool CustomAppend(const interfaces::BlockInfo& block) override;
BaseIndex::DB& GetDB() const override;