client

package
v1.6.43 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryABCI

func QueryABCI(clientCtx context.Context, path string, data []byte, prove bool) ([]byte, clienttypes.Height, error)

func QueryTendermint

func QueryTendermint(clientCtx context.Context, key []byte) ([]byte, clienttypes.Height, error)

func QueryTendermintProof

func QueryTendermintProof(clientCtx context.Context, key []byte) ([]byte, []byte, clienttypes.Height, error)

QueryTendermintProof performs an ABCI query with the given key and returns the value of the query, the proto encoded merkle proof, and the height of the Tendermint block containing the state root. The desired tendermint height to perform the query should be set in the client context. The query will be performed at one below this height (at the IAVL version) in order to obtain the correct merkle proof. Proof queries at height less than or equal to 2 are not supported. Queries with a client context height of 0 will perform a query at the lastest state available. Issue: https://github.com/cosmos/cosmos-sdk/issues/6567

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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