Added nMinGivernanceQuorum chain parameter

This commit is contained in:
Tim Flynn 2016-08-27 19:25:46 -04:00
parent 180a81eada
commit d371930595
2 changed files with 4 additions and 0 deletions

View File

@ -84,6 +84,7 @@ public:
consensus.nBudgetProposalEstablishingTime = 60*60*24;
consensus.nSuperblockStartBlock = 543210; // TODO, the block at which 12.1 goes live.
consensus.nSuperblockCycle = 576; // Superblocks can be issued daily
consensus.nMinGovernanceQuorum = 10;
consensus.nMasternodeMinimumConfirmations = 15;
consensus.nMajorityEnforceBlockUpgrade = 750;
consensus.nMajorityRejectBlockOutdated = 950;
@ -203,6 +204,7 @@ public:
consensus.nBudgetProposalEstablishingTime = 60*20;
consensus.nSuperblockStartBlock = 54321; // TODO, the block at which 12.1 goes live.
consensus.nSuperblockCycle = 24; // Superblocks can be issued hourly on testnet
consensus.nMinGovernanceQuorum = 1;
consensus.nMasternodeMinimumConfirmations = 1;
consensus.nMajorityEnforceBlockUpgrade = 51;
consensus.nMajorityRejectBlockOutdated = 75;
@ -304,6 +306,7 @@ public:
consensus.nBudgetProposalEstablishingTime = 60*20;
consensus.nSuperblockStartBlock = 1500;
consensus.nSuperblockCycle = 10;
consensus.nMinGovernanceQuorum = 1;
consensus.nMasternodeMinimumConfirmations = 1;
consensus.nMajorityEnforceBlockUpgrade = 750;
consensus.nMajorityRejectBlockOutdated = 950;

View File

@ -48,6 +48,7 @@ struct Params {
int nBudgetProposalEstablishingTime; // in seconds
int nSuperblockStartBlock;
int nSuperblockCycle; // in blocks
int nMinGovernanceQuorum; // Min absolute vote count to trigger an action
int nMasternodeMinimumConfirmations;
/** Used to check majorities for block version upgrade */
int nMajorityEnforceBlockUpgrade;