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

e41bd449ab
This commit is contained in:
lateminer
2018-01-13 13:26:20 +03:00
parent bba401c693
commit 1506d6b0ae
5 changed files with 21 additions and 1 deletions

View File

@@ -63,6 +63,8 @@ const char* ScriptErrorString(const ScriptError serror)
return "Non-canonical signature: S value is unnecessarily high";
case SCRIPT_ERR_SIG_NULLDUMMY:
return "Dummy CHECKMULTISIG argument must be zero";
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_PUBKEYTYPE: