Documentation ¶
Index ¶
- Constants
- func AddGenesisAccountCmd(defaultNodeHome string) *cobra.Command
- func InitCmd(mbm module.BasicManager, defaultNodeHome string) *cobra.Command
- func NewRootCmd() (*cobra.Command, params.EncodingConfig)
- func NewTestnetCmd(mbm module.BasicManager, genBalIterator banktypes.GenesisBalancesIterator) *cobra.Command
Constants ¶
View Source
const ( FlagPersistentPeers = "persistent-peers" FlagEnableTelemetry = "enable-telemetry" FlagStateSyncRpcServers = "state-sync.rpc-servers" FlagStateSyncTrustHeight = "state-sync.trust-height" FlagStateSyncTrustHash = "state-sync.trust-hash" FlagPrivValidatorListen = "priv-validator-listen" )
View Source
const (
EnvPrefix = "SETTLUS"
)
Variables ¶
This section is empty.
Functions ¶
func AddGenesisAccountCmd ¶
AddGenesisAccountCmd returns add-genesis-account cobra Command.
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 NewRootCmd ¶
func NewRootCmd() (*cobra.Command, params.EncodingConfig)
NewRootCmd creates a new root command for settlusd. It is called once in the main function.
func NewTestnetCmd ¶
func NewTestnetCmd(mbm module.BasicManager, genBalIterator banktypes.GenesisBalancesIterator) *cobra.Command
NewTestnetCmd creates a root testnet command with subcommands to run an in-process testnet or initialize validator configuration files for running a multi-validator testnet in a separate process
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.