6 #ifndef BITCOIN_CHAINPARAMS_H 7 #define BITCOIN_CHAINPARAMS_H 136 #endif // BITCOIN_CHAINPARAMS_H const std::vector< std::string > & DNSSeeds() const
Return the list of hostnames to look up for DNS seeds.
std::string NetworkIDString() const
Return the BIP70 network string (main, test or regtest)
void UpdateVersionBitsParameters(Consensus::DeploymentPos d, int64_t nStartTime, int64_t nTimeout)
double dTxRate
estimated number of transactions per second after that timestamp
std::map< int, uint256 > MapCheckpoints
const std::string & Bech32HRP() const
std::vector< unsigned char > base58Prefixes[MAX_BASE58_TYPES]
bool DefaultConsistencyChecks() const
Default value for -checkmempool and -checkblockindex argument.
const CBlock & GenesisBlock() const
CChainParams defines various tweakable parameters of a given instance of the Bitcoin system...
int64_t nTime
UNIX timestamp of last known number of transactions.
const CCheckpointData & Checkpoints() const
CMessageHeader::MessageStartChars pchMessageStart
int64_t nTxCount
total number of transactions between genesis and that timestamp
uint64_t PruneAfterHeight() const
bool m_fallback_fee_enabled
bool MineBlocksOnDemand() const
Make miner stop after a block is found.
bool MiningRequiresPeers() const
Holds various statistics on transactions within a chain.
void SelectParams(const std::string &chain)
Sets the params returned by Params() to those for the given BIP70 chain name.
std::vector< std::string > vSeeds
const CMessageHeader::MessageStartChars & MessageStart() const
int GetDefaultPort() const
Parameters that influence chain consensus.
bool RequireStandard() const
Policy: Filter transactions that do not match well-defined patterns.
const CChainParams & Params()
Return the currently selected parameters.
const ChainTxData & TxData() const
std::vector< SeedSpec6 > vFixedSeeds
MapCheckpoints mapCheckpoints
Consensus::Params consensus
bool fMiningRequiresPeers
const std::vector< SeedSpec6 > & FixedSeeds() const
uint64_t nPruneAfterHeight
bool IsFallbackFeeEnabled() const
Return true if the fallback fee is by default enabled for this network.
const Consensus::Params & GetConsensus() const
CCheckpointData checkpointData
std::unique_ptr< const CChainParams > CreateChainParams(const std::string &chain)
Creates and returns a std::unique_ptr<CChainParams> of the chosen chain.
bool fDefaultConsistencyChecks
const std::vector< unsigned char > & Base58Prefix(Base58Type type) const