keep base block version at 2 so we aren't making big changes to network

This commit is contained in:
nzsquirrell
2016-03-15 19:14:31 +13:00
parent 061bf5568b
commit cfe617ec1d
+2 -2
View File
@@ -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;