Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 1,218 Lines • ▼ Show 20 Lines | |||||
extern ChainstateManager g_chainman GUARDED_BY(::cs_main); | extern ChainstateManager g_chainman GUARDED_BY(::cs_main); | ||||
/** Please prefer the identical ChainstateManager::ActiveChainstate */ | /** Please prefer the identical ChainstateManager::ActiveChainstate */ | ||||
CChainState &ChainstateActive(); | CChainState &ChainstateActive(); | ||||
/** Please prefer the identical ChainstateManager::ActiveChain */ | /** Please prefer the identical ChainstateManager::ActiveChain */ | ||||
CChain &ChainActive(); | CChain &ChainActive(); | ||||
/** Please prefer the identical ChainstateManager::BlockIndex */ | |||||
BlockMap &BlockIndex(); | |||||
/** | /** | ||||
* Global variable that points to the active block tree (protected by cs_main) | * Global variable that points to the active block tree (protected by cs_main) | ||||
*/ | */ | ||||
extern std::unique_ptr<CBlockTreeDB> pblocktree; | extern std::unique_ptr<CBlockTreeDB> pblocktree; | ||||
/** | /** | ||||
* Return the spend height, which is one more than the inputs.GetBestBlock(). | * Return the spend height, which is one more than the inputs.GetBestBlock(). | ||||
* While checking, GetBestBlock() refers to the parent block. (protected by | * While checking, GetBestBlock() refers to the parent block. (protected by | ||||
Show All 24 Lines |