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

Method Serialize

src/undo.h:74–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72
73 template <typename Stream>
74 void Serialize(Stream& s) const {
75 // TODO: avoid reimplementing vector serializer
76 uint64_t count = vprevout.size();
77 ::Serialize(s, COMPACTSIZE(REF(count)));
78 for (const auto& prevout : vprevout) {
79 ::Serialize(s, TxInUndoSerializer(&prevout));
80 }
81 }
82
83 template <typename Stream>
84 void Unserialize(Stream& s) {

Callers

nothing calls this directly

Calls 3

TxInUndoSerializerClass · 0.85
SerializeFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected