Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
36
func
(self *Server) GetCurrentBlockNo() uint32 {
37
return
self.currentBlockNum
38
}
39
40
func
(self *Server) GetCommittedBlockNo() uint32 {
41
return
self.chainStore.GetChainedBlockNum()
Callers
15
constructHandshakeMsg
Method · 0.95
constructHeartbeatMsg
Method · 0.95
LoadChainConfig
Method · 0.95
initialize
Method · 0.95
updateParticipantConfig
Method · 0.95
startNewRound
Method · 0.95
onConsensusMsg
Method · 0.95
processMsgEvent
Method · 0.95
actionLoop
Method · 0.95
fastForwardBlock
Method · 0.95
sealBlock
Method · 0.95
makeProposal
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected