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

Method CancelEndorseEmptyBlockTimer

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

Source from the content-addressed store, hash-verified

263}
264
265func (self *EventTimer) CancelEndorseEmptyBlockTimer(blockNum uint32) {
266 self.lock.Lock()
267 defer self.lock.Unlock()
268
269 self.cancelEventTimer(EventEndorseEmptyBlockTimeout, blockNum)
270}
271
272func (self *EventTimer) StartCommitTimer(blockNum uint32) error {
273 self.lock.Lock()

Callers 1

processMsgEventMethod · 0.80

Calls 1

cancelEventTimerMethod · 0.95

Tested by

no test coverage detected