Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Public Member Functions | List of all members
CRegTestParams Class Reference

Regression test. More...

Inheritance diagram for CRegTestParams:
[legend]
Collaboration diagram for CRegTestParams:
[legend]

Public Member Functions

 CRegTestParams (const ChainOptions &opts)
 
- Public Member Functions inherited from CChainParams
const Consensus::ParamsGetConsensus () const
 
const CMessageHeader::MessageMagicDiskMagic () const
 
const CMessageHeader::MessageMagicNetMagic () const
 
uint16_t GetDefaultPort () const
 
uint16_t GetDefaultPort (Network net) const
 
uint16_t GetDefaultPort (const std::string &addr) const
 
const CBlockGenesisBlock () const
 
bool DefaultConsistencyChecks () const
 Default value for -checkmempool and -checkblockindex argument.
 
bool RequireStandard () const
 Policy: Filter transactions that do not match well-defined patterns.
 
bool IsTestChain () const
 If this chain is exclusively used for testing.
 
bool IsMockableChain () const
 If this chain allows time to be mocked.
 
uint64_t PruneAfterHeight () const
 
uint64_t AssumedBlockchainSize () const
 Minimum free space (in GB) needed for data directory.
 
uint64_t AssumedChainStateSize () const
 Minimum free space (in GB) needed for data directory when pruned; Does not include prune target.
 
bool MineBlocksOnDemand () const
 Whether it is possible to mine blocks on demand (no retargeting)
 
std::string NetworkIDString () const
 Return the BIP70 network string (main, test or regtest)
 
const std::vector< uint8_t > & Base58Prefix (Base58Type type) const
 Return the list of hostnames to look up for DNS seeds.
 
const std::string & CashAddrPrefix () const
 
const std::vector< SeedSpec6 > & FixedSeeds () const
 
const CCheckpointDataCheckpoints () const
 
const MapAssumeutxoAssumeutxo () const
 Get allowed assumeutxo configuration.
 
const ChainTxDataTxData () const
 

Additional Inherited Members

- Public Types inherited from CChainParams
enum  Base58Type {
  PUBKEY_ADDRESS , SCRIPT_ADDRESS , SECRET_KEY , EXT_PUBLIC_KEY ,
  EXT_SECRET_KEY , MAX_BASE58_TYPES
}
 
- Static Public Member Functions inherited from CChainParams
static std::unique_ptr< const CChainParamsRegTest (const ChainOptions &options)
 
static std::unique_ptr< const CChainParamsMain (const ChainOptions &options)
 
static std::unique_ptr< const CChainParamsTestNet (const ChainOptions &options)
 
- Protected Member Functions inherited from CChainParams
 CChainParams ()
 
- Protected Attributes inherited from CChainParams
Consensus::Params consensus
 
CMessageHeader::MessageMagic diskMagic
 
CMessageHeader::MessageMagic netMagic
 
uint16_t nDefaultPort
 
uint64_t nPruneAfterHeight
 
uint64_t m_assumed_blockchain_size
 
uint64_t m_assumed_chain_state_size
 
std::vector< std::string > vSeeds
 
std::vector< uint8_tbase58Prefixes [MAX_BASE58_TYPES]
 
std::string cashaddrPrefix
 
std::string strNetworkID
 
CBlock genesis
 
std::vector< SeedSpec6vFixedSeeds
 
bool fDefaultConsistencyChecks
 
bool fRequireStandard
 
bool m_is_test_chain
 
bool m_is_mockable_chain
 
CCheckpointData checkpointData
 
MapAssumeutxo m_assumeutxo_data
 
ChainTxData chainTxData
 

Detailed Description

Regression test.

Definition at line 375 of file chainparams.cpp.

Constructor & Destructor Documentation

◆ CRegTestParams()

CRegTestParams::CRegTestParams ( const ChainOptions opts)
inlineexplicit

Regtest mode doesn't have any fixed seeds.

Regtest mode doesn't have any DNS seeds.

Definition at line 377 of file chainparams.cpp.

Here is the call graph for this function:

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