Skip to content

Commit 5660366

Browse files
authored
Merge pull request #1688 from siljapetasch/main
Update consensus-config.mdx
2 parents 86644f1 + 0bdc7c6 commit 5660366

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

pages/operators/node-operators/configuration/consensus-config.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,16 @@ only a single connection per peer is maintained.
636636
<Tabs.Tab>`OP_NODE_P2P_STATIC=/ip4/127.0.0.1/tcp/9222/p2p/16Uiu2HAm2y6DXp6THWHCyquczNUh8gVAm4spo6hjP3Ns1dGRiAdE`</Tabs.Tab>
637637
</Tabs>
638638

639+
### p2p.sync.onlyreqtostatic
640+
641+
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`.
642+
643+
<Tabs items={['Syntax', 'Example', 'Environment Variable']}>
644+
<Tabs.Tab>`--p2p.sync.onlyreqtostatic=[true|false]`</Tabs.Tab>
645+
<Tabs.Tab>`--p2p.sync.onlyreqtostatic=true`</Tabs.Tab>
646+
<Tabs.Tab>`OP_NODE_P2P_SYNC_ONLYREQTOSTATIC=true`</Tabs.Tab>
647+
</Tabs>
648+
639649
### p2p.sync.req-resp
640650

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

words.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,11 @@ daserver
8989
DATACAP
9090
datacap
9191
DATADIR
92-
datadir
9392
Defi
9493
Defillama's
9594
delegatecall
95+
devnet
96+
datadir
9697
Devnet
9798
devnet
9899
Devnets
@@ -265,7 +266,7 @@ nosyncserve
265266
Numba
266267
NVME
267268
Offchain
268-
offchain
269+
onlyreqtostatic
269270
opchaina
270271
opchainb
271272
OPCM

0 commit comments

Comments
 (0)