MCPcopy Create free account
hub / github.com/DNAProject/DNA / Serialization

Method Serialization

p2pserver/message/types/consensus.go:34–36  ·  view source on GitHub ↗

Serialize message payload

(sink *comm.ZeroCopySink)

Source from the content-addressed store, hash-verified

32
33//Serialize message payload
34func (this *Consensus) Serialization(sink *comm.ZeroCopySink) {
35 this.Cons.Serialization(sink)
36}
37
38func (this *Consensus) CmdType() string {
39 return common.CONSENSUS_TYPE

Callers

nothing calls this directly

Calls 1

SerializationMethod · 0.65

Tested by

no test coverage detected