commands

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagFromChain = "from"
	FlagToChain   = "to"
	FlagSequence  = "sequence"
)

nolint

View Source
const (
	FlagSeed   = "seed"
	FlagPacket = "packet"
)

nolint

Variables

View Source
var ChainQueryCmd = &cobra.Command{
	Use:   "chain [id]",
	Short: "Get details on one registered chain",
	RunE:  commands.RequireInit(chainQueryCmd),
}

ChainQueryCmd - get details on one registered chain

View Source
var ChainsQueryCmd = &cobra.Command{
	Use:   "chains",
	Short: "Get a list of all registered chains",
	RunE:  commands.RequireInit(chainsQueryCmd),
}

ChainsQueryCmd - get a list of all registered chains

View Source
var IBCQueryCmd = &cobra.Command{
	Use:   "ibc",
	Short: "Get information about IBC",
	RunE:  commands.RequireInit(ibcQueryCmd),
}

IBCQueryCmd - parent command to query ibc info

View Source
var PacketQueryCmd = &cobra.Command{
	Use:   "packet",
	Short: "Get packet with given sequence from the named queue",
	RunE:  commands.RequireInit(packetQueryCmd),
}

PacketQueryCmd - get the names packet (by queue and sequence)

View Source
var PacketsQueryCmd = &cobra.Command{
	Use:   "packets",
	Short: "Get latest packet in a queue",
	RunE:  commands.RequireInit(packetsQueryCmd),
}

PacketsQueryCmd - get latest packet in a queue

View Source
var PostPacketTxCmd = &cobra.Command{
	Use:   "ibc-post",
	Short: "Post an ibc packet on the destination chain",
	RunE:  commands.RequireInit(postPacketTxCmd),
}

PostPacketTxCmd is CLI command to post ibc packet on the destination chain

View Source
var RegisterChainTxCmd = &cobra.Command{
	Use:   "ibc-register",
	Short: "Register a new chain",
	RunE:  commands.RequireInit(registerChainTxCmd),
}

RegisterChainTxCmd is CLI command to register a new chain for ibc

View Source
var UpdateChainTxCmd = &cobra.Command{
	Use:   "ibc-update",
	Short: "Add new header to an existing chain",
	RunE:  commands.RequireInit(updateChainTxCmd),
}

UpdateChainTxCmd is CLI command to update the header for an ibc chain

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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