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

Method CancelCommitMsgTimer

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

Source from the content-addressed store, hash-verified

278}
279
280func (self *EventTimer) CancelCommitMsgTimer(blockNum uint32) {
281 self.lock.Lock()
282 defer self.lock.Unlock()
283
284 self.cancelEventTimer(EventCommitBlockTimeout, blockNum)
285}
286
287func (self *EventTimer) StartProposalBackoffTimer(blockNum uint32) error {
288 self.lock.Lock()

Callers 1

processMsgEventMethod · 0.80

Calls 1

cancelEventTimerMethod · 0.95

Tested by

no test coverage detected