Bitcoin ABC  0.22.13
P2P Digital Currency
Macros | Enumerations | Functions
script_error.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SCRIPT_ERR_LAST   ScriptError::ERROR_COUNT
 

Enumerations

enum  ScriptError {
  ScriptError::OK = 0, ScriptError::UNKNOWN, ScriptError::EVAL_FALSE, ScriptError::OP_RETURN,
  ScriptError::SCRIPT_SIZE, ScriptError::PUSH_SIZE, ScriptError::OP_COUNT, ScriptError::STACK_SIZE,
  ScriptError::SIG_COUNT, ScriptError::PUBKEY_COUNT, ScriptError::INPUT_SIGCHECKS, ScriptError::INVALID_OPERAND_SIZE,
  ScriptError::INVALID_NUMBER_RANGE, ScriptError::IMPOSSIBLE_ENCODING, ScriptError::INVALID_SPLIT_RANGE, ScriptError::INVALID_BIT_COUNT,
  ScriptError::VERIFY, ScriptError::EQUALVERIFY, ScriptError::CHECKMULTISIGVERIFY, ScriptError::CHECKSIGVERIFY,
  ScriptError::CHECKDATASIGVERIFY, ScriptError::NUMEQUALVERIFY, ScriptError::BAD_OPCODE, ScriptError::DISABLED_OPCODE,
  ScriptError::INVALID_STACK_OPERATION, ScriptError::INVALID_ALTSTACK_OPERATION, ScriptError::UNBALANCED_CONDITIONAL, ScriptError::DIV_BY_ZERO,
  ScriptError::MOD_BY_ZERO, ScriptError::INVALID_BITFIELD_SIZE, ScriptError::INVALID_BIT_RANGE, ScriptError::NEGATIVE_LOCKTIME,
  ScriptError::UNSATISFIED_LOCKTIME, ScriptError::SIG_HASHTYPE, ScriptError::SIG_DER, ScriptError::MINIMALDATA,
  ScriptError::SIG_PUSHONLY, ScriptError::SIG_HIGH_S, ScriptError::PUBKEYTYPE, ScriptError::CLEANSTACK,
  ScriptError::MINIMALIF, ScriptError::SIG_NULLFAIL, ScriptError::SIG_BADLENGTH, ScriptError::SIG_NONSCHNORR,
  ScriptError::DISCOURAGE_UPGRADABLE_NOPS, ScriptError::ILLEGAL_FORKID, ScriptError::MUST_USE_FORKID, ScriptError::SIGCHECKS_LIMIT_EXCEEDED,
  ScriptError::ERROR_COUNT
}
 

Functions

const char * ScriptErrorString (const ScriptError error)
 

Macro Definition Documentation

◆ SCRIPT_ERR_LAST

#define SCRIPT_ERR_LAST   ScriptError::ERROR_COUNT

Definition at line 86 of file script_error.h.

Enumeration Type Documentation

◆ ScriptError

enum ScriptError
strong
Enumerator
OK 
UNKNOWN 
EVAL_FALSE 
OP_RETURN 
SCRIPT_SIZE 
PUSH_SIZE 
OP_COUNT 
STACK_SIZE 
SIG_COUNT 
PUBKEY_COUNT 
INPUT_SIGCHECKS 
INVALID_OPERAND_SIZE 
INVALID_NUMBER_RANGE 
IMPOSSIBLE_ENCODING 
INVALID_SPLIT_RANGE 
INVALID_BIT_COUNT 
VERIFY 
EQUALVERIFY 
CHECKMULTISIGVERIFY 
CHECKSIGVERIFY 
CHECKDATASIGVERIFY 
NUMEQUALVERIFY 
BAD_OPCODE 
DISABLED_OPCODE 
INVALID_STACK_OPERATION 
INVALID_ALTSTACK_OPERATION 
UNBALANCED_CONDITIONAL 
DIV_BY_ZERO 
MOD_BY_ZERO 
INVALID_BITFIELD_SIZE 
INVALID_BIT_RANGE 
NEGATIVE_LOCKTIME 
UNSATISFIED_LOCKTIME 
SIG_HASHTYPE 
SIG_DER 
MINIMALDATA 
SIG_PUSHONLY 
SIG_HIGH_S 
PUBKEYTYPE 
CLEANSTACK 
MINIMALIF 
SIG_NULLFAIL 
SIG_BADLENGTH 
SIG_NONSCHNORR 
DISCOURAGE_UPGRADABLE_NOPS 
ILLEGAL_FORKID 
MUST_USE_FORKID 
SIGCHECKS_LIMIT_EXCEEDED 
ERROR_COUNT 

Definition at line 9 of file script_error.h.

Function Documentation

◆ ScriptErrorString()

const char* ScriptErrorString ( const ScriptError  error)

Definition at line 8 of file script_error.cpp.

Here is the caller graph for this function: