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

Function Serialize

src/test/script_p2sh_tests.cpp:22–27  ·  view source on GitHub ↗

Helpers:

Source from the content-addressed store, hash-verified

20
21// Helpers:
22static std::vector<unsigned char>
23Serialize(const CScript& s)
24{
25 std::vector<unsigned char> sSerialized(s.begin(), s.end());
26 return sSerialized;
27}
28
29static bool
30Verify(const CScript& scriptSig, const CScript& scriptPubKey, bool fStrict, ScriptError& err)

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.70

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected