Changeset View
Changeset View
Standalone View
Standalone View
src/index/txindex.h
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | private: | ||||
bool WriteBestBlock(const CBlockIndex *block_index); | bool WriteBestBlock(const CBlockIndex *block_index); | ||||
protected: | protected: | ||||
void | void | ||||
BlockConnected(const std::shared_ptr<const CBlock> &block, | BlockConnected(const std::shared_ptr<const CBlock> &block, | ||||
const CBlockIndex *pindex, | const CBlockIndex *pindex, | ||||
const std::vector<CTransactionRef> &txn_conflicted) override; | const std::vector<CTransactionRef> &txn_conflicted) override; | ||||
void SetBestChain(const CBlockLocator &locator) override; | void ChainStateFlushed(const CBlockLocator &locator) override; | ||||
public: | public: | ||||
/// Constructs the TxIndex, which becomes available to be queried. | /// Constructs the TxIndex, which becomes available to be queried. | ||||
explicit TxIndex(std::unique_ptr<TxIndexDB> db); | explicit TxIndex(std::unique_ptr<TxIndexDB> db); | ||||
/// Destructor interrupts sync thread if running and blocks until it exits. | /// Destructor interrupts sync thread if running and blocks until it exits. | ||||
~TxIndex(); | ~TxIndex(); | ||||
Show All 21 Lines |