Skip to content

Commit 863dcd9

Browse files
committed
add recommended RPC flag
1 parent d1bc2c0 commit 863dcd9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/content/docs/en/developers/guides/running-a-scroll-node.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ Please consider opening port `30303`(UDP & TCP) and enabling discovery so that o
6868
--datadir "./l2geth-datadir" \
6969
--gcmode archive --cache.noprefetch \
7070
--http --http.addr "0.0.0.0" --http.port 8545 --http.api "eth,net,web3,debug,scroll" \
71-
--l1.endpoint "$L2GETH_L1_ENDPOINT" --rollup.verify
71+
--l1.endpoint "$L2GETH_L1_ENDPOINT" --rollup.verify \
72+
--gpo.congestionthreshold=500
7273
```
7374
For Scroll Sepolia, use `--scroll-sepolia` instead of `--scroll`
7475

@@ -117,7 +118,8 @@ Running the node in Docker might have a significant impact on node performance.
117118
--datadir "/volume/l2geth-datadir" \
118119
--gcmode archive --cache.noprefetch \
119120
--http --http.addr "0.0.0.0" --http.port 8545 --http.api "eth,net,web3,debug,scroll" \
120-
--l1.endpoint "$L2GETH_L1_ENDPOINT" --rollup.verify
121+
--l1.endpoint "$L2GETH_L1_ENDPOINT" --rollup.verify \
122+
--gpo.congestionthreshold=500
121123
```
122124
For Scroll Sepolia, set the chain ID to 534351 and use `--scroll-sepolia` instead of `--scroll`.
123125

0 commit comments

Comments
 (0)