Bitcoin ABC 0.34.3
P2P Digital Currency
Loading...
Searching...
No Matches
chainparamsconstants.cpp
Go to the documentation of this file.
1
6
7namespace ChainParamsConstants {
8 const BlockHash MAINNET_DEFAULT_ASSUME_VALID = *BlockHash::FromHex("00000000000000006bcd6118280f336c1b62ed5ac3d06bc408db70069b41d4a9");
9 const uint256 MAINNET_MINIMUM_CHAIN_WORK = uint256S("000000000000000000000000000000000000000001744f52fde89e585cdd976a");
10 const uint64_t MAINNET_ASSUMED_BLOCKCHAIN_SIZE = 214;
12
13 const BlockHash TESTNET_DEFAULT_ASSUME_VALID = *BlockHash::FromHex("000000000008f7da097a40158be950b590403da6af7632206c8f89638702eb82");
14 const uint256 TESTNET_MINIMUM_CHAIN_WORK = uint256S("00000000000000000000000000000000000000000000006ec37d1effc6a3ec18");
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