MCPcopy
hub / github.com/canopy-network/canopy / MessageI

Interface MessageI

lib/tx.go:69–78  ·  view source on GitHub ↗

MessageI is the model of a message object (send, stake, edit-stake, etc.)

Source from the content-addressed store, hash-verified

67
68// MessageI is the model of a message object (send, stake, edit-stake, etc.)
69type MessageI interface {
70 proto.Message
71
72 New() MessageI // new instance of the message type
73 Name() string // name of the message
74 Check() ErrorI // stateless validation of the message
75 Recipient() []byte // for transaction indexing by recipient
76 json.Marshaler // json encoding
77 json.Unmarshaler // json decoding
78}
79
80// TRANSACTION CODE BELOW
81

Callers 25

UnmarshalJSONMethod · 0.65
TestMessageCacheAddFunction · 0.65
NewMessageCacheFunction · 0.65
NewLoggerFunction · 0.65
HKDFSecretsAndChallengeFunction · 0.65
AddressMethod · 0.65
HasherFunction · 0.65
newClassGroupFunction · 0.65
TimeTrackFunction · 0.65
TestGetFeeForMessageFunction · 0.65
ApplyTransactionMethod · 0.65
CheckFeeMethod · 0.65

Implementers 15

Signaturelib/tx.pb.go
MessageSendfsm/message.pb.go
MessageStakefsm/message.pb.go
MessageEditStakefsm/message.pb.go
MessageUnstakefsm/message.pb.go
MessagePausefsm/message.pb.go
MessageUnpausefsm/message.pb.go
MessageChangeParameterfsm/message.pb.go
MessageDAOTransferfsm/message.pb.go
MessageCertificateResultsfsm/message.pb.go
MessageSubsidyfsm/message.pb.go
MessageCreateOrderfsm/message.pb.go

Calls

no outgoing calls

Tested by

no test coverage detected