5 #ifndef BITCOIN_CHECKPOINTS_H 6 #define BITCOIN_CHECKPOINTS_H 27 #endif // BITCOIN_CHECKPOINTS_H
Block-chain checkpoints are compiled-in sanity checks.
CBlockIndex * GetLastCheckpoint(const CCheckpointData &data) EXCLUSIVE_LOCKS_REQUIRED(cs_main)
Returns last CBlockIndex* that is a checkpoint.
A BlockHash is a unqiue identifier for a block.
The block chain is a tree shaped structure starting with the genesis block at the root...
bool CheckBlock(const CCheckpointData &data, int nHeight, const BlockHash &hash)
Returns true if block passes checkpoint checks.