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

Function ScriptFromHex

src/test/script_assets_tests.cpp:39–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39static CScript ScriptFromHex(const std::string& str)
40{
41 return ToScript(*Assert(TryParseHex(str)));
42}
43
44static CMutableTransaction TxFromHex(const std::string& str)
45{

Callers 1

AssetTestFunction · 0.70

Calls 2

TryParseHexFunction · 0.85
ToScriptFunction · 0.70

Tested by

no test coverage detected