Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RunCmd = &cobra.Command{ Use: "run", Short: "Run a node", TraverseChildren: true, PersistentPreRunE: func(cmd *cobra.Command, args []string) (err error) { if err := bindFlagsLoadViper(cmd); err != nil { return err } config, err = parseConfig() if err != nil { return err } logger = logrus.New() logger.Level = logLevel(config.LogLevel) logger.WithField("Version", version.Version).Info("Run") config.SetDataDir(config.DataDir) logger.WithFields(logrus.Fields{ "Base": config}).Debug("Config") return nil }, }
RunCmd is launches a node
Functions ¶
func AddSoloFlags ¶
AddSoloFlags adds flags to the Solo command
func NewSoloCmd ¶
NewSoloCmd returns the command that starts EVM-Lite with Solo consensus
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.