From ce650182f4d9847423202789856e6e5f499151f8 Mon Sep 17 00:00:00 2001 From: Suhas Daftuar Date: Tue, 12 Sep 2017 11:38:20 -0400 Subject: Use P2SH consensus rules for all blocks This commit moves P2SH activation back to the genesis block, with a hardcoded exception for the one historical block in the chain that violated this rule. --- src/consensus/params.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/consensus/params.h') diff --git a/src/consensus/params.h b/src/consensus/params.h index 4ef808c856..0559304fc2 100644 --- a/src/consensus/params.h +++ b/src/consensus/params.h @@ -49,8 +49,8 @@ struct BIP9Deployment { struct Params { uint256 hashGenesisBlock; int nSubsidyHalvingInterval; - /** Block height at which BIP16 becomes active */ - int BIP16Height; + /* Block hash that is excepted from BIP16 enforcement */ + uint256 BIP16Exception; /** Block height and hash at which BIP34 becomes active */ int BIP34Height; uint256 BIP34Hash; -- cgit v1.2.3