Bitcoin ABC  0.22.13
P2P Digital Currency
chainparamsconstants.cpp
Go to the documentation of this file.
1 
5 #include <chainparamsconstants.h>
6 
7 namespace ChainParamsConstants {
8  const BlockHash MAINNET_DEFAULT_ASSUME_VALID = BlockHash::fromHex("00000000000000000386c48790bb079b739646e89d022f70b0fdc544d697bdb5");
9  const uint256 MAINNET_MINIMUM_CHAIN_WORK = uint256S("000000000000000000000000000000000000000001577689a4b54eeff4367e61");
10  const uint64_t MAINNET_ASSUMED_BLOCKCHAIN_SIZE = 208;
11  const uint64_t MAINNET_ASSUMED_CHAINSTATE_SIZE = 3;
12 
13  const BlockHash TESTNET_DEFAULT_ASSUME_VALID = BlockHash::fromHex("00000000000922af6e587f3cddd4a3d715e046563935d85a2b5b6bfcd1c25ef7");
14  const uint256 TESTNET_MINIMUM_CHAIN_WORK = uint256S("00000000000000000000000000000000000000000000006e7d5c32f4d4fec4f8");
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