Documentation ¶
Index ¶
- func QueryClientState(clientCtx clictx.CLIContext, clientID string, prove bool) (*types.QueryClientStateResponse, error)
- func QueryClientStateABCI(clientCtx clictx.CLIContext, clientID string) (*types.QueryClientStateResponse, error)
- func QueryConsensusState(clientCtx clictx.CLIContext, clientID string, height exported.Height, ...) (*types.QueryConsensusStateResponse, error)
- func QueryConsensusStateABCI(clientCtx clictx.CLIContext, clientID string, height exported.Height) (*types.QueryConsensusStateResponse, error)
- func QueryNodeConsensusState(clientCtx clictx.CLIContext) (*ibctmtypes.ConsensusState, int64, error)
- func QuerySelfConsensusState(clientCtx clictx.CLIContext) (*ibctmtypes.ConsensusState, int64, error)
- func QueryTendermintHeader(clientCtx clictx.CLIContext) (ibctmtypes.Header, int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryClientState ¶
func QueryClientState( clientCtx clictx.CLIContext, clientID string, prove bool, ) (*types.QueryClientStateResponse, error)
QueryClientState returns a client state. If prove is true, it performs an ABCI store query in order to retrieve the merkle proof. Otherwise, it uses the gRPC query client.
func QueryClientStateABCI ¶
func QueryClientStateABCI( clientCtx clictx.CLIContext, clientID string, ) (*types.QueryClientStateResponse, error)
QueryClientStateABCI queries the store to get the light client state and a merkle proof.
func QueryConsensusState ¶
func QueryConsensusState( clientCtx clictx.CLIContext, clientID string, height exported.Height, prove, latestHeight bool, ) (*types.QueryConsensusStateResponse, error)
QueryConsensusState returns a consensus state. If prove is true, it performs an ABCI store query in order to retrieve the merkle proof. Otherwise, it uses the gRPC query client.
func QueryConsensusStateABCI ¶
func QueryConsensusStateABCI( clientCtx clictx.CLIContext, clientID string, height exported.Height, ) (*types.QueryConsensusStateResponse, error)
QueryConsensusStateABCI queries the store to get the consensus state of a light client and a merkle proof of its existence or non-existence.
func QueryNodeConsensusState ¶
func QueryNodeConsensusState(clientCtx clictx.CLIContext) (*ibctmtypes.ConsensusState, int64, error)
QueryNodeConsensusState takes a client context and returns the appropriate tendermint consensus state
func QuerySelfConsensusState ¶
func QuerySelfConsensusState(clientCtx clictx.CLIContext) (*ibctmtypes.ConsensusState, int64, error)
QuerySelfConsensusState takes a client context and returns the appropriate tendermint consensus state
func QueryTendermintHeader ¶
func QueryTendermintHeader(clientCtx clictx.CLIContext) (ibctmtypes.Header, int64, error)
QueryTendermintHeader takes a client context and returns the appropriate tendermint header
Types ¶
This section is empty.