connection

package
v9.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package connection implements the ICS 03 - Connection Semantics specification (https://github.com/cosmos/ibc/tree/main/spec/core/ics-003-connection-semantics). This concrete implementation defines types and methods for safely creating two stateful objects (connection ends) on two separate chains, each associated with a light client of the other chain, which together facilitate cross-chain sub-state verification and packet association (through channels).

The main type is ConnectionEnd, which defines a stateful object on a chain connected to another.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExportGenesis

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

ExportGenesis returns the ibc connection submodule's exported genesis.

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the root query command for the IBC connections.

func InitGenesis

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

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

func Name

func Name() string

Name returns the IBC connection ICS name.

func RegisterQueryService

func RegisterQueryService(server grpc.Server, queryServer types.QueryServer)

RegisterQueryService registers the gRPC query service for IBC connections.

Types

This section is empty.

Directories

Path Synopsis
client
cli
migrations
v7
NOTE: Usage of x/params to manage parameters is deprecated in favor of x/gov controlled execution of MsgUpdateParams messages.
NOTE: Usage of x/params to manage parameters is deprecated in favor of x/gov controlled execution of MsgUpdateParams messages.

Jump to

Keyboard shortcuts

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