Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "starbridge", Short: "starbridge validator software", SilenceErrors: true, SilenceUsage: true, RunE: func(cmd *cobra.Command, args []string) error { var ( cfg app.Config cfgPath = cmd.PersistentFlags().Lookup("conf").Value.String() ) err := config.Read(cfgPath, &cfg) if err != nil { switch cause := errors.Cause(err).(type) { case *config.InvalidConfigError: return errors.Wrap(cause, "config file") default: return err } } cfg.EthereumFinalityBuffer = 6 cfg.WithdrawalWindow = time.Hour * 24 app := app.NewApp(cfg) app.Run() return nil }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.