Bitcoin ABC 0.30.7
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("000000000000000015377958ab0eed7de59df06c4a3c76e3a0234089afc7fa06");
9 const uint256 MAINNET_MINIMUM_CHAIN_WORK = uint256S("00000000000000000000000000000000000000000170746205522d345167a8da");
10 const uint64_t MAINNET_ASSUMED_BLOCKCHAIN_SIZE = 211;
12
13 const BlockHash TESTNET_DEFAULT_ASSUME_VALID = BlockHash::fromHex("0000000000143f108fd03becb0bbd48dfd72673a582783605d15f858f2794d00");
14 const uint256 TESTNET_MINIMUM_CHAIN_WORK = uint256S("00000000000000000000000000000000000000000000006eb541723758a19b3d");
17} // namespace ChainParamsConstants
18
256-bit opaque blob.
Definition: uint256.h:129
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(const char *str)
uint256 from const char *.
Definition: uint256.h:143