Fabcoin Core
0.16.2
P2P Digital Currency
|
Block-chain checkpoints are compiled-in sanity checks. More...
Functions | |
CBlockIndex * | GetLastCheckpoint (const CCheckpointData &data) |
Returns last CBlockIndex* in mapBlockIndex that is a checkpoint. More... | |
const CBlockIndex * | AutoSelectSyncCheckpoint () |
Returns last CBlockIndex* from the auto selected checkpoint. More... | |
bool | CheckSync (int nHeight) |
Check against automatically selected checkpoint. More... | |
Block-chain checkpoints are compiled-in sanity checks.
They are updated every release or three.
const CBlockIndex * Checkpoints::AutoSelectSyncCheckpoint | ( | ) |
Returns last CBlockIndex* from the auto selected checkpoint.
Definition at line 33 of file checkpoints.cpp.
bool Checkpoints::CheckSync | ( | int | nHeight | ) |
Check against automatically selected checkpoint.
Definition at line 44 of file checkpoints.cpp.
CBlockIndex * Checkpoints::GetLastCheckpoint | ( | const CCheckpointData & | data | ) |
Returns last CBlockIndex* in mapBlockIndex that is a checkpoint.
Definition at line 19 of file checkpoints.cpp.