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

Function EvalScript

src/script/interpreter.cpp:1372–1379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1370}
1371
1372bool EvalScript(std::vector<valtype> &stack, const CScript &script,
1373 uint32_t flags, const BaseSignatureChecker &checker,
1374 ScriptExecutionMetrics &metrics, ScriptError *serror) {
1375 ScriptInterpreter interpreter(stack, script, flags, checker, metrics);
1376 bool result = interpreter.RunUntilEnd();
1377 set_error(serror, interpreter.GetScriptError());
1378 return result;
1379}
1380
1381namespace {
1382

Callers 1

VerifyScriptFunction · 0.70

Calls 3

RunUntilEndMethod · 0.80
GetScriptErrorMethod · 0.80
set_errorFunction · 0.70

Tested by

no test coverage detected