Documentation ¶
Index ¶
- func QueryAllClientStates(cliCtx context.CLIContext, page, limit int) ([]exported.ClientState, int64, error)
- func QueryClientState(cliCtx context.CLIContext, clientID string, prove bool) (types.StateResponse, error)
- func QueryConsensusState(cliCtx context.CLIContext, clientID string, height uint64, prove bool) (types.ConsensusStateResponse, error)
- func QueryNodeConsensusState(cliCtx context.CLIContext) (ibctmtypes.ConsensusState, int64, error)
- func QueryTendermintHeader(cliCtx context.CLIContext) (ibctmtypes.Header, int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryAllClientStates ¶
func QueryAllClientStates(cliCtx context.CLIContext, 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( cliCtx context.CLIContext, 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( cliCtx context.CLIContext, 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(cliCtx context.CLIContext) (ibctmtypes.ConsensusState, int64, error)
QueryNodeConsensusState takes a client context and returns the appropriate tendermint consensus state
func QueryTendermintHeader ¶
func QueryTendermintHeader(cliCtx context.CLIContext) (ibctmtypes.Header, int64, error)
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.