MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / ScriptFromHex

Function ScriptFromHex

src/test/fuzz/script_assets_test_minimizer.cpp:49–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

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