Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion docs/public-docs/node-operators/reference/op-node-config.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,20 @@ Blockchain sync mode. Options are "consensus-layer" or "execution-layer". The de
<Tab title="Environment variable">`OP_NODE_SYNCMODE=consensus-layer`</Tab>
</Tabs>

### syncmode.req-resp

Enables the Req/Res CL P2P sync client path, used to close gaps against gossip. When disabled, `op-node` relies on the connected EL client to reach the chain tip. Default is `false`.

<Tabs>
<Tab title="Syntax">`--syncmode.req-resp=[true|false]`</Tab>
<Tab title="Example">`--syncmode.req-resp=false`</Tab>
<Tab title="Environment variable">`OP_NODE_SYNCMODE_REQ_RESP=false`</Tab>
</Tabs>

<Warning>
Deprecated in favor of execution-layer syncing; see the [Req/Res CL sync deprecation notice](/notices/req-resp-cl-sync-deprecation).
</Warning>

## Fork overrides

Manually override fork activation timestamps for testing or custom deployments.
Expand Down Expand Up @@ -821,14 +835,18 @@ Restricts `RequestL2Range` sync requests to static peers only. Useful for enforc

### p2p.sync.req-resp

Enables P2P req-resp alternative sync method, on both server and client side. Default is `true`.
Enables P2P req-resp sync, used to both serve block requests from peers and request missing blocks from peers. Default is `true`.

<Tabs>
<Tab title="Syntax">`--p2p.sync.req-resp=[true|false]`</Tab>
<Tab title="Example">`--p2p.sync.req-resp=true`</Tab>
<Tab title="Environment variable">`OP_NODE_P2P_SYNC_REQ_RESP=true`</Tab>
</Tabs>

<Warning>
The Req/Res CL P2P sync client is deprecated in favor of execution-layer syncing; see the [Req/Res CL sync deprecation notice](/notices/req-resp-cl-sync-deprecation). The server path will remain temporarily but is also planned for removal.
</Warning>

## Sequencer options

Configuration for running op-node as a sequencer.
Expand Down