Changeset View
Changeset View
Standalone View
Standalone View
src/validation.cpp
Show First 20 Lines • Show All 108 Lines • ▼ Show 20 Lines | |||||
// Internal stuff | // Internal stuff | ||||
namespace { | namespace { | ||||
CBlockIndex *&pindexBestInvalid = ::ChainstateActive().pindexBestInvalid; | CBlockIndex *&pindexBestInvalid = ::ChainstateActive().pindexBestInvalid; | ||||
CBlockIndex *&pindexBestParked = ::ChainstateActive().pindexBestParked; | CBlockIndex *&pindexBestParked = ::ChainstateActive().pindexBestParked; | ||||
/** | /** | ||||
* The best finalized block. | * The best finalized block. | ||||
* This block cannot be reorged in any way, shape or form. | * This block cannot be reorged in any way except by explicit user action. | ||||
*/ | */ | ||||
CBlockIndex const *&pindexFinalized = ::ChainstateActive().pindexFinalized; | CBlockIndex const *&pindexFinalized = ::ChainstateActive().pindexFinalized; | ||||
/** | /** | ||||
* All pairs A->B, where A (or one of its ancestors) misses transactions, but B | * All pairs A->B, where A (or one of its ancestors) misses transactions, but B | ||||
* has transactions. Pruned nodes may have entries where B is missing data. | * has transactions. Pruned nodes may have entries where B is missing data. | ||||
*/ | */ | ||||
std::multimap<CBlockIndex *, CBlockIndex *> &mapBlocksUnlinked = | std::multimap<CBlockIndex *, CBlockIndex *> &mapBlocksUnlinked = | ||||
▲ Show 20 Lines • Show All 5,504 Lines • Show Last 20 Lines |