Versions in this module Expand all Collapse all v0 v0.1.0 Jan 19, 2024 Changes in this version + var ErrSignedHeaderNotFound = errors.New("signed header not found") + var ErrValidatorSetNotFound = errors.New("validator set not found") + type Store interface + DeleteSignedHeaderAndValidatorSet func(height int64) error + FirstSignedHeaderHeight func() (int64, error) + LastSignedHeaderHeight func() (int64, error) + Prune func(size uint16) error + SaveSignedHeaderAndValidatorSet func(sh *types.SignedHeader, valSet *types.ValidatorSet) error + SignedHeader func(height int64) (*types.SignedHeader, error) + SignedHeaderBefore func(height int64) (*types.SignedHeader, error) + Size func() uint16 + ValidatorSet func(height int64) (*types.ValidatorSet, error)