Bitcoin Core  21.99.0
P2P Digital Currency
Public Member Functions | List of all members
CRegTestParams Class Reference

Regression test. More...

Inheritance diagram for CRegTestParams:
Collaboration diagram for CRegTestParams:

Public Member Functions

 CRegTestParams (const ArgsManager &args)
void UpdateVersionBitsParameters (Consensus::DeploymentPos d, int64_t nStartTime, int64_t nTimeout)
 Allows modifying the Version Bits regtest parameters. More...
void UpdateActivationParametersFromArgs (const ArgsManager &args)
- Public Member Functions inherited from CChainParams
const Consensus::ParamsGetConsensus () const
const CMessageHeader::MessageStartCharsMessageStart () const
int GetDefaultPort () const
const CBlockGenesisBlock () const
bool DefaultConsistencyChecks () const
 Default value for -checkmempool and -checkblockindex argument. More...
bool RequireStandard () const
 Policy: Filter transactions that do not match well-defined patterns. More...
bool IsTestChain () const
 If this chain is exclusively used for testing. More...
bool IsMockableChain () const
 If this chain allows time to be mocked. More...
uint64_t PruneAfterHeight () const
uint64_t AssumedBlockchainSize () const
 Minimum free space (in GB) needed for data directory. More...
uint64_t AssumedChainStateSize () const
 Minimum free space (in GB) needed for data directory when pruned; Does not include prune target. More...
bool MineBlocksOnDemand () const
 Whether it is possible to mine blocks on demand (no retargeting) More...
std::string NetworkIDString () const
 Return the network string. More...
const std::vector< std::string > & DNSSeeds () const
 Return the list of hostnames to look up for DNS seeds. More...
const std::vector< unsigned char > & Base58Prefix (Base58Type type) const
const std::string & Bech32HRP () const
const std::vector< SeedSpec6 > & FixedSeeds () const
const CCheckpointDataCheckpoints () const
const ChainTxDataTxData () const

Additional Inherited Members

- Public Types inherited from CChainParams
enum  Base58Type {
- Protected Member Functions inherited from CChainParams
 CChainParams ()
- Protected Attributes inherited from CChainParams
Consensus::Params consensus
CMessageHeader::MessageStartChars pchMessageStart
int nDefaultPort
uint64_t nPruneAfterHeight
uint64_t m_assumed_blockchain_size
uint64_t m_assumed_chain_state_size
std::vector< std::string > vSeeds
std::vector< unsigned char > base58Prefixes [MAX_BASE58_TYPES]
std::string bech32_hrp
std::string strNetworkID
CBlock genesis
std::vector< SeedSpec6vFixedSeeds
bool fDefaultConsistencyChecks
bool fRequireStandard
bool m_is_test_chain
bool m_is_mockable_chain
CCheckpointData checkpointData
ChainTxData chainTxData

Detailed Description

Regression test.

Definition at line 372 of file chainparams.cpp.

Constructor & Destructor Documentation

◆ CRegTestParams()

CRegTestParams::CRegTestParams ( const ArgsManager args)

< Regtest mode doesn't have any fixed seeds.

< Regtest mode doesn't have any DNS seeds.

Definition at line 374 of file chainparams.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ UpdateActivationParametersFromArgs()

void CRegTestParams::UpdateActivationParametersFromArgs ( const ArgsManager args)

Definition at line 460 of file chainparams.cpp.

Here is the call graph for this function:

◆ UpdateVersionBitsParameters()

void CRegTestParams::UpdateVersionBitsParameters ( Consensus::DeploymentPos  d,
int64_t  nStartTime,
int64_t  nTimeout 

Allows modifying the Version Bits regtest parameters.

Definition at line 452 of file chainparams.cpp.

The documentation for this class was generated from the following file: