client

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

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 icp 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 ICP client

func InitGenesis

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

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

func Name

func Name() string

Name returns the ICP client name

func NewClientUpdateProposalHandler

func NewClientUpdateProposalHandler(k keeper.Keeper) govtypes.Handler

NewClientUpdateProposalHandler defines the client update proposal handler

func RegisterQueryService

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

RegisterQueryService registers the gRPC query service for ICP client.

Types

This section is empty.

Directories

Path Synopsis
client
cli
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