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

Function ScriptFromHex

src/test/script_tests.cpp:3049–3052  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3047}
3048
3049static CScript ScriptFromHex(const char *hex) {
3050 std::vector<uint8_t> data = ParseHex(hex);
3051 return CScript(data.begin(), data.end());
3052}
3053
3054BOOST_AUTO_TEST_CASE(script_FindAndDelete) {
3055 // Exercise the FindAndDelete functionality

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 4

ParseHexFunction · 0.85
CScriptClass · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected