PIVX Core  5.6.99
P2P Digital Currency
Public Member Functions | List of all members
CMainParams Class Reference
Inheritance diagram for CMainParams:
[legend]
Collaboration diagram for CMainParams:
[legend]

Public Member Functions

 CMainParams ()
 
const CCheckpointDataCheckpoints () const
 
- Public Member Functions inherited from CChainParams
virtual ~CChainParams ()
 
const Consensus::ParamsGetConsensus () const
 
const CMessageHeader::MessageStartCharsMessageStart () const
 
int GetDefaultPort () const
 
const CBlockGenesisBlock () const
 
bool RequireStandard () const
 Policy: Filter transactions that do not match well-defined patterns. More...
 
int LLMQConnectionRetryTimeout () const
 How long to wait until we allow retrying of a LLMQ connection
More...
 
bool IsTestChain () const
 If this chain is exclusively used for testing. More...
 
bool MiningRequiresPeers () const
 Make miner wait to have peers to avoid wasting work. More...
 
bool HeadersFirstSyncingActive () const
 Headers first syncing is disabled. More...
 
bool DefaultConsistencyChecks () const
 Default value for -checkmempool and -checkblockindex argument. More...
 
std::string NetworkIDString () const
 Return the network string. More...
 
const std::vector< CDNSSeedData > & DNSSeeds () const
 
const std::vector< unsigned char > & Base58Prefix (Base58Type type) const
 
const std::string & Bech32HRP (Bech32Type type) const
 
const std::vector< uint8_t > & FixedSeeds () const
 
bool IsRegTestNet () const
 
bool IsTestnet () const
 
int FulfilledRequestExpireTime () const
 Tier two requests blockage mark expiration time. More...
 
void UpdateNetworkUpgradeParameters (Consensus::UpgradeIndex idx, int nActivationHeight)
 

Additional Inherited Members

- Public Types inherited from CChainParams
enum  Base58Type {
  PUBKEY_ADDRESS , SCRIPT_ADDRESS , SECRET_KEY , EXT_PUBLIC_KEY ,
  EXT_SECRET_KEY , EXT_COIN_TYPE , STAKING_ADDRESS , EXCHANGE_ADDRESS ,
  MAX_BASE58_TYPES
}
 
enum  Bech32Type {
  SAPLING_PAYMENT_ADDRESS , SAPLING_FULL_VIEWING_KEY , SAPLING_INCOMING_VIEWING_KEY , SAPLING_EXTENDED_SPEND_KEY ,
  SAPLING_EXTENDED_FVK , BLS_SECRET_KEY , BLS_PUBLIC_KEY , MAX_BECH32_TYPES
}
 
- Protected Member Functions inherited from CChainParams
 CChainParams ()
 
- Protected Attributes inherited from CChainParams
std::string strNetworkID
 
CBlock genesis
 
Consensus::Params consensus
 
CMessageHeader::MessageStartChars pchMessageStart
 
int nDefaultPort
 
std::vector< CDNSSeedDatavSeeds
 
std::vector< unsigned char > base58Prefixes [MAX_BASE58_TYPES]
 
std::string bech32HRPs [MAX_BECH32_TYPES]
 
std::vector< uint8_t > vFixedSeeds
 
bool fRequireStandard
 
int nLLMQConnectionRetryTimeout
 
int nFulfilledRequestExpireTime
 

Detailed Description

Definition at line 213 of file chainparams.cpp.

Constructor & Destructor Documentation

◆ CMainParams()

CMainParams::CMainParams ( )
inline

December 21, 2020 01:00:00 AM GMT

March 1, 2021 01:00:00 AM GMT

The message start string is designed to be unlikely to occur in normal data. The characters are rarely used upper ASCII, not valid as UTF-8, and produce a large 4-byte int at any alignment.

Definition at line 216 of file chainparams.cpp.

Member Function Documentation

◆ Checkpoints()

const CCheckpointData& CMainParams::Checkpoints ( ) const
inlinevirtual

Implements CChainParams.

Definition at line 367 of file chainparams.cpp.


The documentation for this class was generated from the following file: