better classic
This commit is contained in:
@@ -69,6 +69,7 @@ services:
|
|||||||
- --p2p.allowed-ports=32509
|
- --p2p.allowed-ports=32509
|
||||||
- --p2p.allowed-ports=37509
|
- --p2p.allowed-ports=37509
|
||||||
- --port=12509
|
- --port=12509
|
||||||
|
- --rollup.historicalrpc=${OP_MAINNET_CLASSIC_ARCHIVE_RPC}
|
||||||
- --rollup.sequencerhttp=https://mainnet-sequencer.optimism.io
|
- --rollup.sequencerhttp=https://mainnet-sequencer.optimism.io
|
||||||
- --rpc.gascap=6000000000
|
- --rpc.gascap=6000000000
|
||||||
- --rpc.returndata.limit=1100000
|
- --rpc.returndata.limit=1100000
|
||||||
@@ -151,76 +152,7 @@ services:
|
|||||||
- prometheus-scrape.port=7300
|
- prometheus-scrape.port=7300
|
||||||
- prometheus-scrape.path=/metrics
|
- prometheus-scrape.path=/metrics
|
||||||
|
|
||||||
op-mainnet-l2geth-archive-classic:
|
|
||||||
image: ${OP_L2GETH_IMAGE:-ethereumoptimism/l2geth}:${OP_MAINNET_L2GETH_VERSION:-0.5.31}
|
|
||||||
sysctls:
|
|
||||||
# TCP Performance
|
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
|
||||||
net.ipv4.tcp_no_metrics_save: 1 # Disable metrics cache
|
|
||||||
net.ipv4.tcp_rmem: 4096 87380 16777216 # Increase TCP read buffers
|
|
||||||
net.ipv4.tcp_wmem: 4096 87380 16777216 # Increase TCP write buffers
|
|
||||||
net.core.somaxconn: 32768 # Higher connection queue
|
|
||||||
# Memory/Connection Management
|
|
||||||
# net.core.netdev_max_backlog: 50000 # Increase network buffer
|
|
||||||
net.ipv4.tcp_max_syn_backlog: 30000 # More SYN requests
|
|
||||||
net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets
|
|
||||||
ulimits:
|
|
||||||
nofile: 1048576 # Max open files (for RPC/WS connections)
|
|
||||||
user: root
|
|
||||||
ports:
|
|
||||||
- 12952:12952
|
|
||||||
- 12952:12952/udp
|
|
||||||
expose:
|
|
||||||
- 8545
|
|
||||||
- 6060
|
|
||||||
env_file:
|
|
||||||
- ./op/op/mainnet/l2geth.env
|
|
||||||
environment:
|
|
||||||
- ROLLUP_BACKEND=l2
|
|
||||||
- SYNC_SOURCE=l2
|
|
||||||
command:
|
|
||||||
- --datadir=/geth
|
|
||||||
- --gcmode=archive
|
|
||||||
- --http
|
|
||||||
- --http.addr=0.0.0.0
|
|
||||||
- --http.api=eth,net,web3,admin,debug
|
|
||||||
- --http.port=8545
|
|
||||||
- --http.vhosts=*
|
|
||||||
- --maxpeers=50
|
|
||||||
- --metrics
|
|
||||||
- --metrics.addr=0.0.0.0
|
|
||||||
- --metrics.port=6060
|
|
||||||
- --nat=extip:${IP}
|
|
||||||
- --port=12952
|
|
||||||
- --rpc.gascap=600000000
|
|
||||||
- --rpc.txfeecap=0
|
|
||||||
- --syncmode=full
|
|
||||||
- --vmodule=eth/*=5,miner=4,rpc=5,rollup=4,consensus/clique=1
|
|
||||||
- --ws
|
|
||||||
- --ws.addr=0.0.0.0
|
|
||||||
- --ws.api=eth,net,web3,admin,debug
|
|
||||||
- --ws.origins=*
|
|
||||||
- --ws.port=8545
|
|
||||||
restart: unless-stopped
|
|
||||||
stop_grace_period: 5m
|
|
||||||
networks:
|
|
||||||
- chains
|
|
||||||
volumes:
|
|
||||||
- ${OP_MAINNET_L2GETH_ARCHIVE_LEVELDB_HASH_DATA:-op-mainnet-l2geth-archive-leveldb-hash}:/geth
|
|
||||||
- ./op/op/mainnet:/config
|
|
||||||
- /slowdisk:/slowdisk
|
|
||||||
logging:
|
|
||||||
driver: json-file
|
|
||||||
options:
|
|
||||||
max-size: 10m
|
|
||||||
max-file: '3'
|
|
||||||
labels:
|
|
||||||
- prometheus-scrape.enabled=true
|
|
||||||
- prometheus-scrape.port=6060
|
|
||||||
- prometheus-scrape.path=/debug/metrics/prometheus
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
op-mainnet-l2geth-archive-leveldb-hash:
|
|
||||||
op-mainnet-op-erigon-archive-trace:
|
op-mainnet-op-erigon-archive-trace:
|
||||||
|
|
||||||
x-upstreams:
|
x-upstreams:
|
||||||
|
|||||||
@@ -71,6 +71,7 @@ services:
|
|||||||
- --nat=extip:${IP}
|
- --nat=extip:${IP}
|
||||||
- --networkid=44787
|
- --networkid=44787
|
||||||
- --port=10895
|
- --port=10895
|
||||||
|
- --rollup.historicalrpc=${CELO_ALFAJORES_CLASSIC_ARCHIVE_RPC}
|
||||||
- --rpc.gascap=600000000
|
- --rpc.gascap=600000000
|
||||||
- --rpc.txfeecap=0
|
- --rpc.txfeecap=0
|
||||||
- --state.scheme=hash
|
- --state.scheme=hash
|
||||||
|
|||||||
@@ -71,6 +71,7 @@ services:
|
|||||||
- --nat=extip:${IP}
|
- --nat=extip:${IP}
|
||||||
- --networkid=42220
|
- --networkid=42220
|
||||||
- --port=12111
|
- --port=12111
|
||||||
|
- --rollup.historicalrpc=${CELO_MAINNET_CLASSIC_ARCHIVE_RPC}
|
||||||
- --rpc.gascap=600000000
|
- --rpc.gascap=600000000
|
||||||
- --rpc.txfeecap=0
|
- --rpc.txfeecap=0
|
||||||
- --state.scheme=hash
|
- --state.scheme=hash
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ services:
|
|||||||
- --metrics.port=6060
|
- --metrics.port=6060
|
||||||
- --nat=extip:${IP}
|
- --nat=extip:${IP}
|
||||||
- --port=13399
|
- --port=13399
|
||||||
|
- --rollup.historicalrpc=${OP_MAINNET_CLASSIC_ARCHIVE_RPC}
|
||||||
- --rpc.gascap=600000000
|
- --rpc.gascap=600000000
|
||||||
- --rpc.txfeecap=0
|
- --rpc.txfeecap=0
|
||||||
- --state.scheme=hash
|
- --state.scheme=hash
|
||||||
|
|||||||
@@ -63,6 +63,7 @@ services:
|
|||||||
- --metrics=0.0.0.0:9001
|
- --metrics=0.0.0.0:9001
|
||||||
- --nat=extip:${IP}
|
- --nat=extip:${IP}
|
||||||
- --port=11114
|
- --port=11114
|
||||||
|
- --rollup.historicalrpc=${OP_MAINNET_CLASSIC_ARCHIVE_RPC}
|
||||||
- --rollup.sequencer-http=https://mainnet-sequencer.optimism.io
|
- --rollup.sequencer-http=https://mainnet-sequencer.optimism.io
|
||||||
- --rpc-cache.max-blocks=10000
|
- --rpc-cache.max-blocks=10000
|
||||||
- --rpc-cache.max-concurrent-db-requests=2048
|
- --rpc-cache.max-concurrent-db-requests=2048
|
||||||
|
|||||||
@@ -63,6 +63,7 @@ services:
|
|||||||
- --metrics=0.0.0.0:9001
|
- --metrics=0.0.0.0:9001
|
||||||
- --nat=extip:${IP}
|
- --nat=extip:${IP}
|
||||||
- --port=11845
|
- --port=11845
|
||||||
|
- --rollup.historicalrpc=${OP_MAINNET_CLASSIC_ARCHIVE_RPC}
|
||||||
- --rollup.sequencer-http=https://mainnet-sequencer.optimism.io
|
- --rollup.sequencer-http=https://mainnet-sequencer.optimism.io
|
||||||
- --rpc-cache.max-blocks=10000
|
- --rpc-cache.max-blocks=10000
|
||||||
- --rpc-cache.max-concurrent-db-requests=2048
|
- --rpc-cache.max-concurrent-db-requests=2048
|
||||||
|
|||||||
@@ -64,6 +64,7 @@ services:
|
|||||||
- --metrics=0.0.0.0:9001
|
- --metrics=0.0.0.0:9001
|
||||||
- --nat=extip:${IP}
|
- --nat=extip:${IP}
|
||||||
- --port=13985
|
- --port=13985
|
||||||
|
- --rollup.historicalrpc=${OP_MAINNET_CLASSIC_ARCHIVE_RPC}
|
||||||
- --rollup.sequencer-http=https://mainnet-sequencer.optimism.io
|
- --rollup.sequencer-http=https://mainnet-sequencer.optimism.io
|
||||||
- --rpc-cache.max-blocks=10000
|
- --rpc-cache.max-blocks=10000
|
||||||
- --rpc-cache.max-concurrent-db-requests=2048
|
- --rpc-cache.max-concurrent-db-requests=2048
|
||||||
|
|||||||
Reference in New Issue
Block a user