Documentation
¶
Index ¶
Constants ¶
View Source
const ( KeyDataDir = "data-dir" KeyClustersDir = "clusters-dir" KeyConfigFile = "config-file" KeyBeaconNode = "beacon-node" KeyLogLevel = "log-level" KeyAPI = "api" KeyVerbose = "verbose" KeyValidators = "validators" )
Common config keys.
View Source
const ( KeyDiscV5 = "discv5" KeyP2P = "p2p" KeyNodeDB = "nodedb" KeyNetlist = "netlist" )
P2P config keys.
Variables ¶
View Source
var StartTime = time.Now()
StartTime is the time at which the application was started.
Functions ¶
func CommonFlags ¶
CommonFlags sets up Charon's common flags.
Must only be called once in the program's lifetime.
func MustBindPFlag ¶
MustBindPFlag binds the flag in the given flag set to the viper key of the same name.
Panics if binding fails.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.