MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / FormatScriptError

Function FormatScriptError

src/test/script_tests.cpp:105–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103};
104
105static const char *FormatScriptError(ScriptError_t err)
106{
107 for (unsigned int i=0; i<ARRAYLEN(script_errors); ++i)
108 if (script_errors[i].err == err)
109 return script_errors[i].name;
110 BOOST_ERROR("Unknown scripterror enumeration value, update script_errors in script_tests.cpp.");
111 return "";
112}
113
114static ScriptError_t ParseScriptError(const std::string &name)
115{

Callers 2

DoTestFunction · 0.85
GetJSONMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected