MCPcopy Create free account
hub / github.com/Bitcoin-ABC/bitcoin-abc / GetScriptError

Method GetScriptError

src/script/interpreter.h:196–196  ·  view source on GitHub ↗

Current error of the Script. During execution, this will be UNKNOWN, upon successful execution it will be OK, and if RunNextOp returns false, this will be the error of the Script.

Source from the content-addressed store, hash-verified

194 // upon successful execution it will be OK, and if RunNextOp returns false,
195 // this will be the error of the Script.
196 ScriptError GetScriptError() { return script_error; }
197
198 // Get the stack of the interpreter
199 const std::vector<std::vector<uint8_t>> &GetStack() const { return stack; }

Callers 3

EvalScriptFunction · 0.80
RunScriptMethod · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80

Calls

no outgoing calls

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64