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 69 of file chainparams.h.
◆ Base58Type
| Enumerator |
|---|
| PUBKEY_ADDRESS | |
| SCRIPT_ADDRESS | |
| SECRET_KEY | |
| EXT_PUBLIC_KEY | |
| EXT_SECRET_KEY | |
| MAX_BASE58_TYPES | |
Definition at line 72 of file chainparams.h.
◆ CChainParams()
| CChainParams::CChainParams |
( |
| ) |
|
|
inlineprotected |
◆ AssumedBlockchainSize()
| uint64_t CChainParams::AssumedBlockchainSize |
( |
| ) |
const |
|
inline |
Minimum free space (in GB) needed for data directory.
Definition at line 106 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 108 of file chainparams.h.
◆ Assumeutxo()
◆ 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 97 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 114 of file chainparams.h.
◆ FixedSeeds()
| const std::vector< uint8_t > & CChainParams::FixedSeeds |
( |
| ) |
const |
|
inline |
◆ GenesisBlock()
| const CBlock & CChainParams::GenesisBlock |
( |
| ) |
const |
|
inline |
◆ GetConsensus()
◆ GetDefaultPort() [1/3]
| uint16_t CChainParams::GetDefaultPort |
( |
| ) |
const |
|
inline |
◆ GetDefaultPort() [2/3]
| uint16_t CChainParams::GetDefaultPort |
( |
const std::string & |
addr | ) |
const |
|
inline |
◆ GetDefaultPort() [3/3]
| uint16_t CChainParams::GetDefaultPort |
( |
Network |
net | ) |
const |
|
inline |
◆ IsMockableChain()
| bool CChainParams::IsMockableChain |
( |
| ) |
const |
|
inline |
If this chain allows time to be mocked.
Definition at line 103 of file chainparams.h.
◆ IsTestChain()
| bool CChainParams::IsTestChain |
( |
| ) |
const |
|
inline |
If this chain is exclusively used for testing.
Definition at line 101 of file chainparams.h.
◆ MessageStart()
◆ MineBlocksOnDemand()
| bool CChainParams::MineBlocksOnDemand |
( |
| ) |
const |
|
inline |
Whether it is possible to mine blocks on demand (no retargeting)
Definition at line 110 of file chainparams.h.
◆ NetworkIDString()
| std::string CChainParams::NetworkIDString |
( |
| ) |
const |
|
inline |
◆ PruneAfterHeight()
| uint64_t CChainParams::PruneAfterHeight |
( |
| ) |
const |
|
inline |
◆ RequireStandard()
| bool CChainParams::RequireStandard |
( |
| ) |
const |
|
inline |
Policy: Filter transactions that do not match well-defined patterns.
Definition at line 99 of file chainparams.h.
◆ TxData()
◆ base58Prefixes
◆ bech32_hrp
| std::string CChainParams::bech32_hrp |
|
protected |
◆ chainTxData
◆ checkpointData
◆ consensus
◆ fDefaultConsistencyChecks
| bool CChainParams::fDefaultConsistencyChecks |
|
protected |
◆ fRequireStandard
| bool CChainParams::fRequireStandard |
|
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_is_mockable_chain
| bool CChainParams::m_is_mockable_chain |
|
protected |
◆ m_is_test_chain
| bool CChainParams::m_is_test_chain |
|
protected |
◆ nDefaultPort
| uint16_t CChainParams::nDefaultPort |
|
protected |
◆ nPruneAfterHeight
| uint64_t CChainParams::nPruneAfterHeight |
|
protected |
◆ pchMessageStart
◆ strNetworkID
| std::string CChainParams::strNetworkID |
|
protected |
◆ 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 file: