33 txNew.vin[0].scriptSig =
42 genesis.
nTime = nTime;
43 genesis.
nBits = nBits;
69 "The Times 03/Jan/2009 Chancellor on brink of second bailout for banks";
71 CScript() <<
ParseHex(
"04678afdb0fe5548271967f1a67130b7105cd6a828e03909"
72 "a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112"
73 "de5c384df7ba0b8d578a4c702b6bf11d5f")
92 "000000000000024b89b42a942fe0d9fea3bb44ab7bd1b19115dd6a759c0808b8");
100 "00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
179 uint256S(
"000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1"
182 uint256S(
"4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b"
192 vSeeds.emplace_back(
"seed.bitcoinabc.org");
194 vSeeds.emplace_back(
"seeder.fabien.cash");
196 vSeeds.emplace_back(
"seeder.status.cash");
246 "0000000023b3a96d3484e5abb3755c413e7d41500f8e2a5c3f0dd01299cd8ef8");
254 "00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
328 uint256S(
"000000000933ea01ad0ee984209779baaec3ced90fa3f408719526"
331 uint256S(
"4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b"
338 vSeeds.emplace_back(
"testnet-seed.bitcoinabc.org");
340 vSeeds.emplace_back(
"testnet-seeder.fabien.cash");
342 vSeeds.emplace_back(
"testnet-seeder.status.cash");
392 "7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
461 uint256S(
"0x0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b"
464 uint256S(
"0x4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab212"
483 "d136766430304735a73372fe36213")},
489 "044d2466661a3fe8a8b91ba601849")},
505std::unique_ptr<const CChainParams>
507 return std::make_unique<const CRegTestParams>(options);
510std::unique_ptr<const CChainParams>
512 return std::make_unique<const CMainParams>(options);
515std::unique_ptr<const CChainParams>
517 return std::make_unique<const CTestNetParams>(options);
static constexpr Amount COIN
static SeedSpec6 pnSeed6_main[]
List of fixed seed nodes for the bitcoin network @generated by contrib/seeds/generate-seeds....
static SeedSpec6 pnSeed6_test[]
static const std::string REGTEST
static const std::string TESTNET
static const std::string MAIN
BIP70 chain name strings (main, test or regtest)
std::vector< CTransactionRef > vtx
CChainParams defines various tweakable parameters of a given instance of the Bitcoin system.
uint64_t m_assumed_chain_state_size
MapAssumeutxo m_assumeutxo_data
uint64_t m_assumed_blockchain_size
CMessageHeader::MessageMagic netMagic
std::vector< uint8_t > base58Prefixes[MAX_BASE58_TYPES]
bool fDefaultConsistencyChecks
std::vector< SeedSpec6 > vFixedSeeds
Consensus::Params consensus
static std::unique_ptr< const CChainParams > TestNet(const ChainOptions &options)
static std::unique_ptr< const CChainParams > RegTest(const ChainOptions &options)
std::string cashaddrPrefix
std::vector< std::string > vSeeds
CMessageHeader::MessageMagic diskMagic
static std::unique_ptr< const CChainParams > Main(const ChainOptions &options)
CCheckpointData checkpointData
uint64_t nPruneAfterHeight
CMainParams(const ChainOptions &opts)
A mutable version of CTransaction.
CRegTestParams(const ChainOptions &opts)
Serialized script, used inside transaction inputs and outputs.
CTestNetParams(const ChainOptions &opts)
static CBlock CreateGenesisBlock(const char *pszTimestamp, const CScript &genesisOutputScript, uint32_t nTime, uint32_t nNonce, uint32_t nBits, int32_t nVersion, const Amount genesisReward)
std::map< int, const AssumeutxoData > MapAssumeutxo
const CCheckpointData & CheckpointData(const std::string &chain)
uint256 BlockMerkleRoot(const CBlock &block, bool *mutated)
Compute the Merkle root of the transactions in a block.
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
static CTransactionRef MakeTransactionRef()
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...
std::vector< uint8_t > ParseHex(const char *psz)
A BlockHash is a unqiue identifier for a block.
static BlockHash fromHex(const std::string &str)
Holds various statistics on transactions within a chain.
BlockHash defaultAssumeValid
int magneticAnomalyHeight
Block height at which the magnetic anomaly activation becomes active.
int BIP65Height
Block height at which BIP65 becomes active.
bool enableStakingRewards
Enable or disable the staking rewards by default.
int CSVHeight
Block height at which CSV (BIP68, BIP112 and BIP113) becomes active.
int gravitonHeight
Block height at which the graviton activation becomes active.
int axionHeight
Block height at which the axion activation becomes active.
int BIP16Height
Block height at which BIP16 becomes active.
int wellingtonHeight
Block height at which the wellington activation becomes active.
int phononHeight
Block height at which the phonon activation becomes active.
int BIP34Height
Block height and hash at which BIP34 becomes active.
int nSubsidyHalvingInterval
uint256 nMinimumChainWork
int daaHeight
Block height at which the new DAA becomes active.
int64_t nPowTargetTimespan
BlockHash hashGenesisBlock
int BIP66Height
Block height at which BIP66 becomes active.
uint256 powLimit
Proof of work parameters.
int schumpeterActivationTime
Unix time used for MTP activation of 15 May 2025 12:00:00 UTC upgrade.
int uahfHeight
Block height at which UAHF kicks in.
bool enableMinerFund
Enable or disable the miner fund by default.
int cowperthwaiteHeight
Block height at which the Cowperthwaite activation becomes active.
int64_t nPowTargetSpacing
int augustoActivationTime
Unix time used for MTP activation of 15 Nov 2024 12:00:00 UTC upgrade.
bool fPowAllowMinDifficultyBlocks
uint256 uint256S(const char *str)
uint256 from const char *.