23 for (
const MapCheckpoints::value_type& i :
reverse_iterate(checkpoints))
std::map< int, uint256 > MapCheckpoints
reverse_range< T > reverse_iterate(T &x)
Block-chain checkpoints are compiled-in sanity checks.
CBlockIndex * GetLastCheckpoint(const CCheckpointData &data)
Returns last CBlockIndex* in mapBlockIndex that is a checkpoint.
MapCheckpoints mapCheckpoints
The block chain is a tree shaped structure starting with the genesis block at the root...