Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Required Flags L1EthRpcFlag = &cli.StringFlag{ Name: "l1-eth-rpc", Usage: "HTTP provider URL for L1.", EnvVars: prefixEnvVars("L1_ETH_RPC"), } FactoryAddressFlag = &cli.StringFlag{ Name: "game-factory-address", Usage: "Address of the fault game factory contract.", EnvVars: prefixEnvVars("GAME_FACTORY_ADDRESS"), } // Optional Flags MonitorIntervalFlag = &cli.DurationFlag{ Name: "monitor-interval", Usage: "The interval at which the dispute monitor will check for new games to monitor.", EnvVars: prefixEnvVars("MONITOR_INTERVAL"), Value: config.DefaultMonitorInterval, } GameWindowFlag = &cli.DurationFlag{ Name: "game-window", Usage: "The time window which the monitor will consider games to report on. " + "This should include a bond claim buffer for games outside the maximum game duration.", EnvVars: prefixEnvVars("GAME_WINDOW"), Value: config.DefaultGameWindow, } )
View Source
var Flags []cli.Flag
Flags contains the list of configuration options available to the binary.
Functions ¶
func CheckRequired ¶
func CheckRequired(ctx *cli.Context) error
func NewConfigFromCLI ¶
NewConfigFromCLI parses the Config from the provided flags or environment variables.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.