aboutsummaryrefslogtreecommitdiff
path: root/src/script/standard.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2014-11-19 15:52:50 +0100
committerPieter Wuille <pieter.wuille@gmail.com>2014-11-25 12:38:01 +0100
commitda918ac06e0d064e9584959ab3d241d03500e972 (patch)
tree9ef858aad579c4eae5363e58aacec298afab793a /src/script/standard.h
parentb6e03cc59208305681745ad06f2056ffe6690597 (diff)
Make SCRIPT_VERIFY_CLEANSTACK a standardness requirement
Diffstat (limited to 'src/script/standard.h')
-rw-r--r--src/script/standard.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/script/standard.h b/src/script/standard.h
index c4b82b4c45..ed85816a37 100644
--- a/src/script/standard.h
+++ b/src/script/standard.h
@@ -48,7 +48,8 @@ static const unsigned int STANDARD_SCRIPT_VERIFY_FLAGS = MANDATORY_SCRIPT_VERIFY
SCRIPT_VERIFY_STRICTENC |
SCRIPT_VERIFY_MINIMALDATA |
SCRIPT_VERIFY_NULLDUMMY |
- SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS;
+ SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS |
+ SCRIPT_VERIFY_CLEANSTACK;
/** For convenience, standard but not mandatory verify flags. */
static const unsigned int STANDARD_NOT_MANDATORY_VERIFY_FLAGS = STANDARD_SCRIPT_VERIFY_FLAGS & ~MANDATORY_SCRIPT_VERIFY_FLAGS;