CChainParams defines various tweakable parameters of a given instance of the Bitcoin system.
More...
#include <chainparams.h>
CChainParams defines various tweakable parameters of a given instance of the Bitcoin system.
Definition at line 80 of file chainparams.h.
◆ Base58Type
Enumerator |
---|
PUBKEY_ADDRESS | |
SCRIPT_ADDRESS | |
SECRET_KEY | |
EXT_PUBLIC_KEY | |
EXT_SECRET_KEY | |
MAX_BASE58_TYPES | |
Definition at line 83 of file chainparams.h.
◆ CChainParams()
CChainParams::CChainParams |
( |
| ) |
|
|
protecteddefault |
◆ AssumedBlockchainSize()
uint64_t CChainParams::AssumedBlockchainSize |
( |
| ) |
const |
|
inline |
Minimum free space (in GB) needed for data directory.
Definition at line 107 of file chainparams.h.
◆ AssumedChainStateSize()
uint64_t CChainParams::AssumedChainStateSize |
( |
| ) |
const |
|
inline |
Minimum free space (in GB) needed for data directory when pruned; Does not include prune target.
Definition at line 109 of file chainparams.h.
◆ AssumeutxoForBlockhash()
◆ AssumeutxoForHeight()
std::optional< AssumeutxoData > CChainParams::AssumeutxoForHeight |
( |
int |
height | ) |
const |
|
inline |
◆ Base58Prefix()
const std::vector< unsigned char > & CChainParams::Base58Prefix |
( |
Base58Type |
type | ) |
const |
|
inline |
◆ Bech32HRP()
const std::string & CChainParams::Bech32HRP |
( |
| ) |
const |
|
inline |
◆ Checkpoints()
◆ DefaultConsistencyChecks()
bool CChainParams::DefaultConsistencyChecks |
( |
| ) |
const |
|
inline |
Default value for -checkmempool and -checkblockindex argument.
Definition at line 100 of file chainparams.h.
◆ DNSSeeds()
const std::vector< std::string > & CChainParams::DNSSeeds |
( |
| ) |
const |
|
inline |
Return the list of hostnames to look up for DNS seeds.
Definition at line 117 of file chainparams.h.
◆ FixedSeeds()
const std::vector< uint8_t > & CChainParams::FixedSeeds |
( |
| ) |
const |
|
inline |
◆ GenesisBlock()
const CBlock & CChainParams::GenesisBlock |
( |
| ) |
const |
|
inline |
◆ GetAvailableSnapshotHeights()
std::vector< int > CChainParams::GetAvailableSnapshotHeights |
( |
| ) |
const |
◆ GetChainType()
ChainType CChainParams::GetChainType |
( |
| ) |
const |
|
inline |
◆ GetChainTypeString()
std::string CChainParams::GetChainTypeString |
( |
| ) |
const |
|
inline |
◆ GetConsensus()
◆ GetDefaultPort()
uint16_t CChainParams::GetDefaultPort |
( |
| ) |
const |
|
inline |
◆ IsMockableChain()
bool CChainParams::IsMockableChain |
( |
| ) |
const |
|
inline |
If this chain allows time to be mocked.
Definition at line 104 of file chainparams.h.
◆ IsTestChain()
bool CChainParams::IsTestChain |
( |
| ) |
const |
|
inline |
If this chain is exclusively used for testing.
Definition at line 102 of file chainparams.h.
◆ Main()
std::unique_ptr< const CChainParams > CChainParams::Main |
( |
| ) |
|
|
static |
◆ MessageStart()
◆ MineBlocksOnDemand()
bool CChainParams::MineBlocksOnDemand |
( |
| ) |
const |
|
inline |
Whether it is possible to mine blocks on demand (no retargeting)
Definition at line 111 of file chainparams.h.
◆ PruneAfterHeight()
uint64_t CChainParams::PruneAfterHeight |
( |
| ) |
const |
|
inline |
◆ RegTest()
◆ SigNet()
◆ TestNet()
std::unique_ptr< const CChainParams > CChainParams::TestNet |
( |
| ) |
|
|
static |
◆ TestNet4()
std::unique_ptr< const CChainParams > CChainParams::TestNet4 |
( |
| ) |
|
|
static |
◆ TxData()
◆ base58Prefixes
◆ bech32_hrp
std::string CChainParams::bech32_hrp |
|
protected |
◆ chainTxData
◆ checkpointData
◆ consensus
◆ fDefaultConsistencyChecks
bool CChainParams::fDefaultConsistencyChecks |
|
protected |
◆ genesis
◆ m_assumed_blockchain_size
uint64_t CChainParams::m_assumed_blockchain_size |
|
protected |
◆ m_assumed_chain_state_size
uint64_t CChainParams::m_assumed_chain_state_size |
|
protected |
◆ m_assumeutxo_data
◆ m_chain_type
◆ m_is_mockable_chain
bool CChainParams::m_is_mockable_chain |
|
protected |
◆ nDefaultPort
uint16_t CChainParams::nDefaultPort |
|
protected |
◆ nPruneAfterHeight
uint64_t CChainParams::nPruneAfterHeight |
|
protected |
◆ pchMessageStart
◆ vFixedSeeds
std::vector<uint8_t> CChainParams::vFixedSeeds |
|
protected |
◆ vSeeds
std::vector<std::string> CChainParams::vSeeds |
|
protected |
The documentation for this class was generated from the following files: