Changeset View
Changeset View
Standalone View
Standalone View
src/script/script_error.cpp
Show All 30 Lines | switch (serror) { | ||||
case ScriptError::OP_COUNT: | case ScriptError::OP_COUNT: | ||||
return "Operation limit exceeded"; | return "Operation limit exceeded"; | ||||
case ScriptError::STACK_SIZE: | case ScriptError::STACK_SIZE: | ||||
return "Stack size limit exceeded"; | return "Stack size limit exceeded"; | ||||
case ScriptError::SIG_COUNT: | case ScriptError::SIG_COUNT: | ||||
return "Signature count negative or greater than pubkey count"; | return "Signature count negative or greater than pubkey count"; | ||||
case ScriptError::PUBKEY_COUNT: | case ScriptError::PUBKEY_COUNT: | ||||
return "Pubkey count negative or limit exceeded"; | return "Pubkey count negative or limit exceeded"; | ||||
case ScriptError::INPUT_SIGCHECKS: | |||||
return "Input SigChecks limit exceeded"; | |||||
case ScriptError::INVALID_OPERAND_SIZE: | case ScriptError::INVALID_OPERAND_SIZE: | ||||
return "Invalid operand size"; | return "Invalid operand size"; | ||||
case ScriptError::INVALID_NUMBER_RANGE: | case ScriptError::INVALID_NUMBER_RANGE: | ||||
return "Given operand is not a number within the valid range " | return "Given operand is not a number within the valid range " | ||||
"[-2^31...2^31]"; | "[-2^31...2^31]"; | ||||
case ScriptError::IMPOSSIBLE_ENCODING: | case ScriptError::IMPOSSIBLE_ENCODING: | ||||
return "The requested encoding is impossible to satisfy"; | return "The requested encoding is impossible to satisfy"; | ||||
case ScriptError::INVALID_SPLIT_RANGE: | case ScriptError::INVALID_SPLIT_RANGE: | ||||
▲ Show 20 Lines • Show All 65 Lines • Show Last 20 Lines |