MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / SerializationOp

Method SerializationOp

src/primitives/block.h:201–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199
200 template <typename Stream, typename Operation>
201 inline void SerializationOp(Stream& s, Operation ser_action) {
202 int nVersion = s.GetVersion();
203 if (!(s.GetType() & SER_GETHASH))
204 READWRITE(nVersion);
205 READWRITE(vHave);
206 }
207
208 void SetNull()
209 {

Callers

nothing calls this directly

Calls 2

GetVersionMethod · 0.45
GetTypeMethod · 0.45

Tested by

no test coverage detected