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

Method Unserialize

src/primitives/block.h:36–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34
35 template <typename Stream>
36 inline void Unserialize(Stream& s) const {
37 s >> *(CScriptBase*)(&challenge);
38 if (!(s.GetType() & SER_GETHASH))
39 s >> *(CScriptBase*)(&solution);
40 }
41
42 void SetNull()
43 {

Callers

nothing calls this directly

Calls 1

GetTypeMethod · 0.45

Tested by

no test coverage detected