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

Method Cancel2ndProposalTimer

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

Source from the content-addressed store, hash-verified

320}
321
322func (self *EventTimer) Cancel2ndProposalTimer(blockNum uint32) {
323 self.lock.Lock()
324 defer self.lock.Unlock()
325
326 self.cancelEventTimer(EventPropose2ndBlockTimeout, blockNum)
327}
328
329func (self *EventTimer) onBlockSealed(blockNum uint32) {
330 self.lock.Lock()

Callers

nothing calls this directly

Calls 1

cancelEventTimerMethod · 0.95

Tested by

no test coverage detected