Dash Core  0.12.2.1
P2P Digital Currency
params.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2015 The Bitcoin Core developers
3 // Distributed under the MIT software license, see the accompanying
4 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 
6 #ifndef BITCOIN_CONSENSUS_PARAMS_H
7 #define BITCOIN_CONSENSUS_PARAMS_H
8 
9 #include "uint256.h"
10 #include <map>
11 #include <string>
12 
13 namespace Consensus {
14 
16 {
18  DEPLOYMENT_CSV, // Deployment of BIP68, BIP112, and BIP113.
19  DEPLOYMENT_DIP0001, // Deployment of DIP0001 and lower transaction fees.
20  // NOTE: Also add new deployments to VersionBitsDeploymentInfo in versionbits.cpp
22 };
23 
29  int bit;
31  int64_t nStartTime;
33  int64_t nTimeout;
35  int64_t nWindowSize;
37  int64_t nThreshold;
38 };
39 
43 struct Params {
49  int nInstantSendKeepLock; // in blocks
55  int nSuperblockCycle; // in blocks
56  int nGovernanceMinQuorum; // Min absolute vote count to trigger an action
73  // Default BIP9Deployment::nWindowSize value for deployments where it's not specified and for unknown deployments.
85 };
86 } // namespace Consensus
87 
88 #endif // BITCOIN_CONSENSUS_PARAMS_H
int nSuperblockCycle
Definition: params.h:55
uint256 defaultAssumeValid
Definition: params.h:84
int nSuperblockStartBlock
Definition: params.h:54
bool fPowAllowMinDifficultyBlocks
Definition: params.h:78
int nGovernanceFilterElements
Definition: params.h:57
int nBudgetPaymentsWindowBlocks
Definition: params.h:52
uint256 hashGenesisBlock
Definition: params.h:44
int nSubsidyHalvingInterval
Definition: params.h:45
int nGovernanceMinQuorum
Definition: params.h:56
uint32_t nRuleChangeActivationThreshold
Definition: params.h:72
DeploymentPos
Definition: params.h:15
int nInstantSendKeepLock
Definition: params.h:49
uint32_t nMinerConfirmationWindow
Definition: params.h:74
bool fPowNoRetargeting
Definition: params.h:79
int nMasternodeMinimumConfirmations
Definition: params.h:58
int nBudgetProposalEstablishingTime
Definition: params.h:53
BIP9Deployment vDeployments[MAX_VERSION_BITS_DEPLOYMENTS]
Definition: params.h:75
int nMasternodePaymentsIncreaseBlock
Definition: params.h:47
int nMajorityRejectBlockOutdated
Definition: params.h:61
int64_t nPowTargetSpacing
Definition: params.h:80
int64_t DifficultyAdjustmentInterval() const
Definition: params.h:82
int nMajorityEnforceBlockUpgrade
Definition: params.h:60
int nBudgetPaymentsCycleBlocks
Definition: params.h:51
int64_t nPowTargetTimespan
Definition: params.h:81
uint256 nMinimumChainWork
Definition: params.h:83
int nMasternodePaymentsIncreasePeriod
Definition: params.h:48
uint256 powLimit
Definition: params.h:77
int nMajorityWindow
Definition: params.h:62
int nMasternodePaymentsStartBlock
Definition: params.h:46
uint256 BIP34Hash
Definition: params.h:65
int nBudgetPaymentsStartBlock
Definition: params.h:50