Bitcoin ABC  0.22.13
P2P Digital Currency
Functions
Checkpoints Namespace Reference

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

Functions

bool CheckBlock (const CCheckpointData &data, int nHeight, const BlockHash &hash)
 Returns true if block passes checkpoint checks. More...
 
CBlockIndexGetLastCheckpoint (const CCheckpointData &data)
 Returns last CBlockIndex* that is a checkpoint. More...
 

Detailed Description

Block-chain checkpoints are compiled-in sanity checks.

They are updated every release or three.

Function Documentation

◆ CheckBlock()

bool Checkpoints::CheckBlock ( const CCheckpointData data,
int  nHeight,
const BlockHash hash 
)

Returns true if block passes checkpoint checks.

Definition at line 17 of file checkpoints.cpp.

Here is the caller graph for this function:

◆ GetLastCheckpoint()

CBlockIndex * Checkpoints::GetLastCheckpoint ( const CCheckpointData data)

Returns last CBlockIndex* that is a checkpoint.

Definition at line 28 of file checkpoints.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: