Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { // Validators returns the cometBFT validators at the given height or false if not // available (probably due to snapshot sync after height). Validators(ctx context.Context, height int64) (*cmttypes.ValidatorSet, bool, error) // IsValidator returns true if the given address is a validator at the latest height. // It is best-effort, so returns false on any error. IsValidator(ctx context.Context, valAddress common.Address) bool }
Click to show internal directories.
Click to hide internal directories.