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

Method Serialize

src/primitives/block.h:29–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27
28 template <typename Stream>
29 inline void Serialize(Stream& s) const {
30 s << *(CScriptBase*)(&challenge);
31 if (!(s.GetType() & SER_GETHASH))
32 s << *(CScriptBase*)(&solution);
33 }
34
35 template <typename Stream>
36 inline void Unserialize(Stream& s) const {

Callers

nothing calls this directly

Calls 1

GetTypeMethod · 0.45

Tested by

no test coverage detected