12 #include "validation.h"
The block chain is a tree shaped structure starting with the genesis block at the root,...
CBlockIndex * Tip(bool fProofOfStake=false) const
Returns the index entry for the tip of this chain, or nullptr if none.
static void NotifyMasternodeListChanged(bool undo, const CDeterministicMNList &oldMNList, const CDeterministicMNListDiff &diff)
void NotifyMasternodeListChanged(bool undo, const CDeterministicMNList &oldMNList, const CDeterministicMNListDiff &diff) override
Notifies listeners of updated deterministic masternode list.
void UpdatedBlockTip(const CBlockIndex *pindexNew, const CBlockIndex *pindexFork, bool fInitialDownload) override
Notifies listeners when the block chain tip advances.
void InitializeCurrentBlockTip()
void AcceptedBlockHeader(const CBlockIndex *pindexNew) override
std::unique_ptr< CDeterministicMNManager > deterministicMNManager
std::unique_ptr< CQuorumManager > quorumManager
std::unique_ptr< CDKGSessionManager > quorumDKGSessionManager
std::unique_ptr< CChainLocksHandler > chainLocksHandler
RecursiveMutex cs_main
Global state.
CChain chainActive
The currently-connected chain of blocks (protected by cs_main).