diff options
author | jtimon <jtimon@monetize.io> | 2014-03-22 19:52:26 +0100 |
---|---|---|
committer | jtimon <jtimon@monetize.io> | 2014-06-04 13:29:36 +0200 |
commit | d754f34e8d470d5d89e2bc31ff1ab60ae5889266 (patch) | |
tree | facbfeec67bdcc6ac520f108216efe2fd3d84815 /src/chainparams.cpp | |
parent | 8d26721498eb608b1ee5fd4d10083739a77b5905 (diff) |
Move majority constants to chainparams
Diffstat (limited to 'src/chainparams.cpp')
-rw-r--r-- | src/chainparams.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/chainparams.cpp b/src/chainparams.cpp index 75a14c6013..86d80629eb 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -112,6 +112,9 @@ public: nRPCPort = 8332; bnProofOfWorkLimit = ~uint256(0) >> 32; nSubsidyHalvingInterval = 210000; + nEnforceBlockUpgradeMajority = 750; + nRejectBlockOutdatedMajority = 950; + nToCheckBlockUpgradeMajority = 1000; nMinerThreads = 0; // Build the genesis block. Note that the output of the genesis coinbase cannot @@ -199,6 +202,9 @@ public: vAlertPubKey = ParseHex("04302390343f91cc401d56d68b123028bf52e5fca1939df127f63c6467cdf9c8e2c14b61104cf817d0b780da337893ecc4aaff1309e536162dabbdb45200ca2b0a"); nDefaultPort = 18333; nRPCPort = 18332; + nEnforceBlockUpgradeMajority = 51; + nRejectBlockOutdatedMajority = 75; + nToCheckBlockUpgradeMajority = 100; strDataDir = "testnet3"; // Modify the testnet genesis block so the timestamp is valid for a later start. @@ -234,6 +240,9 @@ public: pchMessageStart[2] = 0xb5; pchMessageStart[3] = 0xda; nSubsidyHalvingInterval = 150; + nEnforceBlockUpgradeMajority = 750; + nRejectBlockOutdatedMajority = 950; + nToCheckBlockUpgradeMajority = 1000; nMinerThreads = 1; bnProofOfWorkLimit = ~uint256(0) >> 1; genesis.nTime = 1296688602; |