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

Method StartEndorsingTimer

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

Source from the content-addressed store, hash-verified

240}
241
242func (self *EventTimer) StartEndorsingTimer(blockNum uint32) error {
243 self.lock.Lock()
244 defer self.lock.Unlock()
245
246 log.Infof("server %d started endorsing timer for blk %d", self.server.Index, blockNum)
247 return self.startEventTimer(EventEndorseBlockTimeout, blockNum)
248}
249
250func (self *EventTimer) CancelEndorseMsgTimer(blockNum uint32) {
251 self.lock.Lock()

Callers 3

actionLoopMethod · 0.80
processTimerEventMethod · 0.80
endorseBlockMethod · 0.80

Calls 2

startEventTimerMethod · 0.95
InfofFunction · 0.92

Tested by

no test coverage detected