Bitcoin
|
#include <chainparams.h>
Public Types | |
enum | Base58Type { PUBKEY_ADDRESS, SCRIPT_ADDRESS, SECRET_KEY, EXT_PUBLIC_KEY, EXT_SECRET_KEY, MAX_BASE58_TYPES } |
Public Member Functions | |
const Consensus::Params & | GetConsensus () const |
const CMessageHeader::MessageStartChars & | MessageStart () const |
int | GetDefaultPort () const |
const CBlock & | GenesisBlock () const |
bool | DefaultConsistencyChecks () const |
bool | RequireStandard () const |
uint64_t | PruneAfterHeight () const |
uint64_t | AssumedBlockchainSize () const |
uint64_t | AssumedChainStateSize () const |
bool | MineBlocksOnDemand () const |
std::string | NetworkIDString () const |
bool | IsFallbackFeeEnabled () const |
const std::vector< std::string > & | DNSSeeds () const |
const std::vector< unsigned char > & | Base58Prefix (Base58Type type) const |
const std::string & | Bech32HRP () const |
const std::vector< SeedSpec6 > & | FixedSeeds () const |
const CCheckpointData & | Checkpoints () const |
const ChainTxData & | TxData () const |
Protected Member Functions | |
CChainParams () | |
Protected Attributes | |
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< SeedSpec6 > | vFixedSeeds |
bool | fDefaultConsistencyChecks |
bool | fRequireStandard |
bool | fMineBlocksOnDemand |
CCheckpointData | checkpointData |
ChainTxData | chainTxData |
bool | m_fallback_fee_enabled |
CChainParams defines various tweakable parameters of a given instance of the Bitcoin system. There are three: the main network on which people trade goods and services, the public test network which gets reset from time to time and a regression test mode which is intended for private networks only. It has minimal difficulty to ensure that blocks can be found instantly.
|
inlineprotected |
|
inline |
Minimum free space (in GB) needed for data directory
|
inline |
Minimum free space (in GB) needed for data directory when pruned; Does not include prune target
|
inline |
|
inline |
|
inline |
|
inline |
Default value for -checkmempool and -checkblockindex argument
|
inline |
Return the list of hostnames to look up for DNS seeds
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Return true if the fallback fee is by default enabled for this network
|
inline |
|
inline |
Make miner stop after a block is found. In RPC, don't return until nGenProcLimit blocks are generated
|
inline |
Return the BIP70 network string (main, test or regtest)
|
inline |
|
inline |
Policy: Filter transactions that do not match well-defined patterns
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |