![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
Block-chain checkpoints are compiled-in sanity checks. More...
Functions | |
| bool | CheckBlock (int nHeight, const uint256 &hash, bool fMatchesCheckpoint=false) |
| Returns true if block passes checkpoint checks. More... | |
| double | GuessVerificationProgress (const CBlockIndex *pindex, bool fSigchecks) |
| Guess how far we are in the verification process at the given block index. More... | |
| int | GetTotalBlocksEstimate () |
| Return conservative estimate of total number of blocks, 0 if unknown. More... | |
Variables | |
| bool | fEnabled = true |
Block-chain checkpoints are compiled-in sanity checks.
They are updated every release or three.
| bool Checkpoints::CheckBlock | ( | int | nHeight, |
| const uint256 & | hash, | ||
| bool | fMatchesCheckpoint | ||
| ) |
Returns true if block passes checkpoint checks.
Definition at line 29 of file checkpoints.cpp.
| int Checkpoints::GetTotalBlocksEstimate | ( | ) |
Return conservative estimate of total number of blocks, 0 if unknown.
Definition at line 75 of file checkpoints.cpp.
| double Checkpoints::GuessVerificationProgress | ( | const CBlockIndex * | pindex, |
| bool | fSigchecks | ||
| ) |
Guess how far we are in the verification process at the given block index.
Definition at line 43 of file checkpoints.cpp.
| bool Checkpoints::fEnabled = true |
Definition at line 27 of file checkpoints.cpp.