client

package
v0.46.0-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package client implements the ICS 02 - Client Semantics specification https://github.com/cosmos/ics/tree/master/spec/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

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeginBlocker

func BeginBlocker(ctx sdk.Context, k keeper.Keeper)

BeginBlocker updates an existing localhost client with the latest block height.

func ExportGenesis

func ExportGenesis(ctx sdk.Context, k keeper.Keeper) types.GenesisState

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

func GetQueryCmd() *cobra.Command

GetQueryCmd returns no root query command for the IBC client

func GetTxCmd added in v0.46.0

func GetTxCmd() *cobra.Command

GetTxCmd returns the root tx command for 02-client.

func InitGenesis

func InitGenesis(ctx sdk.Context, k keeper.Keeper, gs types.GenesisState)

InitGenesis initializes the ibc client submodule's state from a provided genesis state.

func Name

func Name() string

Name returns the IBC client name

func NewClientProposalHandler added in v0.46.0

func NewClientProposalHandler(k keeper.Keeper) govtypes.Handler

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.

Directories

Path Synopsis
Package types is a reverse proxy.
Package types is a reverse proxy.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL