Bitcoin ABC  0.22.12
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("00000000000000008e66be09cd59c4c5141cebfe4953a833fcaf835e68a66a9e");
9  const uint256 MAINNET_MINIMUM_CHAIN_WORK = uint256S("00000000000000000000000000000000000000000153a90cf7a84102d82880f1");
10  const uint64_t MAINNET_ASSUMED_BLOCKCHAIN_SIZE = 209;
11  const uint64_t MAINNET_ASSUMED_CHAINSTATE_SIZE = 3;
12 
13  const BlockHash TESTNET_DEFAULT_ASSUME_VALID = BlockHash::fromHex("000000000008f1ac808d650f860491741be88df5125f0725169219399ce91c29");
14  const uint256 TESTNET_MINIMUM_CHAIN_WORK = uint256S("00000000000000000000000000000000000000000000006e7e1e1c1ff93356cb");
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