Bitcoin ABC  0.22.12
P2P Digital Currency
chainparamsconstants.cpp
Go to the documentation of this file.
1 
5 #include <chainparamsconstants.h>
6 
8  const BlockHash MAINNET_DEFAULT_ASSUME_VALID = BlockHash::fromHex("0000000000000000007a99bcce8386923dd2ef62b86e827bde426af7cd772b9c");
9  const uint256 MAINNET_MINIMUM_CHAIN_WORK = uint256S("00000000000000000000000000000000000000000152eb12743403ccefe4b784");
10  const uint64_t MAINNET_ASSUMED_BLOCKCHAIN_SIZE = 207;
11  const uint64_t MAINNET_ASSUMED_CHAINSTATE_SIZE = 3;
12 
13  const BlockHash TESTNET_DEFAULT_ASSUME_VALID = BlockHash::fromHex("00000000000192e42a0dd8eb129d29e132b02e55017a52111b1d32a2ab1e2862");
14  const uint256 TESTNET_MINIMUM_CHAIN_WORK = uint256S("00000000000000000000000000000000000000000000006e6b6dea215d3dba09");
15  const uint64_t TESTNET_ASSUMED_BLOCKCHAIN_SIZE = 55;
16  const uint64_t TESTNET_ASSUMED_CHAINSTATE_SIZE = 2;
17 } // namespace ChainParamsConstants
18 
const uint64_t TESTNET_ASSUMED_BLOCKCHAIN_SIZE
const uint64_t MAINNET_ASSUMED_CHAINSTATE_SIZE
const BlockHash MAINNET_DEFAULT_ASSUME_VALID
const uint256 TESTNET_MINIMUM_CHAIN_WORK
const uint64_t MAINNET_ASSUMED_BLOCKCHAIN_SIZE
by contrib/devtools/chainparams/generate_chainparams_constants.py
const uint256 MAINNET_MINIMUM_CHAIN_WORK
uint256 uint256S(const char *str)
uint256 from const char *.
Definition: uint256.h:131
static BlockHash fromHex(const std::string &str)
Definition: blockhash.h:17
const uint64_t TESTNET_ASSUMED_CHAINSTATE_SIZE
const BlockHash TESTNET_DEFAULT_ASSUME_VALID
256-bit opaque blob.
Definition: uint256.h:120
A BlockHash is a unqiue identifier for a block.
Definition: blockhash.h:13