Skip to content

Update consensus-config.mdx #1688

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 14, 2025
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,16 @@ only a single connection per peer is maintained.
<Tabs.Tab>`OP_NODE_P2P_STATIC=/ip4/127.0.0.1/tcp/9222/p2p/16Uiu2HAm2y6DXp6THWHCyquczNUh8gVAm4spo6hjP3Ns1dGRiAdE`</Tabs.Tab>
</Tabs>

### p2p.sync.onlyreqtostatic

Restricts `RequestL2Range` sync requests to static peers only. Useful for enforcing trusted peer sync. When enabled, non-static peers are skipped during sync. Default is `false`.

<Tabs items={['Syntax', 'Example', 'Environment Variable']}>
<Tabs.Tab>`--p2p.sync.onlyreqtostatic=[true|false]`</Tabs.Tab>
<Tabs.Tab>`--p2p.sync.onlyreqtostatic=true`</Tabs.Tab>
<Tabs.Tab>`OP_NODE_P2P_SYNC_ONLYREQTOSTATIC=true`</Tabs.Tab>
</Tabs>

### p2p.sync.req-resp

Enables P2P req-resp alternative sync method, on both server and client side. Default is `true`.
Expand Down
5 changes: 3 additions & 2 deletions words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,11 @@ daserver
DATACAP
datacap
DATADIR
datadir
Defi
Defillama's
delegatecall
devnet
datadir
Devnet
devnet
Devnets
Expand Down Expand Up @@ -265,7 +266,7 @@ nosyncserve
Numba
NVME
Offchain
offchain
onlyreqtostatic
opchaina
opchainb
OPCM
Expand Down