diff options
author | Fabian Jahr <fjahr@protonmail.com> | 2020-01-24 18:56:47 +0100 |
---|---|---|
committer | Fabian Jahr <fjahr@protonmail.com> | 2021-04-19 20:28:48 +0200 |
commit | dd58a4de21469d6d848ae309edc47f558628221d (patch) | |
tree | 6b914fa5b525d73db702bd454cd7a467fac63a73 /src/index/base.h | |
parent | a8a46c4b3cfda4b95c92a36f8cebd3606377e57d (diff) | |
download | bitcoin-dd58a4de21469d6d848ae309edc47f558628221d.tar.xz |
index: Add Coinstats index
The index holds the values previously calculated in coinstats.cpp
for each block, representing the state of the UTXO set at each
height.
Diffstat (limited to 'src/index/base.h')
-rw-r--r-- | src/index/base.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/index/base.h b/src/index/base.h index ac3c429a5a..d887620524 100644 --- a/src/index/base.h +++ b/src/index/base.h @@ -81,6 +81,8 @@ protected: void ChainStateFlushed(const CBlockLocator& locator) override; + const CBlockIndex* CurrentIndex() { return m_best_block_index.load(); }; + /// Initialize internal state from the database and block index. virtual bool Init(); |