mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Implement Streaming SHA256 opcodes
Co-authored-by: roconnor-blockstream <roconnor@blockstream.com>
This commit is contained in:
parent
0b8174b1fe
commit
2df8e99813
8 changed files with 149 additions and 6 deletions
|
|
@ -115,6 +115,10 @@ std::string ScriptErrorString(const ScriptError serror)
|
|||
return "Using OP_CODESEPARATOR in non-witness script";
|
||||
case SCRIPT_ERR_SIG_FINDANDDELETE:
|
||||
return "Signature is found in scriptCode";
|
||||
case SCRIPT_ERR_SHA2_CONTEXT_LOAD:
|
||||
return "Invalid Sha256 context object read";
|
||||
case SCRIPT_ERR_SHA2_CONTEXT_WRITE:
|
||||
return "Invalid Sha256 context object write";
|
||||
case SCRIPT_ERR_UNKNOWN_ERROR:
|
||||
case SCRIPT_ERR_ERROR_COUNT:
|
||||
default: break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue