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

Method blockRange

validator/increment/increment.go:64–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62}
63
64func (self *IncrementValidator) blockRange() (start uint32, end uint32) {
65 return self.baseHeight, self.baseHeight + uint32(len(self.blocks))
66}
67
68// AddBlock add a new block to this validator
69func (self *IncrementValidator) AddBlock(block *types.Block) {

Callers 2

BlockRangeMethod · 0.95
AddBlockMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected