()
| 48 | } |
| 49 | |
| 50 | func (self *IncrementValidator) Clean() { |
| 51 | self.mutex.Lock() |
| 52 | self.blocks = nil |
| 53 | self.baseHeight = 0 |
| 54 | self.mutex.Unlock() |
| 55 | } |
| 56 | |
| 57 | // BlockRange returns the block range [start, end) this validator can check |
| 58 | func (self *IncrementValidator) BlockRange() (start uint32, end uint32) { |
no outgoing calls
no test coverage detected