Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
Main network. More...
Public Member Functions | |
CMainParams () | |
Public Member Functions inherited from CChainParams | |
const Consensus::Params & | GetConsensus () const |
const CMessageHeader::MessageStartChars & | MessageStart () const |
int | GetDefaultPort () const |
const CBlock & | GenesisBlock () const |
const CBlock & | DevNetGenesisBlock () 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... | |
bool | RequireRoutableExternalIP () const |
Require addresses specified with "-externalip" parameter to be routable. More... | |
uint64_t | PruneAfterHeight () const |
bool | MineBlocksOnDemand () const |
Make miner stop after a block is found. More... | |
bool | AllowMultipleAddressesFromGroup () const |
Allow multiple addresses to be selected from the same network group (e.g. More... | |
bool | AllowMultiplePorts () const |
Allow nodes with the same address and multiple ports. More... | |
int | LLMQConnectionRetryTimeout () const |
How long to wait until we allow retrying of a LLMQ connection. More... | |
std::string | NetworkIDString () const |
Return the BIP70 network string (main, test or regtest) 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 |
int | ExtCoinType () const |
const std::vector< SeedSpec6 > & | FixedSeeds () const |
const CCheckpointData & | Checkpoints () const |
const ChainTxData & | TxData () const |
void | UpdateVersionBitsParameters (Consensus::DeploymentPos d, int64_t nStartTime, int64_t nTimeout, int64_t nWindowSize, int64_t nThresholdStart, int64_t nThresholdMin, int64_t nFalloffCoeff) |
void | UpdateDIP3Parameters (int nActivationHeight, int nEnforcementHeight) |
void | UpdateBudgetParameters (int nMasternodePaymentsStartBlock, int nBudgetPaymentsStartBlock, int nSuperblockStartBlock) |
void | UpdateSubsidyAndDiffParams (int nMinimumDifficultyBlocks, int nHighSubsidyBlocks, int nHighSubsidyFactor) |
void | UpdateLLMQChainLocks (Consensus::LLMQType llmqType) |
void | UpdateLLMQTestParams (int size, int threshold) |
void | UpdateLLMQDevnetParams (int size, int threshold) |
int | PoolMinParticipants () const |
int | PoolNewMinParticipants () const |
int | PoolMaxParticipants () const |
int | PoolNewMaxParticipants () const |
int | FulfilledRequestExpireTime () const |
const std::vector< std::string > & | SporkAddresses () const |
int | MinSporkKeys () const |
bool | BIP9CheckMasternodesUpgraded () const |
Detailed Description
Main network.
What makes a good checkpoint block?
- Is surrounded by blocks with reasonable timestamps (no blocks before with a timestamp after, none after with timestamp before)
- Contains no strange transactions
Definition at line 279 of file chainparams.cpp.
Constructor & Destructor Documentation
◆ 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 281 of file chainparams.cpp.
References ARRAYLEN, CChainParams::base58Prefixes, Consensus::Params::BIP34Hash, Consensus::Params::BIP34Height, Consensus::Params::BIP65Height, Consensus::Params::BIP66Height, Consensus::BIP9Deployment::bit, CChainParams::chainTxData, CChainParams::checkpointData, COIN, CChainParams::consensus, CreateGenesisBlock(), Consensus::Params::defaultAssumeValid, Consensus::DEPLOYMENT_BIP147, Consensus::DEPLOYMENT_CSV, Consensus::DEPLOYMENT_DIP0001, Consensus::DEPLOYMENT_DIP0003, Consensus::DEPLOYMENT_DIP0008, Consensus::DEPLOYMENT_REALLOC, Consensus::DEPLOYMENT_TESTDUMMY, Consensus::Params::DIP0001Height, Consensus::Params::DIP0003EnforcementHash, Consensus::Params::DIP0003EnforcementHeight, Consensus::Params::DIP0003Height, CChainParams::EXT_PUBLIC_KEY, CChainParams::EXT_SECRET_KEY, CChainParams::fAllowMultipleAddressesFromGroup, CChainParams::fAllowMultiplePorts, CChainParams::fBIP9CheckMasternodesUpgraded, CChainParams::fDefaultConsistencyChecks, CChainParams::fMineBlocksOnDemand, Consensus::Params::fPowAllowMinDifficultyBlocks, Consensus::Params::fPowNoRetargeting, CChainParams::fRequireRoutableExternalIP, CChainParams::fRequireStandard, CChainParams::genesis, CBlockHeader::GetHash(), Consensus::Params::hashGenesisBlock, CBlockHeader::hashMerkleRoot, llmq400_60, llmq400_85, llmq50_60, Consensus::LLMQ_400_60, Consensus::LLMQ_400_85, Consensus::LLMQ_50_60, Consensus::Params::llmqs, Consensus::Params::llmqTypeChainLocks, Consensus::Params::llmqTypeInstantSend, Consensus::Params::nBudgetPaymentsCycleBlocks, Consensus::Params::nBudgetPaymentsStartBlock, Consensus::Params::nBudgetPaymentsWindowBlocks, CChainParams::nDefaultPort, CChainParams::nExtCoinType, Consensus::BIP9Deployment::nFalloffCoeff, CChainParams::nFulfilledRequestExpireTime, Consensus::Params::nGovernanceFilterElements, Consensus::Params::nGovernanceMinQuorum, Consensus::Params::nInstantSendConfirmationsRequired, Consensus::Params::nInstantSendKeepLock, CChainParams::nLLMQConnectionRetryTimeout, Consensus::Params::nMasternodeMinimumConfirmations, Consensus::Params::nMasternodePaymentsIncreaseBlock, Consensus::Params::nMasternodePaymentsIncreasePeriod, Consensus::Params::nMasternodePaymentsStartBlock, Consensus::Params::nMinerConfirmationWindow, Consensus::Params::nMinimumChainWork, CChainParams::nMinSporkKeys, CChainParams::nPoolMaxParticipants, CChainParams::nPoolMinParticipants, CChainParams::nPoolNewMaxParticipants, CChainParams::nPoolNewMinParticipants, Consensus::Params::nPowDGWHeight, Consensus::Params::nPowKGWHeight, Consensus::Params::nPowTargetSpacing, Consensus::Params::nPowTargetTimespan, CChainParams::nPruneAfterHeight, Consensus::Params::nRuleChangeActivationThreshold, Consensus::BIP9Deployment::nStartTime, Consensus::Params::nSubsidyHalvingInterval, Consensus::Params::nSuperblockCycle, Consensus::Params::nSuperblockStartBlock, Consensus::Params::nSuperblockStartHash, Consensus::BIP9Deployment::nThresholdMin, Consensus::BIP9Deployment::nThresholdStart, Consensus::BIP9Deployment::nTimeout, Consensus::BIP9Deployment::nWindowSize, CChainParams::pchMessageStart, pnSeed6_main, Consensus::Params::powLimit, CChainParams::PUBKEY_ADDRESS, CChainParams::SCRIPT_ADDRESS, CChainParams::SECRET_KEY, CChainParams::strNetworkID, uint256S(), Consensus::Params::vDeployments, CChainParams::vFixedSeeds, CChainParams::vSeeds, and CChainParams::vSporkAddresses.
The documentation for this class was generated from the following file:
- src/chainparams.cpp