From 1d554b1d45f6ab5f65adc66ef44a258b92f75663 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Fri, 6 Feb 2015 10:42:01 -0800 Subject: [PATCH] Raise version of created blocks, and enforce DERSIG in mempool --- src/core.h | 2 +- src/script.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core.h b/src/core.h index 6a0286f9d..b020a365e 100644 --- a/src/core.h +++ b/src/core.h @@ -364,7 +364,7 @@ class CBlockHeader { public: // header - static const int CURRENT_VERSION=2; + static const int CURRENT_VERSION=3; int nVersion; uint256 hashPrevBlock; uint256 hashMerkleRoot; diff --git a/src/script.h b/src/script.h index 99724f895..c3bca80cf 100644 --- a/src/script.h +++ b/src/script.h @@ -208,6 +208,7 @@ static const unsigned int MANDATORY_SCRIPT_VERIFY_FLAGS = SCRIPT_VERIFY_P2SH; static const unsigned int STANDARD_SCRIPT_VERIFY_FLAGS = MANDATORY_SCRIPT_VERIFY_FLAGS | SCRIPT_VERIFY_STRICTENC | SCRIPT_VERIFY_NULLDUMMY | + SCRIPT_VERIFY_DERSIG | SCRIPT_VERIFY_LOW_S; // For convenience, standard but not mandatory verify flags.