Changeset View
Changeset View
Standalone View
Standalone View
src/script/script_error.cpp
Show All 28 Lines | switch (serror) { | ||||
case SCRIPT_ERR_OP_COUNT: | case SCRIPT_ERR_OP_COUNT: | ||||
return "Operation limit exceeded"; | return "Operation limit exceeded"; | ||||
case SCRIPT_ERR_STACK_SIZE: | case SCRIPT_ERR_STACK_SIZE: | ||||
return "Stack size limit exceeded"; | return "Stack size limit exceeded"; | ||||
case SCRIPT_ERR_SIG_COUNT: | case SCRIPT_ERR_SIG_COUNT: | ||||
return "Signature count negative or greater than pubkey count"; | return "Signature count negative or greater than pubkey count"; | ||||
case SCRIPT_ERR_PUBKEY_COUNT: | case SCRIPT_ERR_PUBKEY_COUNT: | ||||
return "Pubkey count negative or limit exceeded"; | return "Pubkey count negative or limit exceeded"; | ||||
case SCRIPT_ERR_INVALID_OPERAND_SIZE: | |||||
return "Invalid operand size"; | |||||
case SCRIPT_ERR_BAD_OPCODE: | case SCRIPT_ERR_BAD_OPCODE: | ||||
return "Opcode missing or not understood"; | return "Opcode missing or not understood"; | ||||
case SCRIPT_ERR_DISABLED_OPCODE: | case SCRIPT_ERR_DISABLED_OPCODE: | ||||
return "Attempted to use a disabled opcode"; | return "Attempted to use a disabled opcode"; | ||||
case SCRIPT_ERR_INVALID_STACK_OPERATION: | case SCRIPT_ERR_INVALID_STACK_OPERATION: | ||||
return "Operation not valid with the current stack size"; | return "Operation not valid with the current stack size"; | ||||
case SCRIPT_ERR_INVALID_ALTSTACK_OPERATION: | case SCRIPT_ERR_INVALID_ALTSTACK_OPERATION: | ||||
return "Operation not valid with the current altstack size"; | return "Operation not valid with the current altstack size"; | ||||
▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines |