types

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2019 License: Apache-2.0 Imports: 2 Imported by: 13

Documentation

Index

Constants

View Source
const (
	FlagChainID   = "chain-id"
	FlagNode      = "node"
	FlagHeight    = "height"
	FlagNonce     = "nonce"
	FlagAsync     = "async"
	FlagTrustNode = "trust-node"
	FlagMaxGas    = "max-gas"
	FlagJSONIndet = "indent"
	FlagNonceNode = "nonce-node"

	//qcp flag
	FlagQcp            = "qcp" //启用QCP模式,发送txQcp消息
	FlagQcpSigner      = "qcp-signer"
	FlagQcpSequence    = "qcp-seq"
	FlagQcpFrom        = "qcp-from"
	FlagQcpBlockHeight = "qcp-blockheight"
	FlagQcpTxIndex     = "qcp-txindex"
	FlagQcpExtends     = "qcp-extends"
)

Variables

View Source
var (
	LineBreak = &cobra.Command{Run: func(*cobra.Command, []string) {}}
)

LineBreak can be included in a command list to provide a blank line to help with readability

Functions

func GetCommands

func GetCommands(cmds ...*cobra.Command) []*cobra.Command

GetCommands adds common flags to query commands

func PostCommands

func PostCommands(cmds ...*cobra.Command) []*cobra.Command

PostCommands adds common flags for commands to post tx

Types

This section is empty.

Jump to

Keyboard shortcuts

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