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

Method StartCommitTimer

consensus/vbft/event_timer.go:272–278  ·  view source on GitHub ↗
(blockNum uint32)

Source from the content-addressed store, hash-verified

270}
271
272func (self *EventTimer) StartCommitTimer(blockNum uint32) error {
273 self.lock.Lock()
274 defer self.lock.Unlock()
275
276 log.Infof("server %d started commit timer for blk %d", self.server.Index, blockNum)
277 return self.startEventTimer(EventCommitBlockTimeout, blockNum)
278}
279
280func (self *EventTimer) CancelCommitMsgTimer(blockNum uint32) {
281 self.lock.Lock()

Callers 3

processMsgEventMethod · 0.80
actionLoopMethod · 0.80
commitBlockMethod · 0.80

Calls 2

startEventTimerMethod · 0.95
InfofFunction · 0.92

Tested by

no test coverage detected