Documentation
¶
Index ¶
- func QueryAllClientStates(clientCtx client.Context, page, limit int) ([]exported.ClientState, int64, error)
- func QueryClientState(clientCtx client.Context, clientID string, prove bool) (types.StateResponse, error)
- func QueryConsensusState(clientCtx client.Context, clientID string, height uint64, prove bool) (types.ConsensusStateResponse, error)
- func QueryNodeConsensusState(clientCtx client.Context) (ibctmtypes.ConsensusState, int64, error)
- func QueryTendermintHeader(clientCtx client.Context) (ibctmtypes.Header, int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryAllClientStates ¶
func QueryAllClientStates(clientCtx client.Context, page, limit int) ([]exported.ClientState, int64, error)
QueryAllClientStates returns all the light client states. It _does not_ return any merkle proof.
func QueryClientState ¶
func QueryClientState( clientCtx client.Context, clientID string, prove bool, ) (types.StateResponse, error)
QueryClientState queries the store to get the light client state and a merkle proof.
func QueryConsensusState ¶
func QueryConsensusState( clientCtx client.Context, clientID string, height uint64, prove bool, ) (types.ConsensusStateResponse, error)
QueryConsensusState queries the store to get the consensus state and a merkle proof.
func QueryNodeConsensusState ¶
func QueryNodeConsensusState(clientCtx client.Context) (ibctmtypes.ConsensusState, int64, error)
QueryNodeConsensusState takes a client context and returns the appropriate tendermint consensus state
func QueryTendermintHeader ¶
QueryTendermintHeader takes a client context and returns the appropriate tendermint header
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.