cosmos-sdk: Index | Files

package cli

import ""


Package Files

collect.go gentx.go init.go migrate.go validate_genesis.go

func CollectGenTxsCmd Uses

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

CollectGenTxsCmd - return the cobra command to collect genesis transactions

func GenTxCmd Uses

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

GenTxCmd builds the application's gentx command.

func GetMigrationCallback Uses

func GetMigrationCallback(version string) types.MigrationCallback

GetMigrationCallback returns a MigrationCallback for a given version.

func GetMigrationVersions Uses

func GetMigrationVersions() []string

GetMigrationVersions get all migration version in a sorted slice.

func InitCmd Uses

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 Uses

func MigrateGenesisCmd() *cobra.Command

MigrateGenesisCmd returns a command to execute genesis state migration.

func ValidateGenesisCmd Uses

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

Validate genesis command takes

Package cli imports 34 packages (graph) and is imported by 8 packages. Updated 2020-08-13. Refresh now. Tools for package owners.