Changeset View
Changeset View
Standalone View
Standalone View
src/script/script_error.cpp
Show First 20 Lines • Show All 74 Lines • ▼ Show 20 Lines | switch (serror) { | ||||
return "Locktime requirement not satisfied"; | return "Locktime requirement not satisfied"; | ||||
case ScriptError::SIG_HASHTYPE: | case ScriptError::SIG_HASHTYPE: | ||||
return "Signature hash type missing or not understood"; | return "Signature hash type missing or not understood"; | ||||
case ScriptError::SIG_DER: | case ScriptError::SIG_DER: | ||||
return "Non-canonical DER signature"; | return "Non-canonical DER signature"; | ||||
case ScriptError::MINIMALDATA: | case ScriptError::MINIMALDATA: | ||||
return "Data push larger than necessary"; | return "Data push larger than necessary"; | ||||
case ScriptError::SIG_PUSHONLY: | case ScriptError::SIG_PUSHONLY: | ||||
return "Only push operators allowed in signature scripts"; | return "Only push operators allowed in signatures"; | ||||
case ScriptError::SIG_HIGH_S: | case ScriptError::SIG_HIGH_S: | ||||
return "Non-canonical signature: S value is unnecessarily high"; | return "Non-canonical signature: S value is unnecessarily high"; | ||||
case ScriptError::MINIMALIF: | case ScriptError::MINIMALIF: | ||||
return "OP_IF/NOTIF argument must be minimal"; | return "OP_IF/NOTIF argument must be minimal"; | ||||
case ScriptError::SIG_NULLFAIL: | case ScriptError::SIG_NULLFAIL: | ||||
return "Signature must be zero for failed CHECK(MULTI)SIG " | return "Signature must be zero for failed CHECK(MULTI)SIG " | ||||
"operation"; | "operation"; | ||||
case ScriptError::SIG_BADLENGTH: | case ScriptError::SIG_BADLENGTH: | ||||
Show All 22 Lines |