Skip to content

Commit

Permalink
DIP-0020: improve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlaigna committed Dec 7, 2020
1 parent a218339 commit ee355dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/script/interpreter.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ enum
//
SCRIPT_VERIFY_NULLFAIL = (1U << 14),

// Enable the opcodes listed in DIP0020 (CAT, SPLIT, etc).
// Enable the opcodes listed in DIP0020 (OP_CAT, OP_AND, OP_OR, OP_XOR, OP_DIV, OP_MOD, OP_SPLIT, OP_BIN2NUM, OP_NUM2BIN, OP_CHECKDATASIG, OP_CHECKDATASIGVERIFY).
SCRIPT_ENABLE_DIP0020_OPCODES = (1U << 15),
};

Expand Down
2 changes: 2 additions & 0 deletions src/script/script_error.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ typedef enum ScriptError_t
SCRIPT_ERR_INVALID_STACK_OPERATION,
SCRIPT_ERR_INVALID_ALTSTACK_OPERATION,
SCRIPT_ERR_UNBALANCED_CONDITIONAL,

/* Operands checks */
SCRIPT_ERR_INVALID_SPLIT_RANGE,

/* CHECKLOCKTIMEVERIFY and CHECKSEQUENCEVERIFY */
Expand Down

0 comments on commit ee355dc

Please sign in to comment.