mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Implement arithmetic opcodes
This commit is contained in:
parent
6092d94c1d
commit
4b9032209a
5 changed files with 208 additions and 2 deletions
|
|
@ -123,6 +123,10 @@ std::string ScriptErrorString(const ScriptError serror)
|
|||
return "Introspection opcode used without correct evaluation context";
|
||||
case SCRIPT_ERR_INTROSPECT_INDEX_OUT_OF_BOUNDS:
|
||||
return "Introspection index out of bounds";
|
||||
case SCRIPT_ERR_EXPECTED_8BYTES:
|
||||
return "Arithmetic opcodes expect 8 bytes operands";
|
||||
case SCRIPT_ERR_ARITHMETIC64:
|
||||
return "Arithmetic opcode error";
|
||||
case SCRIPT_ERR_UNKNOWN_ERROR:
|
||||
case SCRIPT_ERR_ERROR_COUNT:
|
||||
default: break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue