Fabcoin Core  0.16.2
P2P Digital Currency
Functions
Checkpoints Namespace Reference

Block-chain checkpoints are compiled-in sanity checks. More...

Functions

CBlockIndexGetLastCheckpoint (const CCheckpointData &data)
 Returns last CBlockIndex* in mapBlockIndex that is a checkpoint. More...
 
const CBlockIndexAutoSelectSyncCheckpoint ()
 Returns last CBlockIndex* from the auto selected checkpoint. More...
 
bool CheckSync (int nHeight)
 Check against automatically selected checkpoint. More...
 

Detailed Description

Block-chain checkpoints are compiled-in sanity checks.

They are updated every release or three.

Function Documentation

const CBlockIndex * Checkpoints::AutoSelectSyncCheckpoint ( )

Returns last CBlockIndex* from the auto selected checkpoint.

Definition at line 33 of file checkpoints.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool Checkpoints::CheckSync ( int  nHeight)

Check against automatically selected checkpoint.

Definition at line 44 of file checkpoints.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

CBlockIndex * Checkpoints::GetLastCheckpoint ( const CCheckpointData data)

Returns last CBlockIndex* in mapBlockIndex that is a checkpoint.

Definition at line 19 of file checkpoints.cpp.

Here is the call graph for this function:

Here is the caller graph for this function: