cli

package
v0.40.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2020 License: Apache-2.0 Imports: 34 Imported by: 1,346

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func CollectGenTxsCmd

func CollectGenTxsCmd(genBalIterator types.GenesisBalancesIterator, defaultNodeHome string) *cobra.Command

CollectGenTxsCmd - return the cobra command to collect genesis transactions

func GenTxCmd

func GenTxCmd(mbm module.BasicManager, txEncCfg client.TxEncodingConfig, genBalIterator types.GenesisBalancesIterator, defaultNodeHome string) *cobra.Command

GenTxCmd builds the application's gentx command.

func GetMigrationCallback

func GetMigrationCallback(version string) types.MigrationCallback

GetMigrationCallback returns a MigrationCallback for a given version.

func GetMigrationVersions

func GetMigrationVersions() []string

GetMigrationVersions get all migration version in a sorted slice.

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 MigrateGenesisCmd

func MigrateGenesisCmd() *cobra.Command

MigrateGenesisCmd returns a command to execute genesis state migration.

func ValidateGenesisCmd

func ValidateGenesisCmd(mbm module.BasicManager, txEncCfg client.TxEncodingConfig) *cobra.Command

Validate genesis command takes

Types

This section is empty.

Jump to

Keyboard shortcuts

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