mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Implement transaction introspection opcodes
This commit is contained in:
parent
97b53e0b89
commit
9346a8495e
5 changed files with 316 additions and 9 deletions
|
|
@ -119,6 +119,10 @@ std::string ScriptErrorString(const ScriptError serror)
|
|||
return "Invalid Sha256 context object read";
|
||||
case SCRIPT_ERR_SHA2_CONTEXT_WRITE:
|
||||
return "Invalid Sha256 context object write";
|
||||
case SCRIPT_ERR_INTROSPECT_CONTEXT_UNAVAILABLE:
|
||||
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_UNKNOWN_ERROR:
|
||||
case SCRIPT_ERR_ERROR_COUNT:
|
||||
default: break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue