Documentation ¶
Index ¶
Constants ¶
View Source
const EnvVarPrefix = "OP_PROPOSER"
Variables ¶
View Source
var ( // Required Flags L1EthRpcFlag = &cli.StringFlag{ Name: "l1-eth-rpc", Usage: "HTTP provider URL for L1", EnvVars: prefixEnvVars("L1_ETH_RPC"), } RollupRpcFlag = &cli.StringFlag{ Name: "rollup-rpc", Usage: "HTTP provider URL for the rollup node", EnvVars: prefixEnvVars("ROLLUP_RPC"), } L2OOAddressFlag = &cli.StringFlag{ Name: "l2oo-address", Usage: "Address of the L2OutputOracle contract", EnvVars: prefixEnvVars("L2OO_ADDRESS"), } // Optional flags PollIntervalFlag = &cli.DurationFlag{ Name: "poll-interval", Usage: "How frequently to poll L2 for new blocks", Value: 6 * time.Second, EnvVars: prefixEnvVars("POLL_INTERVAL"), } AllowNonFinalizedFlag = &cli.BoolFlag{ Name: "allow-non-finalized", Usage: "Allow the proposer to submit proposals for L2 blocks derived from non-finalized L1 blocks.", EnvVars: prefixEnvVars("ALLOW_NON_FINALIZED"), } // Legacy Flags L2OutputHDPathFlag = txmgr.L2OutputHDPathFlag )
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.