Documentation ¶
Index ¶
- func ParsePrefix(cdc *codec.Codec, arg string) (commitmenttypes.MerklePrefix, error)
- func ParseProof(cdc *codec.Codec, arg string) (commitmenttypes.MerkleProof, error)
- func QueryAllClientConnectionPaths(cliCtx context.CLIContext, page, limit int) ([]types.ConnectionPaths, int64, error)
- func QueryAllConnections(cliCtx context.CLIContext, page, limit int) ([]types.ConnectionEnd, int64, error)
- func QueryClientConnections(cliCtx context.CLIContext, clientID string, prove bool) (types.ClientConnectionsResponse, error)
- func QueryConnection(cliCtx context.CLIContext, connectionID string, prove bool) (types.ConnectionResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParsePrefix ¶
func ParsePrefix(cdc *codec.Codec, arg string) (commitmenttypes.MerklePrefix, error)
ParsePrefix unmarshals an cmd input argument from a JSON string to a commitment Prefix. If the input is not a JSON, it looks for a path to the JSON file.
func ParseProof ¶
func ParseProof(cdc *codec.Codec, arg string) (commitmenttypes.MerkleProof, error)
ParseProof unmarshals an cmd input argument from a JSON string to a commitment Proof. If the input is not a JSON, it looks for a path to the JSON file.
func QueryAllClientConnectionPaths ¶
func QueryAllClientConnectionPaths(cliCtx context.CLIContext, page, limit int) ([]types.ConnectionPaths, int64, error)
QueryAllClientConnectionPaths returns all the client connections paths. It _does not_ return any merkle proof.
func QueryAllConnections ¶
func QueryAllConnections(cliCtx context.CLIContext, page, limit int) ([]types.ConnectionEnd, int64, error)
QueryAllConnections returns all the connections. It _does not_ return any merkle proof.
func QueryClientConnections ¶
func QueryClientConnections( cliCtx context.CLIContext, clientID string, prove bool, ) (types.ClientConnectionsResponse, error)
QueryClientConnections queries the store to get the registered connection paths registered for a particular client and a merkle proof.
func QueryConnection ¶
func QueryConnection( cliCtx context.CLIContext, connectionID string, prove bool, ) (types.ConnectionResponse, error)
QueryConnection queries the store to get a connection end and a merkle proof.
Types ¶
This section is empty.