8 #ifndef PIVX_CHAINPARAMS_H
9 #define PIVX_CHAINPARAMS_H
void UpdateNetworkUpgradeParameters(Consensus::UpgradeIndex idx, int nActivationHeight)
Allows modifying the network upgrade regtest parameters.
void SelectParams(const std::string &chain)
Sets the params returned by Params() to those for the given chain name.
std::map< int, uint256 > MapCheckpoints
const CChainParams & Params()
Return the currently selected parameters.
std::unique_ptr< CChainParams > CreateChainParams(const std::string &chain)
Creates and returns a std::unique_ptr<CChainParams> of the chosen chain.
static const std::string REGTEST
static const std::string TESTNET
CChainParams defines various tweakable parameters of a given instance of the PIVX system.
int FulfilledRequestExpireTime() const
Tier two requests blockage mark expiration time.
bool MiningRequiresPeers() const
Make miner wait to have peers to avoid wasting work.
const std::vector< unsigned char > & Base58Prefix(Base58Type type) const
bool DefaultConsistencyChecks() const
Default value for -checkmempool and -checkblockindex argument.
int LLMQConnectionRetryTimeout() const
How long to wait until we allow retrying of a LLMQ connection
std::string NetworkIDString() const
Return the network string.
int GetDefaultPort() const
bool RequireStandard() const
Policy: Filter transactions that do not match well-defined patterns.
const std::vector< CDNSSeedData > & DNSSeeds() const
const CMessageHeader::MessageStartChars & MessageStart() const
int nLLMQConnectionRetryTimeout
const std::string & Bech32HRP(Bech32Type type) const
std::vector< uint8_t > vFixedSeeds
@ SAPLING_PAYMENT_ADDRESS
@ SAPLING_EXTENDED_SPEND_KEY
@ SAPLING_INCOMING_VIEWING_KEY
@ SAPLING_FULL_VIEWING_KEY
int nFulfilledRequestExpireTime
virtual const CCheckpointData & Checkpoints() const =0
std::vector< unsigned char > base58Prefixes[MAX_BASE58_TYPES]
bool IsTestChain() const
If this chain is exclusively used for testing.
std::vector< CDNSSeedData > vSeeds
void UpdateNetworkUpgradeParameters(Consensus::UpgradeIndex idx, int nActivationHeight)
Consensus::Params consensus
const std::vector< uint8_t > & FixedSeeds() const
const Consensus::Params & GetConsensus() const
std::string bech32HRPs[MAX_BECH32_TYPES]
bool IsRegTestNet() const
bool HeadersFirstSyncingActive() const
Headers first syncing is disabled.
CMessageHeader::MessageStartChars pchMessageStart
const CBlock & GenesisBlock() const
UpgradeIndex
Index into Params.vUpgrades and NetworkUpgradeInfo.
double fTransactionsPerDay
int64_t nTransactionsLastCheckpoint
int64_t nTimeLastCheckpoint
const MapCheckpoints * mapCheckpoints
CDNSSeedData(const std::string &strHost, bool supportsServiceBitsFilteringIn=false)
bool supportsServiceBitsFiltering
Parameters that influence chain consensus.