mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-15 10:07:41 +02:00
script: add SCRIPT_ERR_SCRIPTNUM error
It will be used for errors related to CScriptNum (e.g. overflow or encoding errors). Currently, we simply return unknown error for these errors.
This commit is contained in:
@@ -14,6 +14,7 @@ typedef enum ScriptError_t
|
||||
SCRIPT_ERR_UNKNOWN_ERROR,
|
||||
SCRIPT_ERR_EVAL_FALSE,
|
||||
SCRIPT_ERR_OP_RETURN,
|
||||
SCRIPT_ERR_SCRIPTNUM,
|
||||
|
||||
/* Max sizes */
|
||||
SCRIPT_ERR_SCRIPT_SIZE,
|
||||
|
||||
Reference in New Issue
Block a user