classic where classic belongs
This commit is contained in:
106
arb/arbnode/arbitrum-one-arbnode-archive-leveldb-hash.yml
Normal file
106
arb/arbnode/arbitrum-one-arbnode-archive-leveldb-hash.yml
Normal file
@@ -0,0 +1,106 @@
|
||||
---
|
||||
|
||||
# Usage:
|
||||
#
|
||||
# mkdir rpc && cd rpc
|
||||
#
|
||||
# git init
|
||||
# git remote add origin https://github.com/StakeSquid/ethereum-rpc-docker.git
|
||||
# git fetch origin vibe
|
||||
# git checkout origin/vibe
|
||||
#
|
||||
# docker run --rm alpine sh -c "printf '0x'; head -c32 /dev/urandom | xxd -p -c 64" > .jwtsecret
|
||||
#
|
||||
# env
|
||||
# ...
|
||||
# IP=$(curl ipinfo.io/ip)
|
||||
# DOMAIN=${IP}.traefik.me
|
||||
# COMPOSE_FILE=base.yml:rpc.yml:arb/arbnode/arbitrum-one-arbnode-archive-leveldb-hash.yml
|
||||
#
|
||||
# docker compose up -d
|
||||
#
|
||||
# curl -X POST https://${IP}.traefik.me/arbitrum-one-archive \
|
||||
# -H "Content-Type: application/json" \
|
||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||
|
||||
services:
|
||||
arbitrum-one-archive:
|
||||
image: ${ARBITRUM_ARBNODE_IMAGE:-offchainlabs/arb-node}:${ARBITRUM_ONE_ARBNODE_VERSION:-v1.4.5-e97c1a4}
|
||||
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
|
||||
expose:
|
||||
- 8545
|
||||
- 8546
|
||||
entrypoint: [/home/user/go/bin/arb-node]
|
||||
command:
|
||||
- --core.checkpoint-gas-frequency=156250000
|
||||
- --l1.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||
- --l2.disable-upstream
|
||||
- --metrics
|
||||
- --metrics-server.addr=0.0.0.0
|
||||
- --metrics-server.port=7070
|
||||
- --node.cache.allow-slow-lookup
|
||||
- --node.chain-id=42161
|
||||
- --node.rpc.addr=0.0.0.0
|
||||
- --node.rpc.enable-l1-calls
|
||||
- --node.rpc.port=8545
|
||||
- --node.rpc.tracing.enable
|
||||
- --node.rpc.tracing.namespace=trace
|
||||
- --node.ws.addr=0.0.0.0
|
||||
- --node.ws.port=8546
|
||||
- --persistent.chain=/data/datadir/
|
||||
- --persistent.global-config=/data/
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 5m
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ${ARBITRUM_ONE_ARBNODE_ARCHIVE_LEVELDB_HASH_DATA:-arbitrum-one-arbnode-archive-leveldb-hash}:/data
|
||||
- /slowdisk:/slowdisk
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.arbitrum-one-arbnode-archive-leveldb-hash-stripprefix.stripprefix.prefixes=/arbitrum-one-archive
|
||||
- traefik.http.services.arbitrum-one-arbnode-archive-leveldb-hash.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.arbitrum-one-arbnode-archive-leveldb-hash.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.arbitrum-one-arbnode-archive-leveldb-hash.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.arbitrum-one-arbnode-archive-leveldb-hash.rule=Host(`$DOMAIN`) && (Path(`/arbitrum-one-archive`) || Path(`/arbitrum-one-archive/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.arbitrum-one-arbnode-archive-leveldb-hash.rule=Path(`/arbitrum-one-archive`) || Path(`/arbitrum-one-archive/`)}
|
||||
- traefik.http.routers.arbitrum-one-arbnode-archive-leveldb-hash.middlewares=arbitrum-one-arbnode-archive-leveldb-hash-stripprefix, ipallowlist
|
||||
|
||||
volumes:
|
||||
arbitrum-one-arbnode-archive-leveldb-hash:
|
||||
|
||||
x-upstreams:
|
||||
- id: $${ID}
|
||||
labels:
|
||||
provider: $${PROVIDER}
|
||||
connection:
|
||||
generic:
|
||||
rpc:
|
||||
url: $${RPC_URL}
|
||||
ws:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: arbitrum
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
- filter
|
||||
methods:
|
||||
disabled:
|
||||
enabled:
|
||||
- name: txpool_content # TODO: should be disabled for rollup nodes
|
||||
...
|
||||
@@ -46,6 +46,7 @@ services:
|
||||
- --chain.id=42161
|
||||
- --execution.caching.archive=true
|
||||
- --execution.caching.state-scheme=hash
|
||||
- --execution.rpc.classic-redirect=http://arbitrum-one-archive-classic:8545
|
||||
- --execution.rpc.gas-cap=600000000
|
||||
- --execution.sequencer.enable=false
|
||||
- --http.addr=0.0.0.0
|
||||
@@ -82,7 +83,55 @@ services:
|
||||
- ${NO_SSL:+traefik.http.routers.arbitrum-one-nitro-archive-leveldb-hash.rule=Path(`/arbitrum-one-archive`) || Path(`/arbitrum-one-archive/`)}
|
||||
- traefik.http.routers.arbitrum-one-nitro-archive-leveldb-hash.middlewares=arbitrum-one-nitro-archive-leveldb-hash-stripprefix, ipallowlist
|
||||
|
||||
arbitrum-one-archive-classic:
|
||||
image: ${ARBITRUM_ARBNODE_IMAGE:-offchainlabs/arb-node}:${ARBITRUM_ONE_ARBNODE_VERSION:-v1.4.5-e97c1a4}
|
||||
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
|
||||
expose:
|
||||
- 8545
|
||||
- 8546
|
||||
entrypoint: [/home/user/go/bin/arb-node]
|
||||
command:
|
||||
- --core.checkpoint-gas-frequency=156250000
|
||||
- --l1.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||
- --l2.disable-upstream
|
||||
- --metrics
|
||||
- --metrics-server.addr=0.0.0.0
|
||||
- --metrics-server.port=7070
|
||||
- --node.cache.allow-slow-lookup
|
||||
- --node.chain-id=42161
|
||||
- --node.rpc.addr=0.0.0.0
|
||||
- --node.rpc.enable-l1-calls
|
||||
- --node.rpc.port=8545
|
||||
- --node.rpc.tracing.enable
|
||||
- --node.rpc.tracing.namespace=trace
|
||||
- --node.ws.addr=0.0.0.0
|
||||
- --node.ws.port=8546
|
||||
- --persistent.chain=/data/datadir/
|
||||
- --persistent.global-config=/data/
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 5m
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ${ARBITRUM_ONE_ARBNODE_ARCHIVE_LEVELDB_HASH_DATA:-arbitrum-one-arbnode-archive-leveldb-hash}:/data
|
||||
- /slowdisk:/slowdisk
|
||||
labels: []
|
||||
|
||||
volumes:
|
||||
arbitrum-one-arbnode-archive-leveldb-hash:
|
||||
arbitrum-one-nitro-archive-leveldb-hash:
|
||||
|
||||
x-upstreams:
|
||||
|
||||
@@ -60,6 +60,7 @@ services:
|
||||
- --p2p.allowed-ports=32509
|
||||
- --p2p.allowed-ports=37509
|
||||
- --port=12509
|
||||
- --rollup.historicalrpc="http://op-mainnet-archive-classic:8545"
|
||||
- --rollup.sequencerhttp=https://mainnet-sequencer.optimism.io
|
||||
- --rpc.gascap=6000000000
|
||||
- --rpc.returndata.limit=1100000
|
||||
@@ -75,10 +76,13 @@ services:
|
||||
- --authrpc.vhosts=*
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 5m
|
||||
depends_on:
|
||||
- op-mainnet-archive-classic
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ${OP_MAINNET_OP_ERIGON_ARCHIVE_TRACE_DATA:-op-mainnet-op-erigon-archive-trace}:/root/.local/share/erigon
|
||||
- ./op/op/mainnet:/config
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
- /slowdisk:/slowdisk
|
||||
labels:
|
||||
@@ -127,9 +131,67 @@ services:
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ./op/op/mainnet:/config
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
|
||||
op-mainnet-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
|
||||
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
|
||||
- --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
|
||||
labels: []
|
||||
|
||||
volumes:
|
||||
op-mainnet-l2geth-archive-leveldb-hash:
|
||||
op-mainnet-op-erigon-archive-trace:
|
||||
|
||||
x-upstreams:
|
||||
|
||||
@@ -58,6 +58,7 @@ services:
|
||||
- --maxpeers=50
|
||||
- --nat=extip:${IP}
|
||||
- --port=13399
|
||||
- --rollup.historicalrpc=http://op-mainnet-archive-classic:8545
|
||||
- --rpc.gascap=600000000
|
||||
- --rpc.txfeecap=0
|
||||
- --state.scheme=hash
|
||||
@@ -77,10 +78,13 @@ services:
|
||||
- --authrpc.vhosts=*
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 5m
|
||||
depends_on:
|
||||
- op-mainnet-archive-classic
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ${OP_MAINNET_OP_GETH_ARCHIVE_LEVELDB_HASH_DATA:-op-mainnet-op-geth-archive-leveldb-hash}:/data
|
||||
- ./op/op/mainnet:/config
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
- /slowdisk:/slowdisk
|
||||
labels:
|
||||
@@ -128,9 +132,67 @@ services:
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ./op/op/mainnet:/config
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
|
||||
op-mainnet-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
|
||||
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
|
||||
- --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
|
||||
labels: []
|
||||
|
||||
volumes:
|
||||
op-mainnet-l2geth-archive-leveldb-hash:
|
||||
op-mainnet-op-geth-archive-leveldb-hash:
|
||||
|
||||
x-upstreams:
|
||||
|
||||
@@ -81,6 +81,7 @@ services:
|
||||
- chains
|
||||
volumes:
|
||||
- ${OP_MAINNET_OP_GETH_PRUNED_PEBBLE_PATH_DATA:-op-mainnet-op-geth-pruned-pebble-path}:/data
|
||||
- ./op/op/mainnet:/config
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
- /slowdisk:/slowdisk
|
||||
labels:
|
||||
@@ -128,6 +129,7 @@ services:
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ./op/op/mainnet:/config
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
|
||||
volumes:
|
||||
|
||||
131
op/l2geth/op-mainnet-l2geth-archive-leveldb-hash.yml
Normal file
131
op/l2geth/op-mainnet-l2geth-archive-leveldb-hash.yml
Normal file
@@ -0,0 +1,131 @@
|
||||
---
|
||||
|
||||
# Usage:
|
||||
#
|
||||
# mkdir rpc && cd rpc
|
||||
#
|
||||
# git init
|
||||
# git remote add origin https://github.com/StakeSquid/ethereum-rpc-docker.git
|
||||
# git fetch origin vibe
|
||||
# git checkout origin/vibe
|
||||
#
|
||||
# docker run --rm alpine sh -c "printf '0x'; head -c32 /dev/urandom | xxd -p -c 64" > .jwtsecret
|
||||
#
|
||||
# env
|
||||
# ...
|
||||
# IP=$(curl ipinfo.io/ip)
|
||||
# DOMAIN=${IP}.traefik.me
|
||||
# COMPOSE_FILE=base.yml:rpc.yml:op/l2geth/op-mainnet-l2geth-archive-leveldb-hash.yml
|
||||
#
|
||||
# docker compose up -d
|
||||
#
|
||||
# curl -X POST https://${IP}.traefik.me/op-mainnet-archive \
|
||||
# -H "Content-Type: application/json" \
|
||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||
|
||||
services:
|
||||
op-mainnet-archive:
|
||||
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
|
||||
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
|
||||
- --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
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.op-mainnet-l2geth-archive-leveldb-hash-stripprefix.stripprefix.prefixes=/op-mainnet-archive
|
||||
- traefik.http.services.op-mainnet-l2geth-archive-leveldb-hash.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.op-mainnet-l2geth-archive-leveldb-hash.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.op-mainnet-l2geth-archive-leveldb-hash.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.op-mainnet-l2geth-archive-leveldb-hash.rule=Host(`$DOMAIN`) && (Path(`/op-mainnet-archive`) || Path(`/op-mainnet-archive/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.op-mainnet-l2geth-archive-leveldb-hash.rule=Path(`/op-mainnet-archive`) || Path(`/op-mainnet-archive/`)}
|
||||
- traefik.http.routers.op-mainnet-l2geth-archive-leveldb-hash.middlewares=op-mainnet-l2geth-archive-leveldb-hash-stripprefix, ipallowlist
|
||||
|
||||
volumes:
|
||||
op-mainnet-l2geth-archive-leveldb-hash:
|
||||
|
||||
x-upstreams:
|
||||
- id: $${ID}
|
||||
labels:
|
||||
provider: $${PROVIDER}
|
||||
connection:
|
||||
generic:
|
||||
rpc:
|
||||
url: $${RPC_URL}
|
||||
ws:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: optimism
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
- filter
|
||||
methods:
|
||||
disabled:
|
||||
enabled:
|
||||
- name: txpool_content # TODO: should be disabled for rollup nodes
|
||||
# standard geth only
|
||||
- name: debug_getRawBlock
|
||||
- name: debug_getRawTransaction
|
||||
- name: debug_getRawReceipts
|
||||
- name: debug_getRawHeader
|
||||
- name: debug_getBadBlocks
|
||||
# non standard geth only slightly dangerous
|
||||
- name: debug_intermediateRoots
|
||||
- name: debug_dumpBlock
|
||||
# standard geth and erigon
|
||||
- name: debug_accountRange
|
||||
- name: debug_getModifiedAccountsByNumber
|
||||
- name: debug_getModifiedAccountsByHash
|
||||
# non standard geth and erigon
|
||||
- name: eth_getRawTransactionByHash
|
||||
- name: eth_getRawTransactionByBlockHashAndIndex
|
||||
...
|
||||
16
op/op/mainnet/dtl.env
Normal file
16
op/op/mainnet/dtl.env
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
DATA_TRANSPORT_LAYER__ADDRESS_MANAGER=0xdE1FCfB0851916CA5101820A69b13a4E276bd81F
|
||||
DATA_TRANSPORT_LAYER__L1_START_HEIGHT=13596466
|
||||
DATA_TRANSPORT_LAYER__CONFIRMATIONS=12
|
||||
DATA_TRANSPORT_LAYER__DANGEROUSLY_CATCH_ALL_ERRORS=true
|
||||
DATA_TRANSPORT_LAYER__DB_PATH=/db
|
||||
DATA_TRANSPORT_LAYER__ENABLE_METRICS=true
|
||||
DATA_TRANSPORT_LAYER__ETH_NETWORK_NAME=mainnet
|
||||
DATA_TRANSPORT_LAYER__L2_CHAIN_ID=10
|
||||
DATA_TRANSPORT_LAYER__LOGS_PER_POLLING_INTERVAL=2000
|
||||
DATA_TRANSPORT_LAYER__NODE_ENV=production
|
||||
DATA_TRANSPORT_LAYER__POLLING_INTERVAL=500
|
||||
DATA_TRANSPORT_LAYER__SENTRY_TRACE_RATE=0.05
|
||||
DATA_TRANSPORT_LAYER__SERVER_HOSTNAME=0.0.0.0
|
||||
DATA_TRANSPORT_LAYER__SERVER_PORT=7878
|
||||
DATA_TRANSPORT_LAYER__TRANSACTIONS_PER_POLLING_INTERVAL=1000
|
||||
30
op/op/mainnet/l2geth.env
Normal file
30
op/op/mainnet/l2geth.env
Normal file
@@ -0,0 +1,30 @@
|
||||
USING_OVM=true
|
||||
SEQUENCER_CLIENT_HTTP=https://mainnet.optimism.io
|
||||
BLOCK_SIGNER_ADDRESS=0x00000398232E2064F896018496b4b44b3D62751F
|
||||
BLOCK_SIGNER_PRIVATE_KEY=6587ae678cf4fc9a33000cdbf9f35226b71dcc6a4684a31203241f9bcfd55d27
|
||||
BLOCK_SIGNER_PRIVATE_KEY_PASSWORD=pwd
|
||||
ETH1_CTC_DEPLOYMENT_HEIGHT=13596466
|
||||
ETH1_SYNC_SERVICE_ENABLE=true
|
||||
L2GETH_GENESIS_URL=https://storage.googleapis.com/optimism/mainnet/genesis-berlin.json
|
||||
L2GETH_GENESIS_HASH=0x106b0a3247ca54714381b1109e82cc6b7e32fd79ae56fbcc2e7b1541122f84ea
|
||||
ROLLUP_CLIENT_HTTP=http://optimism-dtl:7878
|
||||
ROLLUP_MAX_CALLDATA_SIZE=40000
|
||||
ROLLUP_POLL_INTERVAL_FLAG=1s
|
||||
ROLLUP_VERIFIER_ENABLE=true
|
||||
DATADIR=/geth
|
||||
CHAIN_ID=10
|
||||
NETWORK_ID=10
|
||||
NO_DISCOVER=true
|
||||
NO_USB=true
|
||||
GASPRICE=0
|
||||
TARGET_GAS_LIMIT=15000000
|
||||
RPC_ADDR=0.0.0.0
|
||||
RPC_API=eth,rollup,net,web3,debug
|
||||
RPC_CORS_DOMAIN=*
|
||||
RPC_ENABLE=true
|
||||
RPC_PORT=8545
|
||||
RPC_VHOSTS=*
|
||||
WS_ADDR=0.0.0.0
|
||||
WS_API=eth,rollup,net,web3,debug
|
||||
WS_ORIGINS=*
|
||||
WS=true
|
||||
@@ -81,6 +81,7 @@ services:
|
||||
- chains
|
||||
volumes:
|
||||
- ${OP_MAINNET_OP_RETH_ARCHIVE_TRACE_DATA:-op-mainnet-op-reth-archive-trace}:/root/.local/share/reth
|
||||
- ./op/op/mainnet:/config
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
- /slowdisk:/slowdisk
|
||||
labels:
|
||||
@@ -129,6 +130,7 @@ services:
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ./op/op/mainnet:/config
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
|
||||
volumes:
|
||||
|
||||
@@ -81,6 +81,7 @@ services:
|
||||
- chains
|
||||
volumes:
|
||||
- ${OP_MAINNET_OP_RETH_MINIMAL_TRACE_DATA:-op-mainnet-op-reth-minimal-trace}:/root/.local/share/reth
|
||||
- ./op/op/mainnet:/config
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
- /slowdisk:/slowdisk
|
||||
labels:
|
||||
@@ -129,6 +130,7 @@ services:
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ./op/op/mainnet:/config
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
|
||||
volumes:
|
||||
|
||||
@@ -82,6 +82,7 @@ services:
|
||||
- chains
|
||||
volumes:
|
||||
- ${OP_MAINNET_OP_RETH_PRUNED_TRACE_DATA:-op-mainnet-op-reth-pruned-trace}:/root/.local/share/reth
|
||||
- ./op/op/mainnet:/config
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
- /slowdisk:/slowdisk
|
||||
labels:
|
||||
@@ -130,6 +131,7 @@ services:
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ./op/op/mainnet:/config
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user