Documentation ¶
Index ¶
- func CollectGenTxsCmd(ctx *server.Context, cdc *codec.Codec) *cobra.Command
- func GenTxCmd(ctx *server.Context, cdc *codec.Codec) *cobra.Command
- func InitCmd(ctx *server.Context, cdc *codec.Codec, appInit server.AppInit) *cobra.Command
- func InitializeNodeValidatorFiles(config *cfg.Config) (nodeID string, valPubKey crypto.PubKey, err error)
- func ReadOrCreatePrivValidator(privValFile string) crypto.PubKey
- func TestnetFilesCmd(ctx *server.Context, cdc *codec.Codec, appInit server.AppInit) *cobra.Command
- func WriteGenesisFile(genFile, chainID string, validators []types.GenesisValidator, ...) error
- func WriteGenesisFileWithTime(genFile, chainID string, validators []types.GenesisValidator, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectGenTxsCmd ¶ added in v0.26.0
nolint
func InitializeNodeValidatorFiles ¶
func InitializeNodeValidatorFiles( config *cfg.Config) (nodeID string, valPubKey crypto.PubKey, err error, )
InitializeNodeValidatorFiles creates private validator and p2p configuration files.
func ReadOrCreatePrivValidator ¶
read of create the private key file for this config
func TestnetFilesCmd ¶
get cmd to initialize all files for tendermint testnet and application
func WriteGenesisFile ¶
func WriteGenesisFile( genFile, chainID string, validators []types.GenesisValidator, appState json.RawMessage, ) error
WriteGenesisFile creates and writes the genesis configuration to disk. An error is returned if building or writing the configuration to file fails.
func WriteGenesisFileWithTime ¶
func WriteGenesisFileWithTime( genFile, chainID string, validators []types.GenesisValidator, appState json.RawMessage, genTime time.Time, ) error
WriteGenesisFileWithTime creates and writes the genesis configuration to disk. An error is returned if building or writing the configuration to file fails.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.