cli

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FlagOverwrite defines a flag to overwrite an existing genesis JSON file.
	FlagOverwrite = "overwrite"

	// FlagSeed defines a flag to initialize the private validator key from a specific seed.
	FlagRecover = "recover"
)

Variables

View Source
var DefaultRelativePacketTimeoutTimestamp = uint64((time.Duration(10) * time.Minute).Nanoseconds())

Functions

func CollectGenTxsCmd

func CollectGenTxsCmd(genAccIterator dclauthtypes.GenesisAccountsIterator, defaultNodeHome string) *cobra.Command

CollectGenTxsCmd - return the cobra command to collect genesis transactions.

func GenTxCmd

func GenTxCmd(mbm module.BasicManager, txEncCfg client.TxEncodingConfig, genAccIterator dclauthtypes.GenesisAccountsIterator, defaultNodeHome string) *cobra.Command

GenTxCmd builds the application's gentx command.

func GetQueryCmd

func GetQueryCmd(queryRoute string) *cobra.Command

GetQueryCmd returns the cli query commands for this module.

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns the transaction commands for this module.

func InitCmd

func InitCmd(mbm module.BasicManager, defaultNodeHome string) *cobra.Command

InitCmd returns a command that initializes all files needed for Tendermint and the respective application.

func ValidateGenesisCmd

func ValidateGenesisCmd(mbm module.BasicManager) *cobra.Command

ValidateGenesisCmd takes a genesis file, and makes sure that it is valid.

Types

This section is empty.

Jump to

Keyboard shortcuts

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