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

Method Clean

validator/increment/increment.go:50–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48}
49
50func (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
58func (self *IncrementValidator) BlockRange() (start uint32, end uint32) {

Callers 8

ReceiveMethod · 0.80
TimeoutMethod · 0.80
stopMethod · 0.80
processProposalMsgMethod · 0.80
validHeightMethod · 0.80
ReceiveMethod · 0.80
makeBlockMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected