Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Macros | Enumerations | Functions
script_error.h File Reference
#include <string>
Include dependency graph for script_error.h:
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 class  ScriptError {
  OK = 0 , 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
}
 

Functions

std::string ScriptErrorString (const ScriptError error)
 

Macro Definition Documentation

◆ SCRIPT_ERR_LAST

#define SCRIPT_ERR_LAST   ScriptError::ERROR_COUNT

Definition at line 88 of file script_error.h.

Enumeration Type Documentation

◆ ScriptError

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 11 of file script_error.h.

Function Documentation

◆ ScriptErrorString()

std::string ScriptErrorString ( const ScriptError  error)

Definition at line 10 of file script_error.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: