BSHA3  0.17.99
P2P Blockchain, based on Bitcoin
Public Member Functions | List of all members
CMainParams Class Reference

Main network. More...

Inheritance diagram for CMainParams:
[legend]
Collaboration diagram for CMainParams:
[legend]

Public Member Functions

 CMainParams ()
 
- Public Member Functions inherited from CChainParams
const Consensus::ParamsGetConsensus () const
 
const CMessageHeader::MessageStartCharsMessageStart () const
 
int GetDefaultPort () const
 
bool MiningRequiresPeers () const
 
const CBlockGenesisBlock () const
 
bool DefaultConsistencyChecks () const
 Default value for -checkmempool and -checkblockindex argument. More...
 
bool RequireStandard () const
 Policy: Filter transactions that do not match well-defined patterns. More...
 
uint64_t PruneAfterHeight () const
 
bool MineBlocksOnDemand () const
 Make miner stop after a block is found. More...
 
std::string NetworkIDString () const
 Return the BIP70 network string (main, test or regtest) More...
 
bool IsFallbackFeeEnabled () const
 Return true if the fallback fee is by default enabled for this network. More...
 
const std::vector< std::string > & DNSSeeds () const
 Return the list of hostnames to look up for DNS seeds. More...
 
const std::vector< unsigned char > & Base58Prefix (Base58Type type) const
 
const std::string & Bech32HRP () const
 
const std::vector< SeedSpec6 > & FixedSeeds () const
 
const CCheckpointDataCheckpoints () const
 
const ChainTxDataTxData () const
 
void UpdateVersionBitsParameters (Consensus::DeploymentPos d, int64_t nStartTime, int64_t nTimeout)
 
void TurnOffSegwit ()
 
void TurnOffCSV ()
 
void TurnOffBIP34 ()
 
void TurnOffBIP65 ()
 
void TurnOffBIP66 ()
 
bool BIP34 ()
 
bool BIP65 ()
 
bool BIP66 ()
 
bool CSVEnabled () const
 

Additional Inherited Members

- Public Types inherited from CChainParams
enum  Base58Type {
  PUBKEY_ADDRESS, SCRIPT_ADDRESS, SECRET_KEY, EXT_PUBLIC_KEY,
  EXT_SECRET_KEY, MAX_BASE58_TYPES
}
 
- Protected Member Functions inherited from CChainParams
 CChainParams ()
 
- Protected Attributes inherited from CChainParams
Consensus::Params consensus
 
CMessageHeader::MessageStartChars pchMessageStart
 
int nDefaultPort
 
uint64_t nPruneAfterHeight
 
std::vector< std::string > vSeeds
 
std::vector< unsigned char > base58Prefixes [MAX_BASE58_TYPES]
 
std::string bech32_hrp
 
std::string strNetworkID
 
CBlock genesis
 
std::vector< SeedSpec6vFixedSeeds
 
bool fDefaultConsistencyChecks
 
bool fRequireStandard
 
bool fMineBlocksOnDemand
 
bool fMiningRequiresPeers
 
CCheckpointData checkpointData
 
ChainTxData chainTxData
 
bool m_fallback_fee_enabled
 

Detailed Description

Main network.

Definition at line 67 of file chainparams.cpp.

Constructor & Destructor Documentation

◆ CMainParams()

CMainParams::CMainParams ( )
inline

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 32-bit integer with any alignment.

Definition at line 69 of file chainparams.cpp.

Here is the call graph for this function:

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