package
1.0.15
Repository: https://github.com/netcloth/netcloth-chain.git
Documentation: pkg.go.dev

# Functions

GetCommands adds common flags to query commands.
NewCompletionCmd builds a cobra.Command that generate bash completion scripts for the given root command.
ParseGas parses the value of the gas option.
PostCommands adds common flags for commands to post tx.
RegisterRestServerFlags registers the flags required for rest server.

# Constants

BroadcastAsync defines a tx broadcasting mode where the client returns immediately.
BroadcastBlock defines a tx broadcasting mode where the client waits for the tx to be committed in a block.
BroadcastSync defines a tx broadcasting mode where the client waits for a CheckTx execution response only.
DefaultGasAdjustment is applied to gas estimates to avoid tx execution failures due to state changes that might occur between the tx simulation and the actual run.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
inspired by wget -O.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.

# Variables

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

# Structs

GasSetting encapsulates the possible values passed through the --gas flag.