MCPcopy Create free account
hub / github.com/ElementsProject/elements / ScriptFromHex

Function ScriptFromHex

src/test/fuzz/script_assets_test_minimizer.cpp:47–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47CScript ScriptFromHex(const std::string& str)
48{
49 std::vector<unsigned char> data = CheckedParseHex(str);
50 return CScript(data.begin(), data.end());
51}
52
53CMutableTransaction TxFromHex(const std::string& str)
54{

Callers 1

TestFunction · 0.70

Calls 4

CheckedParseHexFunction · 0.85
CScriptClass · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected