Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
chainparams.h
Go to the documentation of this file.
79 const std::vector<unsigned char>& Base58Prefix(Base58Type type) const { return base58Prefixes[type]; }
84 void UpdateVersionBitsParameters(Consensus::DeploymentPos d, int64_t nStartTime, int64_t nTimeout, int64_t nWindowSize, int64_t nThresholdStart, int64_t nThresholdMin, int64_t nFalloffCoeff);
86 void UpdateBudgetParameters(int nMasternodePaymentsStartBlock, int nBudgetPaymentsStartBlock, int nSuperblockStartBlock);
87 void UpdateSubsidyAndDiffParams(int nMinimumDifficultyBlocks, int nHighSubsidyBlocks, int nHighSubsidyFactor);
154 void UpdateVersionBitsParameters(Consensus::DeploymentPos d, int64_t nStartTime, int64_t nTimeout, int64_t nWindowSize, int64_t nThresholdStart, int64_t nThresholdMin, int64_t nFalloffCoeff);
164 void UpdateBudgetParameters(int nMasternodePaymentsStartBlock, int nBudgetPaymentsStartBlock, int nSuperblockStartBlock);
169 void UpdateDevnetSubsidyAndDiffParams(int nMinimumDifficultyBlocks, int nHighSubsidyBlocks, int nHighSubsidyFactor);
const std::vector< std::string > & DNSSeeds() const
Return the list of hostnames to look up for DNS seeds.
Definition: chainparams.h:78
std::string NetworkIDString() const
Return the BIP70 network string (main, test or regtest)
Definition: chainparams.h:76
void UpdateSubsidyAndDiffParams(int nMinimumDifficultyBlocks, int nHighSubsidyBlocks, int nHighSubsidyFactor)
Definition: chainparams.cpp:116
bool BIP9CheckMasternodesUpgraded() const
Definition: chainparams.h:98
Definition: chainparams.h:47
Definition: chainparams.h:51
Definition: block.h:72
Definition: chainparams.h:46
std::vector< unsigned char > base58Prefixes[MAX_BASE58_TYPES]
Definition: chainparams.h:107
Definition: chainparams.h:49
void UpdateDIP3Parameters(int nActivationHeight, int nEnforcementHeight)
Definition: chainparams.cpp:103
Definition: chainparams.h:48
int nFulfilledRequestExpireTime
Definition: chainparams.h:126
void UpdateVersionBitsParameters(Consensus::DeploymentPos d, int64_t nStartTime, int64_t nTimeout, int64_t nWindowSize, int64_t nThresholdStart, int64_t nThresholdMin, int64_t nFalloffCoeff)
Allows modifying the Version Bits regtest parameters.
Definition: chainparams.cpp:971
bool DefaultConsistencyChecks() const
Default value for -checkmempool and -checkblockindex argument.
Definition: chainparams.h:61
CChainParams defines various tweakable parameters of a given instance of the Dash system...
Definition: chainparams.h:41
Definition: chainparams.h:24
const std::vector< std::string > & SporkAddresses() const
Definition: chainparams.h:96
CMessageHeader::MessageStartChars pchMessageStart
Definition: chainparams.h:103
void UpdateLLMQChainLocks(Consensus::LLMQType llmqType)
Definition: chainparams.cpp:123
bool fBIP9CheckMasternodesUpgraded
Definition: chainparams.h:129
void UpdateBudgetParameters(int nMasternodePaymentsStartBlock, int nBudgetPaymentsStartBlock, int nSuperblockStartBlock)
Allows modifying the budget regtest parameters.
Definition: chainparams.cpp:981
void UpdateDevnetSubsidyAndDiffParams(int nMinimumDifficultyBlocks, int nHighSubsidyBlocks, int nHighSubsidyFactor)
Allows modifying the subsidy and difficulty devnet parameters.
Definition: chainparams.cpp:986
Definition: chainparams.h:17
Definition: chainparams.h:28
void SelectParams(const std::string &chain)
Sets the params returned by Params() to those for the given BIP70 chain name.
Definition: chainparams.cpp:965
const CMessageHeader::MessageStartChars & MessageStart() const
Definition: chainparams.h:55
void UpdateLLMQTestParams(int size, int threshold)
Allows modifying parameters of the test LLMQ.
Definition: chainparams.cpp:996
bool RequireRoutableExternalIP() const
Require addresses specified with "-externalip" parameter to be routable.
Definition: chainparams.h:65
bool fRequireRoutableExternalIP
Definition: chainparams.h:115
int nLLMQConnectionRetryTimeout
Definition: chainparams.h:119
void UpdateLLMQTestParams(int size, int threshold)
Definition: chainparams.cpp:127
unsigned char MessageStartChars[MESSAGE_START_SIZE]
Definition: protocol.h:38
bool AllowMultipleAddressesFromGroup() const
Allow multiple addresses to be selected from the same network group (e.g.
Definition: chainparams.h:70
void UpdateVersionBitsParameters(Consensus::DeploymentPos d, int64_t nStartTime, int64_t nTimeout, int64_t nWindowSize, int64_t nThresholdStart, int64_t nThresholdMin, int64_t nFalloffCoeff)
Definition: chainparams.cpp:85
bool AllowMultiplePorts() const
Allow nodes with the same address and multiple ports.
Definition: chainparams.h:72
bool RequireStandard() const
Policy: Filter transactions that do not match well-defined patterns.
Definition: chainparams.h:63
Definition: chainparams.h:45
void UpdateDevnetLLMQChainLocks(Consensus::LLMQType llmqType)
Allows modifying the LLMQ type for ChainLocks.
Definition: chainparams.cpp:991
const CChainParams & Params()
Return the currently selected parameters.
Definition: chainparams.cpp:947
bool fAllowMultipleAddressesFromGroup
Definition: chainparams.h:117
std::vector< std::string > vSporkAddresses
Definition: chainparams.h:127
int FulfilledRequestExpireTime() const
Definition: chainparams.h:95
const std::vector< SeedSpec6 > & FixedSeeds() const
Definition: chainparams.h:81
void UpdateLLMQDevnetParams(int size, int threshold)
Definition: chainparams.cpp:135
void UpdateBudgetParameters(int nMasternodePaymentsStartBlock, int nBudgetPaymentsStartBlock, int nSuperblockStartBlock)
Definition: chainparams.cpp:109
const Consensus::Params & GetConsensus() const
Definition: chainparams.h:54
const CBlock & DevNetGenesisBlock() const
Definition: chainparams.h:59
void UpdateDIP3Parameters(int nActivationHeight, int nEnforcementHeight)
Allows modifying the DIP3 activation and enforcement height.
Definition: chainparams.cpp:976
std::unique_ptr< CChainParams > CreateChainParams(const std::string &chain)
Creates and returns a std::unique_ptr<CChainParams> of the chosen chain.
Definition: chainparams.cpp:952
void UpdateLLMQDevnetParams(int size, int threshold)
Allows modifying parameters of the devnet LLMQ.
Definition: chainparams.cpp:1001
const std::vector< unsigned char > & Base58Prefix(Base58Type type) const
Definition: chainparams.h:79
int LLMQConnectionRetryTimeout() const
How long to wait until we allow retrying of a LLMQ connection.
Definition: chainparams.h:74