(blockNum uint32)
| 225 | } |
| 226 | |
| 227 | func (self *EventTimer) StartProposalTimer(blockNum uint32) error { |
| 228 | self.lock.Lock() |
| 229 | defer self.lock.Unlock() |
| 230 | |
| 231 | log.Infof("server %d started proposal timer for blk %d", self.server.Index, blockNum) |
| 232 | return self.startEventTimer(EventProposeBlockTimeout, blockNum) |
| 233 | } |
| 234 | |
| 235 | func (self *EventTimer) CancelProposalTimer(blockNum uint32) { |
| 236 | self.lock.Lock() |
no test coverage detected