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

Function NewIncrementValidator

validator/increment/increment.go:41–48  ·  view source on GitHub ↗
(maxBlocks int)

Source from the content-addressed store, hash-verified

39}
40
41func NewIncrementValidator(maxBlocks int) *IncrementValidator {
42 if maxBlocks <= 0 {
43 maxBlocks = 20
44 }
45 return &IncrementValidator{
46 maxBlocks: maxBlocks,
47 }
48}
49
50func (self *IncrementValidator) Clean() {
51 self.mutex.Lock()

Callers 3

NewDbftServiceFunction · 0.92
NewVbftServerFunction · 0.92
NewSoloServiceFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected