Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
Checkpoints Namespace Reference
Block-chain checkpoints are compiled-in sanity checks. More...
Functions | |
CBlockIndex * | GetLastCheckpoint (const CCheckpointData &data) |
Returns last CBlockIndex* in mapBlockIndex that is a checkpoint. More... | |
Detailed Description
Block-chain checkpoints are compiled-in sanity checks.
They are updated every release or three.
Function Documentation
◆ GetLastCheckpoint()
CBlockIndex * Checkpoints::GetLastCheckpoint | ( | const CCheckpointData & | data | ) |
Returns last CBlockIndex* in mapBlockIndex that is a checkpoint.
Definition at line 18 of file checkpoints.cpp.
References mapBlockIndex, CCheckpointData::mapCheckpoints, and reverse_iterate().
Referenced by ContextualCheckBlockHeader().