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

Method GetCommittedBlockNo

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

Source from the content-addressed store, hash-verified

38}
39
40func (self *Server) GetCommittedBlockNo() uint32 {
41 return self.chainStore.GetChainedBlockNum()
42}
43
44func (self *Server) isPeerAlive(peerIdx uint32, blockNum uint32) bool {
45

Callers 13

isPeerActiveMethod · 0.95
LoadChainConfigMethod · 0.95
onConsensusMsgMethod · 0.95
restartSyncingMethod · 0.95
runMethod · 0.80
onPeerUpdateMethod · 0.80
onLiveTickMethod · 0.80
isSyncedReadyMethod · 0.80
checkStartSyncingMethod · 0.80
canFastForwardMethod · 0.80

Calls 1

GetChainedBlockNumMethod · 0.80

Tested by

no test coverage detected