Bitcoin ABC 0.31.0
P2P Digital Currency
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
chainparamsconstants.cpp
Go to the documentation of this file.
1
6
7namespace ChainParamsConstants {
8 const BlockHash MAINNET_DEFAULT_ASSUME_VALID = BlockHash::fromHex("0000000000000000321da037e63f5c4221f2ce4ca6e1396b7b9899b4fdd11d25");
9 const uint256 MAINNET_MINIMUM_CHAIN_WORK = uint256S("000000000000000000000000000000000000000001717a1dcb26e22266308e42");
10 const uint64_t MAINNET_ASSUMED_BLOCKCHAIN_SIZE = 212;
12
13 const BlockHash TESTNET_DEFAULT_ASSUME_VALID = BlockHash::fromHex("000000000001c52a2ba2fb6ea076c54ba624d12d51dc4a6f794ee7c07ffcc9e8");
14 const uint256 TESTNET_MINIMUM_CHAIN_WORK = uint256S("00000000000000000000000000000000000000000000006eb7bffc911d2c10fa");
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