Make non-minimal OP_IF/NOTIF argument non-standard for P2WSH

Github-Pull: #8526
Rebased-From: c72c5b1e3b
This commit is contained in:
Johnson Lau
2016-09-23 13:06:45 +08:00
committed by Wladimir J. van der Laan
parent 633c4a1f36
commit 0027672c80
8 changed files with 101 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ typedef enum ScriptError_t
SCRIPT_ERR_NEGATIVE_LOCKTIME,
SCRIPT_ERR_UNSATISFIED_LOCKTIME,
/* BIP62 */
/* Malleability */
SCRIPT_ERR_SIG_HASHTYPE,
SCRIPT_ERR_SIG_DER,
SCRIPT_ERR_MINIMALDATA,
@@ -48,6 +48,7 @@ typedef enum ScriptError_t
SCRIPT_ERR_SIG_NULLDUMMY,
SCRIPT_ERR_PUBKEYTYPE,
SCRIPT_ERR_CLEANSTACK,
SCRIPT_ERR_MINIMALIF,
/* softfork safeness */
SCRIPT_ERR_DISCOURAGE_UPGRADABLE_NOPS,