cmd

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: Apache-2.0 Imports: 58 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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