Changeset View
Changeset View
Standalone View
Standalone View
src/script/script_error.h
Show First 20 Lines • Show All 74 Lines • ▼ Show 20 Lines | enum class ScriptError { | ||||
/* misc */ | /* misc */ | ||||
NONCOMPRESSED_PUBKEY, | NONCOMPRESSED_PUBKEY, | ||||
/* anti replay */ | /* anti replay */ | ||||
ILLEGAL_FORKID, | ILLEGAL_FORKID, | ||||
MUST_USE_FORKID, | MUST_USE_FORKID, | ||||
/* Auxiliary errors (unused by interpreter) */ | |||||
SIGCHECKS_LIMIT_EXCEEDED, | |||||
ERROR_COUNT, | ERROR_COUNT, | ||||
}; | }; | ||||
#define SCRIPT_ERR_LAST ScriptError::ERROR_COUNT | #define SCRIPT_ERR_LAST ScriptError::ERROR_COUNT | ||||
const char *ScriptErrorString(const ScriptError error); | const char *ScriptErrorString(const ScriptError error); | ||||
namespace { | namespace { | ||||
Show All 18 Lines |