Documentation ¶
Index ¶
- func ErrCommitNotFound() error
- func ErrHeightMismatch(h1, h2 int64) error
- func ErrNoPathFound() error
- func ErrPastTime() error
- func ErrTooMuchChange() error
- func ErrValidatorsChanged() error
- func IsCommitNotFoundErr(err error) bool
- func IsHeightMismatchErr(err error) bool
- func IsNoPathFoundErr(err error) bool
- func IsPastTimeErr(err error) bool
- func IsTooMuchChangeErr(err error) bool
- func IsValidatorsChangedErr(err error) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrCommitNotFound ¶
func ErrCommitNotFound() error
ErrCommitNotFound indicates that a the requested commit was not found.
func ErrHeightMismatch ¶
ErrHeightMismatch returns an mismatch error with stack-trace
func ErrTooMuchChange ¶
func ErrTooMuchChange() error
ErrTooMuchChange indicates that the underlying validator set was changed by >1/3.
func ErrValidatorsChanged ¶
func ErrValidatorsChanged() error
ErrValidatorsChanged indicates that the validator set was changed between two commits.
func IsCommitNotFoundErr ¶
IsCommitNotFoundErr checks whether an error is due to missing data
func IsHeightMismatchErr ¶
IsHeightMismatchErr checks whether an error is due to data from different blocks
func IsNoPathFoundErr ¶
IsNoPathFoundErr checks whether an error is due to no path of validators in provider from where we are to where we want to be
func IsTooMuchChangeErr ¶
IsTooMuchChangeErr checks whether an error is due to too much change between these validators sets.
func IsValidatorsChangedErr ¶
IsValidatorsChangedErr checks whether an error is due to a differing validator set.
Types ¶
This section is empty.