Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "tendermint", Short: "Tendermint Core (BFT Consensus) in Go", PersistentPreRunE: func(cmd *cobra.Command, args []string) (err error) { config, err = ParseConfig() if err != nil { return err } logger, err = tmflags.ParseLogLevel(config.LogLevel, logger, cfg.DefaultLogLevel()) if err != nil { return err } if viper.GetBool(cli.TraceFlag) { logger = log.NewTracingLogger(logger) } return nil }, }
Functions ¶
func AddNodeFlags ¶ added in v0.10.1
AddNodeFlags exposes some common configuration options on the command-line These are exposed for convenience of commands embedding a tendermint node
func ParseConfig ¶ added in v0.10.1
ParseConfig will setup the tendermint configuration properly
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.