types

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2019 License: Apache-2.0 Imports: 2 Imported by: 4 modules, 13 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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