Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IncrementValidator ¶
type IncrementValidator struct {
// contains filtered or unexported fields
}
func NewIncrementValidator ¶
func NewIncrementValidator(maxBlocks int) *IncrementValidator
func (*IncrementValidator) AddBlock ¶
func (self *IncrementValidator) AddBlock(block *types.Block)
func (*IncrementValidator) BlockRange ¶
func (self *IncrementValidator) BlockRange() (start uint32, end uint32)
contain block in range [start, end)
func (*IncrementValidator) Clean ¶
func (self *IncrementValidator) Clean()
func (*IncrementValidator) Verify ¶
func (self *IncrementValidator) Verify(tx *types.Transaction, startHeight uint32) error
Click to show internal directories.
Click to hide internal directories.