Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 683 Lines • ▼ Show 20 Lines | private: | ||||
/** | /** | ||||
* The best block via avalanche voting. | * The best block via avalanche voting. | ||||
* This block cannot be reorged in any way except by explicit user action. | * This block cannot be reorged in any way except by explicit user action. | ||||
*/ | */ | ||||
const CBlockIndex *m_avalancheFinalizedBlockIndex | const CBlockIndex *m_avalancheFinalizedBlockIndex | ||||
GUARDED_BY(cs_avalancheFinalizedBlockIndex) = nullptr; | GUARDED_BY(cs_avalancheFinalizedBlockIndex) = nullptr; | ||||
CBlockIndex const *m_best_fork_tip = nullptr; | |||||
CBlockIndex const *m_best_fork_base = nullptr; | |||||
public: | public: | ||||
//! Reference to a BlockManager instance which itself is shared across all | //! Reference to a BlockManager instance which itself is shared across all | ||||
//! CChainState instances. | //! CChainState instances. | ||||
node::BlockManager &m_blockman; | node::BlockManager &m_blockman; | ||||
/** Chain parameters for this chainstate */ | /** Chain parameters for this chainstate */ | ||||
const CChainParams &m_params; | const CChainParams &m_params; | ||||
▲ Show 20 Lines • Show All 600 Lines • Show Last 20 Lines |