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

Method CancelBackoffTimer

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

Source from the content-addressed store, hash-verified

306}
307
308func (self *EventTimer) CancelBackoffTimer(blockNum uint32) {
309 self.lock.Lock()
310 defer self.lock.Unlock()
311
312 self.cancelEventTimer(EventRandomBackoff, blockNum)
313}
314
315func (self *EventTimer) Start2ndProposalTimer(blockNum uint32) error {
316 self.lock.Lock()

Callers

nothing calls this directly

Calls 1

cancelEventTimerMethod · 0.95

Tested by

no test coverage detected