Node Operators
Consensus Layer Configuration

Consensus Layer Configuration Options (op-node)

You can configure your node using the command line options below (also called flags). There are also sub-commands, which can be used to invoke functionality such as the console or blockchain import/export.

This page list all configuration options for op-node. op-node implements most rollup-specific functionality as Consensus-Layer, similar to a L1 beacon-node. The following options are from the --help in v1.7.5 (opens in a new tab).

Global Options


Enable the conductor service. The default value is false.



Conductor service rpc endpoint. The default value is


conductor.rpc-timeout value

Conductor service rpc timeout. The default value is 1s.

--conductor.rpc-timeout value=<value>


Enables or disables heartbeating. The default value is false.



Sets a moniker for this node.



Sets the URL to heartbeat to. The default value is "".



Address of L1 User JSON-RPC endpoint to use (eth namespace required). The default value is "".



Address of L1 Beacon-node HTTP endpoint to use.



If true, all sidecars are fetched and filtered locally. Workaround for buggy Beacon nodes. The default value is false.



When false, halts op-node startup if the healthcheck to the Beacon-node endpoint fails. The default value is false.



Poll interval for retrieving new L1 epoch updates such as safe and finalized block changes. Disabled if 0 or negative. The default value is 6m24s.



Polling interval for latest-block subscription when using an HTTP RPC provider. Ignored for other types of RPC endpoints. The default value is 12s.



Maximum number of concurrent RPC requests to make to the L1 RPC provider. The default value is 10.



Maximum number of RPC requests to bundle, e.g., during L1 blocks receipt fetching. The L1 RPC rate limit counts this as N items, but allows it to burst at once. The default value is 20.



Optional self-imposed global rate-limit on L1 RPC requests, specified in requests / second. Disabled if set to 0. The default value is 0.



The kind of RPC provider, used to inform optimal transactions receipts fetching, and thus reduce costs. Valid options: alchemy, quicknode, infura, parity, nethermind, debug_geth, erigon, basic, any, standard. The default value is standard.


For details on additional values, see RPC Receipts (opens in a new tab).


Poll interval for reloading the runtime config, useful when config events are not being picked up. Disabled if 0 or negative. The default value is 10m0s.



Trust the L1 RPC, sync faster at risk of malicious/buggy RPC providing bad or inconsistent L1 data. The default value is false.

If you're running an Erigon Ethereum execution client for your L1 provider you will need to include --l1.trustrpc. At the time of writing, Erigon doesn't support the eth_getProof that we prefer to use to load L1 data for some processing in op-node. The trustrpc flag makes it use something else that erigon supports, but the op-node can't verify for correctness.



Address of L2 Engine JSON-RPC endpoints to use (engine and eth namespace required).



Path to JWT secret key. Keys are 32 bytes, hex encoded in a file. A new key will be generated if left empty.



Color the log output if in terminal mode. The default value is false.



Format the log output. Supported formats: 'text', 'terminal', 'logfmt', 'json', 'json-pretty'. The default value is text.



The lowest log level that will be output. The default value is info.



Metrics listening address. The default value is "".



Enable the metrics server. The default value is false.



Metrics listening port. The default value is 7300.



Predefined network selection. Available networks: oplabs-devnet-0-sepolia-dev-0, op-labs-chaosnet-0-goerli-dev-0, zora-mainnet, base-sepolia, pgn-sepolia, zora-sepolia, base-devnet-0-sepolia-dev-0, base-goerli, base-devnet-0-goerli-dev-0, conduit-devnet-0-goerli-dev-0, base-mainnet, pgn-mainnet, op-sepolia, lyra-mainnet, mode-mainnet, op-mainnet, op-goerli, op-labs-devnet-0-goerli-dev-0, orderly-mainnet.



Manually specify the Canyon fork timestamp, overriding the bundled setting. The default value is 0.


Manually specify the Delta fork timestamp, overriding the bundled setting. The default value is 0.<value>


Manually specify the ecotone fork timestamp, overriding the bundled setting. The default value is 0.



The IP address to advertise in Discv5, put into the ENR of the node. This may also be a hostname/domain name to resolve to an IP.



The TCP port to advertise in Discv5, put into the ENR of the node. Set to p2p.listen.tcp value if 0. The default value is 0.



The UDP port to advertise in Discv5 as a fallback if not determined by Discv5, put into the ENR of the node. Set to p2p.listen.udp value if 0. The default value is 0.



The duration that peers are banned for. The default value is 1h0m0s.



Enables peer banning. The default value is true.



The minimum score below which peers are disconnected and banned. The default value is -100.



Comma-separated base64-format ENR list. Bootnodes to start discovering other node records from.



Completely disable the P2P stack. The default value is false.



Enables persistent storage of discovered ENRs in a database to recover from a restart without bootstrapping the discovery process again. Set to 'memory' to never persist the peerstore. The default value is opnode_discovery_db.



Specifies the IP to bind LibP2P and Discv5 to. The default value is



Defines the TCP port to bind LibP2P to. Any available system port if set to 0. The default value is 9222.



Sets the UDP port to bind Discv5 to. It will be the same as the TCP port if left at 0. The default value is 0.



Enables NAT traversal with PMP/UPNP devices to learn external IP. The default value is false.



Specifies a comma-separated list of CIDR masks. P2P will only try to connect on these networks.


Disables Discv5 (node discovery). The default value is false.<boolean>


Determines the grace period to keep a newly connected peer around, if it is not misbehaving. The default value is 30s.



Sets the high-tide peer count. The node starts pruning peer connections slowly after reaching this number. The default value is 30.



Determines the low-tide peer count. The node actively searches for new peer connections if below this amount. The default value is 20.



Specifies the Peerstore database location. Persisted peerstores help recover peers after restarts. Set to 'memory' to never persist the peerstore. Warning: a copy of the priv network key of the local peer will be persisted here. The default value is "opnode_peerstore_db".



Defines the file path for reading the hex-encoded 32-byte private key for the peer ID. Created if not already exists. Important for maintaining the same network identity after restarting. The default value is "opnode_p2p_priv.txt".



Sets the peer scoring strategy for the P2P stack. Options include 'none' or 'light'. The default value is "light".



Hex-encoded private key for signing off on p2p application messages as sequencer.



Comma-separated multiaddr-format(an unsigned address, containing: IP, TCP port, PeerID) peer list. Static connections to make and maintain, these peers will be regarded as trusted. Addresses of the local peer are ignored. Duplicate/Alternative addresses for the same peer all apply, but only a single connection per peer is maintained.



Enables P2P req-resp alternative sync method, on both server and client side. Default is true.



pprof listening address. Default is "".



Enable the pprof server. Default is false.



pprof file path. If it is a directory, the path is {dir}/{profileType}.prof



pprof listening port. Default is 6060.



pprof profile type. One of cpu, heap, goroutine, threadcreate, block, mutex, allocs



Rollup chain parameters.



Opt-in option to halt on incompatible protocol version requirements of the given level (major/minor/patch/none), as signaled onchain in L1.



Load protocol versions from the superchain L1 ProtocolVersions contract (if available), and report in logs and metrics. Default is false.



RPC listening address. Default is "".



File path used to persist state changes made via the admin API so they persist across restarts. Disabled if not set.



Enable the admin API (experimental). Default is false.



RPC listening port. Default is 9545.



Enable sequencing of new L2 blocks. A separate batch submitter has to be deployed to publish the data for verifiers. Default is false.



Number of L1 blocks to keep distance from the L1 head as a sequencer for picking an L1 origin. Default is 4.



Maximum number of L2 blocks for restricting the distance between L2 safe and unsafe. Disabled if 0. Default is 0.



Initialize the sequencer in a stopped state. The sequencer can be started using the admin_startSequencer RPC. Default is false.



Path to the snapshot log file.



Number of L1 blocks to keep distance from the L1 head before deriving L2 data from. Reorgs are supported, but may be slow to perform. Default is 0.



--help, -h

Show help. The default value is false.

--help OR -h

--version, -v

Nodes built from source do not output the correct version numbers that are reported on the GitHub release page.

Print the version. The default value is false.

--version OR -v