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

Method GetBlockNum

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

Source from the content-addressed store, hash-verified

56 Type() MsgType
57 Verify(pub keypair.PublicKey) error
58 GetBlockNum() uint32
59 Serialize() ([]byte, error)
60}
61

Callers 15

constructEndorseMsgMethod · 0.65
constructCommitMsgMethod · 0.65
runMethod · 0.65
onConsensusMsgMethod · 0.65
processProposalMsgMethod · 0.65
processMsgEventMethod · 0.65
actionLoopMethod · 0.65
endorseBlockMethod · 0.65
commitBlockMethod · 0.65
makeSealedMethod · 0.65
newBlockProposalMethod · 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