Documentation ¶
Overview ¶
Package cmd contains provenance daemon init functionality.
Index ¶
- Constants
- Variables
- func AddGenesisAccountCmd(defaultNodeHome string) *cobra.Command
- func AddGenesisMarkerCmd(defaultNodeHome string) *cobra.Command
- func AddGenesisMsgFeeCmd(defaultNodeHome string, interfaceRegistry types.InterfaceRegistry) *cobra.Command
- func AddMetaAddressCmd() *cobra.Command
- func AddMetaAddressDecoder() *cobra.Command
- func AddMetaAddressEncoder() *cobra.Command
- func AddRootDomainAccountCmd(defaultNodeHome string) *cobra.Command
- func ConfigChangedCmd() *cobra.Command
- func ConfigCmd() *cobra.Command
- func ConfigGetCmd() *cobra.Command
- func ConfigHomeCmd() *cobra.Command
- func ConfigPackCmd() *cobra.Command
- func ConfigSetCmd() *cobra.Command
- func ConfigUnpackCmd() *cobra.Command
- func Execute(rootCmd *cobra.Command) error
- func GetCmdPioSimulateTx() *cobra.Command
- func Init(cmd *cobra.Command, mbm module.BasicManager, moniker string) error
- func InitCmd(mbm module.BasicManager) *cobra.Command
- func InitTestnet(clientCtx client.Context, cmd *cobra.Command, nodeConfig *tmconfig.Config, ...) error
- func NewRootCmd() (*cobra.Command, params.EncodingConfig)
Constants ¶
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" )
const ( // EnvTypeFlag is a flag for indicating a testnet EnvTypeFlag = "testnet" // Flag used to indicate coin type. CoinTypeFlag = "coin-type" )
Variables ¶
var ChainID string
ChainID is the id of the running chain
Functions ¶
func AddGenesisAccountCmd ¶
AddGenesisAccountCmd returns add-genesis-account cobra Command.
func AddGenesisMarkerCmd ¶
AddGenesisMarkerCmd configures a marker account and adds it to the list of genesis accounts
func AddGenesisMsgFeeCmd ¶ added in v1.9.0
func AddGenesisMsgFeeCmd(defaultNodeHome string, interfaceRegistry types.InterfaceRegistry) *cobra.Command
AddGenesisMsgFeeCmd returns add-genesis-msg-fee cobra command.
func AddMetaAddressCmd ¶ added in v1.1.0
GetQueryCmd is the top-level command for name CLI queries.
func AddMetaAddressDecoder ¶ added in v1.1.0
AddMetaAddressDecoder returns metadata address parser cobra Command.
func AddMetaAddressEncoder ¶ added in v0.2.1
AddMetaAddressEncoder returns metadata address encoder cobra Command.
func AddRootDomainAccountCmd ¶
AddRootDomainAccountCmd returns add-genesis-root-name cobra command.
func ConfigChangedCmd ¶ added in v1.7.0
ConfigChangedCmd returns a CLI command to get config values different from their defaults.
func ConfigGetCmd ¶ added in v1.7.0
ConfigGetCmd returns a CLI command to get config values.
func ConfigHomeCmd ¶ added in v1.9.0
ConfigHomeCmd returns a CLI command for ouputting the home directory
func ConfigPackCmd ¶ added in v1.7.0
ConfigPackCmd returns a CLI command for creating a single packed json config file.
func ConfigSetCmd ¶ added in v1.7.0
ConfigSetCmd returns a CLI command to set config values.
func ConfigUnpackCmd ¶ added in v1.7.0
ConfigUnpackCmd returns a CLI command for creating the several config toml files.
func GetCmdPioSimulateTx ¶ added in v1.8.0
func InitCmd ¶
func InitCmd(mbm module.BasicManager) *cobra.Command
InitCmd Creates a command for generating genesis and config files.
func InitTestnet ¶
func InitTestnet( clientCtx client.Context, cmd *cobra.Command, nodeConfig *tmconfig.Config, mbm module.BasicManager, genBalIterator banktypes.GenesisBalancesIterator, outputDir, chainID, minGasPrices, nodeDirPrefix, nodeDaemonHome, 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.
Types ¶
This section is empty.