Changeset View
Changeset View
Standalone View
Standalone View
src/index/coinstatsindex.h
Show All 34 Lines | private: | ||||
Amount m_total_unspendables_scripts{Amount::zero()}; | Amount m_total_unspendables_scripts{Amount::zero()}; | ||||
Amount m_total_unspendables_unclaimed_rewards{Amount::zero()}; | Amount m_total_unspendables_unclaimed_rewards{Amount::zero()}; | ||||
bool ReverseBlock(const CBlock &block, const CBlockIndex *pindex); | bool ReverseBlock(const CBlock &block, const CBlockIndex *pindex); | ||||
protected: | protected: | ||||
bool Init() override; | bool Init() override; | ||||
bool CommitInternal(CDBBatch &batch) override; | |||||
bool WriteBlock(const CBlock &block, const CBlockIndex *pindex) override; | bool WriteBlock(const CBlock &block, const CBlockIndex *pindex) override; | ||||
bool Rewind(const CBlockIndex *current_tip, | bool Rewind(const CBlockIndex *current_tip, | ||||
const CBlockIndex *new_tip) override; | const CBlockIndex *new_tip) override; | ||||
BaseIndex::DB &GetDB() const override { return *m_db; } | BaseIndex::DB &GetDB() const override { return *m_db; } | ||||
const char *GetName() const override { return "coinstatsindex"; } | const char *GetName() const override { return "coinstatsindex"; } | ||||
Show All 15 Lines |