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

Method Type

consensus/vbft/msg_types.go:56–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54
55type ConsensusMsg interface {
56 Type() MsgType
57 Verify(pub keypair.PublicKey) error
58 GetBlockNum() uint32
59 Serialize() ([]byte, error)

Callers 9

SerializeVbftMsgFunction · 0.65
runMethod · 0.65
onConsensusMsgMethod · 0.65
processMsgEventMethod · 0.65
msgSendLoopMethod · 0.65
requestBlockMethod · 0.65
requestBlockInfoMethod · 0.65
addMsgMethod · 0.65
dropMsgMethod · 0.65

Implementers 11

blockProposalMsgconsensus/vbft/msg_types.go
blockEndorseMsgconsensus/vbft/msg_types.go
blockCommitMsgconsensus/vbft/msg_types.go
peerHandshakeMsgconsensus/vbft/msg_types.go
peerHeartbeatMsgconsensus/vbft/msg_types.go
BlockInfoFetchMsgconsensus/vbft/msg_types.go
BlockInfoFetchRespMsgconsensus/vbft/msg_types.go
blockFetchMsgconsensus/vbft/msg_types.go
BlockFetchRespMsgconsensus/vbft/msg_types.go
proposalFetchMsgconsensus/vbft/msg_types.go
blockSubmitMsgconsensus/vbft/msg_types.go

Calls

no outgoing calls

Tested by

no test coverage detected