19 return hash == i->second;
std::map< int, BlockHash > MapCheckpoints
Block-chain checkpoints are compiled-in sanity checks.
bool CheckBlock(const CCheckpointData &data, int nHeight, const BlockHash &hash)
Returns true if block passes checkpoint checks.
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
A BlockHash is a unqiue identifier for a block.
MapCheckpoints mapCheckpoints