cmd

package
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2023 License: Apache-2.0 Imports: 58 Imported by: 0

Documentation

Index

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"

	// FlagDenom defines a flag to set the default coin denomination
	FlagDenom = "denom"
)
View Source
const EnvPrefix = "FX"

Variables

This section is empty.

Functions

func CustomConsensusParams

func CustomConsensusParams() *tmproto.ConsensusParams

func InitCmd

func InitCmd() *cobra.Command

InitCmd returns a command that initializes all files needed for Tendermint and the respective application.

func InitTestnet

func InitTestnet(
	clientCtx client.Context,
	serverCtx *server.Context,
	outputDir,
	chainID,
	minGasPrices,
	nodeNamePrefix,
	nodeDaemonHome,
	startingIP,
	keyringBackend,
	algoStr,
	denom string,
	valNum int,
) error

Initialize the testnet

func Network

func Network() *cobra.Command

func NewRootCmd

func NewRootCmd() *cobra.Command

NewRootCmd creates a new root command for simd. It is called once in the main function.

func TestnetCmd

func TestnetCmd() *cobra.Command

TestnetCmd get cmd to initialize all files for tendermint testnet and application

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL