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

Function Serialize

src/test/sigopcount_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
29BOOST_FIXTURE_TEST_SUITE(sigopcount_tests, BasicTestingSetup)
30

Callers 5

BOOST_AUTO_TEST_CASEFunction · 0.70
SerializeInputMethod · 0.50
SerializeOutputMethod · 0.50
SerializeMethod · 0.50
WriterStreamClass · 0.50

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected