diff options
| author | Ross Nicoll <[email protected]> | 2017-12-27 21:11:14 +0000 |
|---|---|---|
| committer | Ross Nicoll <[email protected]> | 2018-09-19 19:23:29 +0100 |
| commit | a89d54c4b228c02a62e21039f318f5225aad2cf9 (patch) | |
| tree | 115470cc09b4174ddcd3d48a251a1d8d7f2da548 /src/consensus/params.h | |
| parent | Set SegWit timeout to zero to disable it (#1405) (diff) | |
| download | discoin-a89d54c4b228c02a62e21039f318f5225aad2cf9.tar.xz discoin-a89d54c4b228c02a62e21039f318f5225aad2cf9.zip | |
Change BIP65/66 enforcement to match Dogecoin (#1403)
* Introduce first estimates at BIP lock-in blocks
* Introduce Dogecoin BIP parameters
* Re-introduce supermajority rules for BIP65
* Add BIP65 supermajority rules
* Tighten v3 block constraints
* Don't enforce coinbase in v2 blocks
* Correct testnet majority params
* Change to using base version when checking supermajority
Diffstat (limited to 'src/consensus/params.h')
| -rw-r--r-- | src/consensus/params.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/consensus/params.h b/src/consensus/params.h index 55a7b27b6..7d8d53c44 100644 --- a/src/consensus/params.h +++ b/src/consensus/params.h @@ -39,11 +39,16 @@ struct BIP9Deployment { struct Params { uint256 hashGenesisBlock; int nSubsidyHalvingInterval; + /** Used to check majorities for block version upgrade */ + int nMajorityEnforceBlockUpgrade; + int nMajorityRejectBlockOutdated; + int nMajorityWindow; + int nCoinbaseMaturity; /** Block height and hash at which BIP34 becomes active */ int BIP34Height; uint256 BIP34Hash; /** Block height at which BIP65 becomes active */ - int BIP65Height; + // int BIP65Height; /** Block height at which BIP66 becomes active */ int BIP66Height; /** |