diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2014-10-12 18:39:47 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2014-11-25 12:38:01 +0100 |
commit | b6e03cc59208305681745ad06f2056ffe6690597 (patch) | |
tree | 78e701bf890c2302c2249266cfcd124e5b7e554a /src/script/script_error.h | |
parent | ae4151bbad74ab54de818d7704fa4568ee65e40d (diff) |
Add SCRIPT_VERIFY_CLEANSTACK (BIP62 rule 6)
Based on an earlier patch by Peter Todd, though the rules here are different
(P2SH scripts should not have a CLEANSTACK check before the P2SH evaluation).
Diffstat (limited to 'src/script/script_error.h')
-rw-r--r-- | src/script/script_error.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/script_error.h b/src/script/script_error.h index ac1f2deae5..f085b63032 100644 --- a/src/script/script_error.h +++ b/src/script/script_error.h @@ -43,6 +43,7 @@ typedef enum ScriptError_t SCRIPT_ERR_SIG_HIGH_S, SCRIPT_ERR_SIG_NULLDUMMY, SCRIPT_ERR_PUBKEYTYPE, + SCRIPT_ERR_CLEANSTACK, /* softfork safeness */ SCRIPT_ERR_DISCOURAGE_UPGRADABLE_NOPS, |