diff options
author | Ryan Ofsky <ryan@ofsky.org> | 2022-01-17 20:33:16 -0500 |
---|---|---|
committer | Ryan Ofsky <ryan@ofsky.org> | 2022-07-18 13:39:55 -0500 |
commit | dc971be0831959e7ee6a6df9e1aa46091351a8fb (patch) | |
tree | 16dca1f909e3a69c260045cc7b89e0123da3e1e8 /src/index/coinstatsindex.h | |
parent | bef4e405f3de2718dfee279a9abff4daf016da26 (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/coinstatsindex.h')
-rw-r--r-- | src/index/coinstatsindex.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index/coinstatsindex.h b/src/index/coinstatsindex.h index 4d90065330..c90a5cf4fb 100644 --- a/src/index/coinstatsindex.h +++ b/src/index/coinstatsindex.h @@ -43,7 +43,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; |