Documentation ¶
Index ¶
- Constants
- func AddGenesisAccountCmd(defaultNodeHome string) *cobra.Command
- func CreateGexCmd() *cobra.Command
- func GenTxCmd(mbm module.BasicManager, txEncCfg client.TxEncodingConfig, ...) *cobra.Command
- func InitCmd(mbm module.BasicManager, defaultNodeHome string) *cobra.Command
- func NewRootCmd() (*cobra.Command, appparams.EncodingConfig)
- func Start()
- type Blocks
- type Info
- type Transactions
Constants ¶
View Source
const ( // FlagOverwrite defines a flag to overwrite an existing genesis JSON file. FlagOverwrite = "overwrite" // FlagRecover defines a flag to initialize the private validator key from a specific seed. FlagRecover = "recover" )
Variables ¶
This section is empty.
Functions ¶
func AddGenesisAccountCmd ¶
AddGenesisAccountCmd returns add-genesis-account cobra Command.
func CreateGexCmd ¶ added in v0.7.3
CreateGexCmd creates the gex command for cobra
func GenTxCmd ¶ added in v0.7.3
func GenTxCmd(mbm module.BasicManager, txEncCfg client.TxEncodingConfig, genBalIterator types.GenesisBalancesIterator, defaultNodeHome string) *cobra.Command
GenTxCmd builds the application's gentx command.
func InitCmd ¶ added in v0.7.3
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 NewRootCmd ¶
func NewRootCmd() (*cobra.Command, appparams.EncodingConfig)
NewRootCmd creates a new root command for a Cosmos SDK application
Types ¶
type Blocks ¶ added in v0.7.3
type Blocks struct {
// contains filtered or unexported fields
}
Blocks describe content that gets parsed for block
type Info ¶ added in v0.7.3
type Info struct {
// contains filtered or unexported fields
}
Info describes a list of types with data that are used in the explorer
type Transactions ¶ added in v0.7.3
type Transactions struct {
// contains filtered or unexported fields
}
Transactions describe content that gets parsed for transactions
Click to show internal directories.
Click to hide internal directories.