Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
40
func
(self *Server) GetCommittedBlockNo() uint32 {
41
return
self.chainStore.GetChainedBlockNum()
42
}
43
44
func
(self *Server) isPeerAlive(peerIdx uint32, blockNum uint32) bool {
45
Callers
13
isPeerActive
Method · 0.95
handleBlockPersistCompleted
Method · 0.95
LoadChainConfig
Method · 0.95
onConsensusMsg
Method · 0.95
restartSyncing
Method · 0.95
run
Method · 0.80
onPeerUpdate
Method · 0.80
onLiveTick
Method · 0.80
isSyncedReady
Method · 0.80
checkStartSyncing
Method · 0.80
getConsensusedCommittedBlockNum
Method · 0.80
canFastForward
Method · 0.80
Calls
1
GetChainedBlockNum
Method · 0.80
Tested by
no test coverage detected