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

Method Serialization

p2pserver/message/types/transaction.go:36–38  ·  view source on GitHub ↗

Serialize message payload

(sink *comm.ZeroCopySink)

Source from the content-addressed store, hash-verified

34
35//Serialize message payload
36func (this Trn) Serialization(sink *comm.ZeroCopySink) {
37 this.Txn.Serialization(sink)
38}
39
40func (this *Trn) CmdType() string {
41 return common.TX_TYPE

Callers

nothing calls this directly

Calls 1

SerializationMethod · 0.65

Tested by

no test coverage detected