Anoncoin  0.9.4
P2P Digital Currency
Classes | Typedefs | Functions | Variables
Checkpoints Namespace Reference

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

Classes

struct  CCheckpointData
 

Typedefs

typedef std::map< int, uint256MapCheckpoints
 

Functions

const CCheckpointDataCheckpoints ()
 
bool CheckBlock (int nHeight, const uint256 &hash)
 
double GuessVerificationProgress (CBlockIndex *pindex, bool fSigchecks)
 
int GetTotalBlocksEstimate ()
 
CBlockIndexGetLastCheckpoint (const std::map< uint256, CBlockIndex * > &mapBlockIndex)
 

Variables

bool fEnabled = true
 

Detailed Description

Block-chain checkpoints are compiled-in sanity checks.

They are updated every release or three.

Typedef Documentation

typedef std::map<int, uint256> Checkpoints::MapCheckpoints

Definition at line 18 of file checkpoints.cpp.

Function Documentation

bool Checkpoints::CheckBlock ( int  nHeight,
const uint256 hash 
)

Definition at line 94 of file checkpoints.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

const CCheckpointData& Checkpoints::Checkpoints ( )

Definition at line 85 of file checkpoints.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

CBlockIndex * Checkpoints::GetLastCheckpoint ( const std::map< uint256, CBlockIndex * > &  mapBlockIndex)

Definition at line 148 of file checkpoints.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

int Checkpoints::GetTotalBlocksEstimate ( )

Definition at line 138 of file checkpoints.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

double Checkpoints::GuessVerificationProgress ( CBlockIndex pindex,
bool  fSigchecks 
)

Definition at line 107 of file checkpoints.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

bool Checkpoints::fEnabled = true

Definition at line 34 of file checkpoints.cpp.