Documentation
¶
Overview ¶
Package cmd provides the cli for running the halo consensus client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultCometConfig ¶
DefaultCometConfig returns the default cometBFT config.
func InitFiles ¶
func InitFiles(ctx context.Context, initCfg InitConfig) error
InitFiles initializes the files and folders required by halo. It ensures a network and genesis file is generated/downloaded for the provided network.
func MakeGenesis ¶
Types ¶
type InitConfig ¶
type InitConfig struct { HomeDir string Moniker string Network netconf.ID TrustedSync bool HaloCfgFunc func(*halocfg.Config) Force bool Clean bool ExecutionHash common.Hash }
InitConfig is the config for the init command.
func (InitConfig) HaloCfg ¶
func (c InitConfig) HaloCfg(cfg *halocfg.Config)
func (InitConfig) Verify ¶
func (c InitConfig) Verify() error
Click to show internal directories.
Click to hide internal directories.