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

Function CmpSerializationPubkey

src/test/key_tests.cpp:252–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250}
251
252static void CmpSerializationPubkey(const CPubKey& pubkey)
253{
254 CDataStream stream{SER_NETWORK, INIT_PROTO_VERSION};
255 stream << pubkey;
256 CPubKey pubkey2;
257 stream >> pubkey2;
258 BOOST_CHECK(pubkey == pubkey2);
259}
260
261BOOST_AUTO_TEST_CASE(pubkey_unserialize)
262{

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected