MCPcopy Create free account
hub / github.com/ElementsProject/elements / Serialize

Function Serialize

src/test/sigopcount_tests.cpp:19–24  ·  view source on GitHub ↗

Helpers:

Source from the content-addressed store, hash-verified

17
18// Helpers:
19static std::vector<unsigned char>
20Serialize(const CScript& s)
21{
22 std::vector<unsigned char> sSerialized(s.begin(), s.end());
23 return sSerialized;
24}
25
26BOOST_FIXTURE_TEST_SUITE(sigopcount_tests, BasicTestingSetup)
27

Callers 4

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

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected