Bitcoin ABC  0.22.13
P2P Digital Currency
Functions | Variables
checkpoints.cpp File Reference
#include <chainparams.h>
#include <util/system.h>
Include dependency graph for checkpoints.cpp:

Go to the source code of this file.

Functions

const CCheckpointDataCheckpointData (const std::string &chain)
 

Variables

static CCheckpointData mainNetCheckpointData
 
static CCheckpointData testNetCheckpointData
 
static CCheckpointData regTestCheckpointData
 

Function Documentation

◆ CheckpointData()

const CCheckpointData& CheckpointData ( const std::string &  chain)

Definition at line 99 of file checkpoints.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ mainNetCheckpointData

CCheckpointData mainNetCheckpointData
static

Definition at line 8 of file checkpoints.cpp.

◆ regTestCheckpointData

CCheckpointData regTestCheckpointData
static
Initial value:
= {
.mapCheckpoints = {
{0, BlockHash::fromHex("0f9188f13cb7b2c71f2a335e3a4fc328bf5beb4"
"36012afca590b1a11466e2206")},
}}
static BlockHash fromHex(const std::string &str)
Definition: blockhash.h:17

Definition at line 93 of file checkpoints.cpp.

◆ testNetCheckpointData

CCheckpointData testNetCheckpointData
static
Initial value:
= {
.mapCheckpoints = {
{546, BlockHash::fromHex("000000002a936ca763904c3c35fce2f3556c5"
"59c0214345d31b1bcebf76acb70")},
{1155875,
BlockHash::fromHex("00000000f17c850672894b9a75b63a1e72830bbd5f"
"4c8889b5c1a80e7faef138")},
{1188697,
BlockHash::fromHex("0000000000170ed0918077bde7b4d36cc4c91be69f"
"a09211f748240dabe047fb")},
{1303885,
BlockHash::fromHex("00000000000000479138892ef0e4fa478ccc938fb9"
"4df862ef5bde7e8dee23d3")},
{1341712,
BlockHash::fromHex("00000000fffc44ea2e202bd905a9fbbb9491ef9e9d"
"5a9eed4039079229afa35b")},
{1378461,
BlockHash::fromHex("0000000099f5509b5f36b1926bcf82b21d936ebeade"
"e811030dfbbb7fae915d7")},
{1421481, BlockHash::fromHex("00000000062c7f32591d883c99fc89ebe74a83287"
"c0f2b7ffeef72e62217d40b")},
}}
static BlockHash fromHex(const std::string &str)
Definition: blockhash.h:17

Definition at line 64 of file checkpoints.cpp.