Bitcoin ABC 0.34.5
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("00000000000000006337b973d5699953ffa8c6ce48c2eebe81aab7d4415ebefa");
9 const uint256 MAINNET_MINIMUM_CHAIN_WORK = uint256S("00000000000000000000000000000000000000000174603e8287e9f079fcac25");
10 const uint64_t MAINNET_ASSUMED_BLOCKCHAIN_SIZE = 214;
12
13 const BlockHash TESTNET_DEFAULT_ASSUME_VALID = *BlockHash::FromHex("00000000000af958d12fbdb1f499267bfec7df1b02bba86d437b1e75c97ce616");
14 const uint256 TESTNET_MINIMUM_CHAIN_WORK = uint256S("00000000000000000000000000000000000000000000006ec3eb5904a0917a4b");
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