|
node::BlockManager & | m_blockman |
| Reference to a BlockManager instance which itself is shared across all Chainstate instances. More...
|
|
ChainstateManager & | m_chainman |
| The chainstate manager that owns this chainstate. More...
|
|
CChain | m_chain |
| The current chain of blockheaders we consult and build on. More...
|
|
const std::optional< uint256 > | m_from_snapshot_blockhash |
| The blockhash which is the base of the snapshot this chainstate was created from. More...
|
|
const CBlockIndex *SnapshotBase() EXCLUSIVE_LOCKS_REQUIRED(std::set< CBlockIndex *, node::CBlockIndexWorkComparator > | setBlockIndexCandidates |
| The base of the snapshot this chainstate was created from. More...
|
|
size_t | m_coinsdb_cache_size_bytes {0} |
| The cache size of the on-disk coins view. More...
|
|
size_t | m_coinstip_cache_size_bytes {0} |
| The cache size of the in-memory coins view. More...
|
|
bool ActivateBestChain(BlockValidationState &state, std::shared_ptr< const CBlock > pblock=nullptr) LOCKS_EXCLUDED(DisconnectResult DisconnectBlock(const CBlock &block, const CBlockIndex *pindex, CCoinsViewCache &view) EXCLUSIVE_LOCKS_REQUIRED(boo | ConnectBlock )(const CBlock &block, BlockValidationState &state, CBlockIndex *pindex, CCoinsViewCache &view, bool fJustCheck=false) EXCLUSIVE_LOCKS_REQUIRED(cs_main) |
| Find the best known block, and make it the tip of the block chain. More...
|
|
bool m_mempool | cs |
|
bool PreciousBlock(BlockValidationState &state, CBlockIndex *pindex) LOCKS_EXCLUDED(bool InvalidateBlock(BlockValidationState &state, CBlockIndex *pindex) LOCKS_EXCLUDED(voi | ResetBlockFailureFlags )(CBlockIndex *pindex) EXCLUSIVE_LOCKS_REQUIRED(cs_main) |
| Mark a block as precious and reorganize. More...
|
|
bool m_disabled | GUARDED_BY (::cs_main) |
| This toggle exists for use when doing background validation for UTXO snapshots. More...
|
|
const CBlockIndex *m_cached_snapshot_base | GUARDED_BY (::cs_main) |
| Cached result of LookupBlockIndex(*m_from_snapshot_blockhash) More...
|
|
Mutex | m_chainstate_mutex |
| The ChainState Mutex A lock that must be held when modifying this ChainState - held in ActivateBestChain() and InvalidateBlock() More...
|
|
CTxMemPool * | m_mempool |
| Optional mempool that is kept in sync with the chain. More...
|
|
std::unique_ptr< CoinsViews > | m_coins_views |
| Manages the UTXO set, which is a reflection of the contents of m_chain . More...
|
|
Definition at line 15 of file mempool.h.