Bitcoin ABC 0.26.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("00000000000000001527e61c3d42165f8bb3d682fa61c7e4888295df46d1e0d7");
9 const uint256 MAINNET_MINIMUM_CHAIN_WORK = uint256S("00000000000000000000000000000000000000000170c4e8afbddbab81e08b3e");
12
13 const BlockHash TESTNET_DEFAULT_ASSUME_VALID = BlockHash::fromHex("0000000000001e7da0119b81f9c43bf343ec71af8de41d5ddc82b659250d64bf");
14 const uint256 TESTNET_MINIMUM_CHAIN_WORK = uint256S("00000000000000000000000000000000000000000000006eb5e4044463ee6e18");
17} // namespace ChainParamsConstants
18
256-bit opaque blob.
Definition uint256.h:129
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
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
Definition random.h:85
A BlockHash is a unqiue identifier for a block.
Definition blockhash.h:13
static BlockHash fromHex(const std::string &str)
Definition blockhash.h:17
uint256 uint256S(const char *str)
uint256 from const char *.
Definition uint256.h:143