![]() |
Anoncoin
0.9.4
P2P Digital Currency
|
Block-chain checkpoints are compiled-in sanity checks. More...
Classes | |
struct | CCheckpointData |
Typedefs | |
typedef std::map< int, uint256 > | MapCheckpoints |
Functions | |
const CCheckpointData & | Checkpoints () |
bool | CheckBlock (int nHeight, const uint256 &hash) |
double | GuessVerificationProgress (CBlockIndex *pindex, bool fSigchecks) |
int | GetTotalBlocksEstimate () |
CBlockIndex * | GetLastCheckpoint (const std::map< uint256, CBlockIndex * > &mapBlockIndex) |
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 18 of file checkpoints.cpp.
bool Checkpoints::CheckBlock | ( | int | nHeight, |
const uint256 & | hash | ||
) |
Definition at line 94 of file checkpoints.cpp.
const CCheckpointData& Checkpoints::Checkpoints | ( | ) |
Definition at line 85 of file checkpoints.cpp.
CBlockIndex * Checkpoints::GetLastCheckpoint | ( | const std::map< uint256, CBlockIndex * > & | mapBlockIndex | ) |
Definition at line 148 of file checkpoints.cpp.
int Checkpoints::GetTotalBlocksEstimate | ( | ) |
Definition at line 138 of file checkpoints.cpp.
double Checkpoints::GuessVerificationProgress | ( | CBlockIndex * | pindex, |
bool | fSigchecks | ||
) |
Definition at line 107 of file checkpoints.cpp.
bool Checkpoints::fEnabled = true |
Definition at line 34 of file checkpoints.cpp.