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

Function Serialize

src/test/script_P2SH_tests.cpp:25–30  ·  view source on GitHub ↗

Helpers:

Source from the content-addressed store, hash-verified

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

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected