Bitcoin ABC 0.34.2
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("00000000000000006452dd46fbe3d2edcdd5e4134287fe0fe8830ef1cd0e7b5d");
9 const uint256 MAINNET_MINIMUM_CHAIN_WORK = uint256S("0000000000000000000000000000000000000000017443d6deab18b74c157a8f");
10 const uint64_t MAINNET_ASSUMED_BLOCKCHAIN_SIZE = 214;
12
13 const BlockHash TESTNET_DEFAULT_ASSUME_VALID = *BlockHash::FromHex("000000000000abba3388bbc16ee91784ade9a86971cccd85a8b3b3dfb8ca9120");
14 const uint256 TESTNET_MINIMUM_CHAIN_WORK = uint256S("00000000000000000000000000000000000000000000006ec333b10ef3db9ecf");
17} // namespace ChainParamsConstants
18
256-bit opaque blob.
Definition: uint256.h:199
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 std::optional< BlockHash > FromHex(std::string_view str)
Definition: blockhash.h:17
uint256 uint256S(std::string_view str)
DEPRECATED.
Definition: uint256.h:221