Documentation ¶
Index ¶
- func AddGenesisAccountCmd(defaultNodeHome string) *cobra.Command
- func AddGenesisCertifierCmd(defaultNodeHome string) *cobra.Command
- func AddGenesisShieldAdminCmd(defaultNodeHome string) *cobra.Command
- func Execute(rootCmd *cobra.Command, defaultHome string) error
- func InitTestnet(clientCtx client.Context, cmd *cobra.Command, nodeConfig *tmconfig.Config, ...) error
- func NewRootCmd() (*cobra.Command, params.EncodingConfig)
- func RotateValKeysCmd() *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddGenesisAccountCmd ¶
AddGenesisAccountCmd returns add-genesis-account cobra Command.
func AddGenesisCertifierCmd ¶
AddGenesisCertifierCmd returns add-genesis-certifier cobra Command.
func AddGenesisShieldAdminCmd ¶
AddGenesisShieldAdminCmd returns add-genesis-shield-admin cobra Command.
func Execute ¶
Execute executes the root command of an application. It handles creating a server context object with the appropriate server and client objects injected into the underlying stdlib Context. It also handles adding core CLI flags, specifically the logging flags. It returns an error upon execution failure.
func InitTestnet ¶
func InitTestnet( clientCtx client.Context, cmd *cobra.Command, nodeConfig *tmconfig.Config, mbm module.BasicManager, genBalIterator banktypes.GenesisBalancesIterator, outputDir, chainID, minGasPrices, nodeDirPrefix, nodeHome, serverAddrs, startingIPAddress, keyringBackend, algoStr string, numValidators int, ) error
InitTestnet initializes the testnet.
func NewRootCmd ¶
func NewRootCmd() (*cobra.Command, params.EncodingConfig)
NewRootCmd creates a new root command for simd. It is called once in the main function.
func RotateValKeysCmd ¶
RotateValKeysCmd returns a command to execute genesis state migration.
Types ¶
This section is empty.