From cfe617ec1d6bab455f4bbf17eb754b4b41e02f17 Mon Sep 17 00:00:00 2001 From: nzsquirrell Date: Tue, 15 Mar 2016 19:14:31 +1300 Subject: [PATCH] keep base block version at 2 so we aren't making big changes to network --- src/primitives/pureheader.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/primitives/pureheader.h b/src/primitives/pureheader.h index 692b9988..31ba778f 100644 --- a/src/primitives/pureheader.h +++ b/src/primitives/pureheader.h @@ -20,7 +20,7 @@ enum { enum { // primary version - BLOCK_VERSION_DEFAULT = 4, + BLOCK_VERSION_DEFAULT = 2, // change this in later release for BIP66 (3) and BIP65 (4) softforks // algo BLOCK_VERSION_ALGO = (7 << 9), @@ -194,7 +194,7 @@ class CPureBlockHeader { public: // header - static const int32_t CURRENT_VERSION = 3; + static const int32_t CURRENT_VERSION = BLOCK_VERSION_DEFAULT; CBlockVersion nVersion; uint256 hashPrevBlock; uint256 hashMerkleRoot;