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

Method GetCurrentBlockNo

consensus/vbft/node_utils.go:36–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34)
35
36func (self *Server) GetCurrentBlockNo() uint32 {
37 return self.currentBlockNum
38}
39
40func (self *Server) GetCommittedBlockNo() uint32 {
41 return self.chainStore.GetChainedBlockNum()

Callers 15

constructHandshakeMsgMethod · 0.95
constructHeartbeatMsgMethod · 0.95
LoadChainConfigMethod · 0.95
initializeMethod · 0.95
startNewRoundMethod · 0.95
onConsensusMsgMethod · 0.95
processMsgEventMethod · 0.95
actionLoopMethod · 0.95
fastForwardBlockMethod · 0.95
sealBlockMethod · 0.95
makeProposalMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected