Bitcoin Core 28.99.0
P2P Digital Currency
Public Member Functions | List of all members
CTestNetParams Class Reference

Testnet (v3): public test network which is reset from time to time. More...

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

Public Member Functions

 CTestNetParams ()
 
- Public Member Functions inherited from CChainParams
const Consensus::ParamsGetConsensus () const
 
const MessageStartCharsMessageStart () const
 
uint16_t GetDefaultPort () const
 
std::vector< int > GetAvailableSnapshotHeights () const
 
const CBlockGenesisBlock () const
 
bool DefaultConsistencyChecks () const
 Default value for -checkmempool and -checkblockindex argument. 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 GetChainTypeString () const
 Return the chain type string. More...
 
ChainType GetChainType () const
 Return the chain type. 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< uint8_t > & FixedSeeds () const
 
const CCheckpointDataCheckpoints () const
 
std::optional< AssumeutxoDataAssumeutxoForHeight (int height) const
 
std::optional< AssumeutxoDataAssumeutxoForBlockhash (const uint256 &blockhash) const
 
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 RegTestOptions &options)
 
static std::unique_ptr< const CChainParamsSigNet (const SigNetOptions &options)
 
static std::unique_ptr< const CChainParamsMain ()
 
static std::unique_ptr< const CChainParamsTestNet ()
 
static std::unique_ptr< const CChainParamsTestNet4 ()
 
- Protected Member Functions inherited from CChainParams
 CChainParams ()=default
 
- Protected Attributes inherited from CChainParams
Consensus::Params consensus
 
MessageStartChars pchMessageStart
 
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< unsigned char > base58Prefixes [MAX_BASE58_TYPES]
 
std::string bech32_hrp
 
ChainType m_chain_type
 
CBlock genesis
 
std::vector< uint8_t > vFixedSeeds
 
bool fDefaultConsistencyChecks
 
bool m_is_mockable_chain
 
CCheckpointData checkpointData
 
std::vector< AssumeutxoDatam_assumeutxo_data
 
ChainTxData chainTxData
 

Detailed Description

Testnet (v3): public test network which is reset from time to time.

Definition at line 209 of file chainparams.cpp.

Constructor & Destructor Documentation

◆ CTestNetParams()

CTestNetParams::CTestNetParams ( )
inline

Definition at line 211 of file chainparams.cpp.

Here is the call graph for this function:

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