6 #ifndef PIVX_CHECKPOINTS_H
7 #define PIVX_CHECKPOINTS_H
23 bool CheckBlock(
int nHeight,
const uint256& hash,
bool fMatchesCheckpoint =
false);
The block chain is a tree shaped structure starting with the genesis block at the root,...
Block-chain checkpoints are compiled-in sanity checks.
bool CheckBlock(int nHeight, const uint256 &hash, bool fMatchesCheckpoint)
Returns true if block passes checkpoint checks.
int GetTotalBlocksEstimate()
Return conservative estimate of total number of blocks, 0 if unknown.
double GuessVerificationProgress(const CBlockIndex *pindex, bool fSigchecks)
Guess how far we are in the verification process at the given block index.