PIVX Core  5.6.99
P2P Digital Currency
Namespaces | Functions | Variables
checkpoints.cpp File Reference
#include "checkpoints.h"
#include "chain.h"
#include "chainparams.h"
#include "reverse_iterate.h"
#include <stdint.h>
Include dependency graph for checkpoints.cpp:

Go to the source code of this file.

Namespaces

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

Functions

bool Checkpoints::CheckBlock (int nHeight, const uint256 &hash, bool fMatchesCheckpoint=false)
 Returns true if block passes checkpoint checks. More...
 
double Checkpoints::GuessVerificationProgress (const CBlockIndex *pindex, bool fSigchecks)
 Guess how far we are in the verification process at the given block index. More...
 
int Checkpoints::GetTotalBlocksEstimate ()
 Return conservative estimate of total number of blocks, 0 if unknown. More...
 

Variables

bool Checkpoints::fEnabled = true