Documentation ¶
Overview ¶
Package client implements the ICS 02 - Client Semantics specification https://github.com/cosmos/ibc/tree/master/spec/core/ics-002-client-semantics. This concrete implementations defines types and method to store and update light clients which tracks on other chain's state.
The main type is `Client`, which provides `commitment.Root` to verify state proofs and `ConsensusState` to verify header proofs.
Index ¶
- func BeginBlocker(ctx sdk.Context, k keeper.Keeper)
- func ExportGenesis(ctx sdk.Context, k keeper.Keeper) types.GenesisState
- func GetQueryCmd() *cobra.Command
- func GetTxCmd() *cobra.Command
- func InitGenesis(ctx sdk.Context, k keeper.Keeper, gs types.GenesisState)
- func Name() string
- func NewClientProposalHandler(k keeper.Keeper) govtypes.Handler
- func RegisterQueryService(server grpc.Server, queryServer types.QueryServer)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeginBlocker ¶
BeginBlocker updates an existing localhost client with the latest block height.
func ExportGenesis ¶
ExportGenesis returns the ibc client submodule's exported genesis. NOTE: CreateLocalhost should always be false on export since a created localhost will be included in the exported clients.
func GetQueryCmd ¶
GetQueryCmd returns no root query command for the IBC client
func InitGenesis ¶
InitGenesis initializes the ibc client submodule's state from a provided genesis state.
func NewClientProposalHandler ¶
NewClientProposalHandler defines the 02-client proposal handler
func RegisterQueryService ¶
func RegisterQueryService(server grpc.Server, queryServer types.QueryServer)
RegisterQueryService registers the gRPC query service for IBC client.
Types ¶
This section is empty.