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

Function UnserializePubkey

src/test/key_tests.cpp:234–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232}
233
234static CPubKey UnserializePubkey(const std::vector<uint8_t>& data)
235{
236 CDataStream stream{SER_NETWORK, INIT_PROTO_VERSION};
237 stream << data;
238 CPubKey pubkey;
239 stream >> pubkey;
240 return pubkey;
241}
242
243static unsigned int GetLen(unsigned char chHeader)
244{

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected