![]() |
PRCYCoin
2.0.0.7rc1
P2P Digital Currency
|
Block-chain checkpoints are compiled-in sanity checks. More...
Classes | |
| struct | CCheckpointData |
Typedefs | |
| typedef std::map< int, uint256 > | MapCheckpoints |
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... | |
| CBlockIndex * | GetLastCheckpoint () |
| Returns last CBlockIndex* in mapBlockIndex that is a checkpoint. More... | |
Variables | |
| bool | fEnabled = true |
Block-chain checkpoints are compiled-in sanity checks.
They are updated every release or three.
| typedef std::map<int, uint256> Checkpoints::MapCheckpoints |
Definition at line 20 of file checkpoints.h.
| bool Checkpoints::CheckBlock | ( | int | nHeight, |
| const uint256 & | hash, | ||
| bool | fMatchesCheckpoint | ||
| ) |
Returns true if block passes checkpoint checks.
Definition at line 31 of file checkpoints.cpp.
| CBlockIndex * Checkpoints::GetLastCheckpoint | ( | ) |
Returns last CBlockIndex* in mapBlockIndex that is a checkpoint.
Definition at line 87 of file checkpoints.cpp.
| int Checkpoints::GetTotalBlocksEstimate | ( | ) |
Return conservative estimate of total number of blocks, 0 if unknown.
Definition at line 77 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 45 of file checkpoints.cpp.
| bool Checkpoints::fEnabled = true |
Definition at line 29 of file checkpoints.cpp.
1.8.17