Documentation ¶
Index ¶
Constants ¶
View Source
const ( CodeMin uint8 = iota + 1 // consensus CodeBlockProposal CodeBlockVote // protocol state sync CodeSyncRequest CodeSyncResponse CodeRangeRequest CodeBatchRequest CodeBlockResponse // cluster consensus CodeClusterBlockProposal CodeClusterBlockVote CodeClusterBlockResponse // collections, guarantees & transactions CodeCollectionGuarantee CodeTransaction CodeTransactionBody // core messages for execution & verification CodeExecutionReceipt CodeResultApproval // execution state synchronization CodeExecutionStateSyncRequest CodeExecutionStateDelta // data exchange for execution of blocks CodeChunkDataRequest CodeChunkDataResponse // result approvals CodeApprovalRequest CodeApprovalResponse // generic entity exchange engines CodeEntityRequest CodeEntityResponse // testing CodeEcho // DKG CodeDKGMessage CodeMax )
Variables ¶
This section is empty.
Functions ¶
func InterfaceFromMessageCode ¶
InterfaceFromMessageCode returns an interface with the correct underlying go type of the message code represents.
func MessageCodeFromInterface ¶
MessageCodeFromInterface returns the correct Code based on the underlying type of message v.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.