Changeset View
Changeset View
Standalone View
Standalone View
src/validation.cpp
Show First 20 Lines • Show All 108 Lines • ▼ Show 20 Lines | |||||
CTxMemPool g_mempool; | CTxMemPool g_mempool; | ||||
/** Constant stuff for coinbase transactions we create: */ | /** Constant stuff for coinbase transactions we create: */ | ||||
CScript COINBASE_FLAGS; | CScript COINBASE_FLAGS; | ||||
// Internal stuff | // Internal stuff | ||||
namespace { | namespace { | ||||
CBlockIndex *&pindexBestInvalid = ::ChainstateActive().pindexBestInvalid; | CBlockIndex *pindexBestInvalid = nullptr; | ||||
CBlockIndex *&pindexBestParked = ::ChainstateActive().pindexBestParked; | CBlockIndex *pindexBestParked = nullptr; | ||||
/** | /** | ||||
* The best finalized block. | * The best finalized block. | ||||
* 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. | ||||
*/ | */ | ||||
CBlockIndex const *&pindexFinalized = ::ChainstateActive().pindexFinalized; | CBlockIndex const *&pindexFinalized = ::ChainstateActive().pindexFinalized; | ||||
RecursiveMutex cs_LastBlockFile; | RecursiveMutex cs_LastBlockFile; | ||||
std::vector<CBlockFileInfo> vinfoBlockFile; | std::vector<CBlockFileInfo> vinfoBlockFile; | ||||
▲ Show 20 Lines • Show All 5,654 Lines • Show Last 20 Lines |