Add policy: null signature for failed CHECK(MULTI)SIG

This commit is contained in:
Johnson Lau
2016-09-22 15:06:54 +08:00
committed by Johnson Lau
parent 5a4f6d72e6
commit e41bd449ab
8 changed files with 55 additions and 2 deletions

View File

@@ -65,6 +65,8 @@ const char* ScriptErrorString(const ScriptError serror)
return "Dummy CHECKMULTISIG argument must be zero";
case SCRIPT_ERR_MINIMALIF:
return "OP_IF/NOTIF argument must be minimal";
case SCRIPT_ERR_SIG_NULLFAIL:
return "Signature must be zero for failed CHECK(MULTI)SIG operation";
case SCRIPT_ERR_DISCOURAGE_UPGRADABLE_NOPS:
return "NOPx reserved for soft-fork upgrades";
case SCRIPT_ERR_DISCOURAGE_UPGRADABLE_WITNESS_PROGRAM: