Bitcoin ABC 0.33.13
P2P Digital Currency
chainparamsconstants.cpp
Go to the documentation of this file.
1
6
7namespace ChainParamsConstants {
8 const BlockHash MAINNET_DEFAULT_ASSUME_VALID = BlockHash::fromHex("000000000000000032b0eef24e2414a9c59ac121f56c31195f32a6b143c51a91");
9 const uint256 MAINNET_MINIMUM_CHAIN_WORK = uint256S("000000000000000000000000000000000000000001742ca68c07932d451edc4a");
10 const uint64_t MAINNET_ASSUMED_BLOCKCHAIN_SIZE = 214;
12
13 const BlockHash TESTNET_DEFAULT_ASSUME_VALID = BlockHash::fromHex("000000000006bdff21bc691a810a051231306dc3e05a7b1f7ce77036284caaf7");
14 const uint256 TESTNET_MINIMUM_CHAIN_WORK = uint256S("00000000000000000000000000000000000000000000006ebc1926c5f09f9c76");
17} // namespace ChainParamsConstants
18
256-bit opaque blob.
Definition: uint256.h:153
Chain params constants for each tracked chain.
const uint64_t MAINNET_ASSUMED_CHAINSTATE_SIZE
const uint64_t TESTNET_ASSUMED_CHAINSTATE_SIZE
const uint64_t MAINNET_ASSUMED_BLOCKCHAIN_SIZE
const uint64_t TESTNET_ASSUMED_BLOCKCHAIN_SIZE
const BlockHash MAINNET_DEFAULT_ASSUME_VALID
const uint256 TESTNET_MINIMUM_CHAIN_WORK
const uint256 MAINNET_MINIMUM_CHAIN_WORK
const BlockHash TESTNET_DEFAULT_ASSUME_VALID
A BlockHash is a unqiue identifier for a block.
Definition: blockhash.h:13
static BlockHash fromHex(const std::string &str)
Definition: blockhash.h:17
uint256 uint256S(std::string_view str)
uint256 from std::string_view, containing byte-reversed hex encoding.
Definition: uint256.h:167