Compare commits
2
Commits
issue-5365
...
issue-5389
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c3a7dd9ec6 | ||
|
|
0f7b16df80 |
@@ -3699,6 +3699,78 @@
|
||||
"goat-testnet3-geth-pruned-pebble-path"
|
||||
]
|
||||
},
|
||||
{
|
||||
"chain": "alpha",
|
||||
"client": "reth",
|
||||
"compose_file": "gravity/reth/gravity-alpha-reth-pruned-trace",
|
||||
"drpc_chain": "gravity-alpha",
|
||||
"features": [
|
||||
"trace"
|
||||
],
|
||||
"network": "gravity",
|
||||
"node": "aptosbft",
|
||||
"relay": null,
|
||||
"stack": null,
|
||||
"type": "pruned",
|
||||
"volumes": [
|
||||
"gravity-alpha-reth-pruned-trace",
|
||||
"gravity-alpha-reth-pruned-trace-consensus"
|
||||
]
|
||||
},
|
||||
{
|
||||
"chain": "alpha-sepolia",
|
||||
"client": "reth",
|
||||
"compose_file": "gravity/reth/gravity-alpha-sepolia-reth-pruned-trace",
|
||||
"drpc_chain": "gravity-alpha-sepolia",
|
||||
"features": [
|
||||
"trace"
|
||||
],
|
||||
"network": "gravity",
|
||||
"node": "aptosbft",
|
||||
"relay": null,
|
||||
"stack": null,
|
||||
"type": "pruned",
|
||||
"volumes": [
|
||||
"gravity-alpha-sepolia-reth-pruned-trace",
|
||||
"gravity-alpha-sepolia-reth-pruned-trace-consensus"
|
||||
]
|
||||
},
|
||||
{
|
||||
"chain": "mainnet",
|
||||
"client": "reth",
|
||||
"compose_file": "gravity/reth/gravity-mainnet-reth-pruned-trace",
|
||||
"drpc_chain": "gravity",
|
||||
"features": [
|
||||
"trace"
|
||||
],
|
||||
"network": "gravity",
|
||||
"node": "aptosbft",
|
||||
"relay": null,
|
||||
"stack": null,
|
||||
"type": "pruned",
|
||||
"volumes": [
|
||||
"gravity-mainnet-reth-pruned-trace",
|
||||
"gravity-mainnet-reth-pruned-trace-consensus"
|
||||
]
|
||||
},
|
||||
{
|
||||
"chain": "testnet",
|
||||
"client": "reth",
|
||||
"compose_file": "gravity/reth/gravity-testnet-reth-pruned-trace",
|
||||
"drpc_chain": "gravity-testnet",
|
||||
"features": [
|
||||
"trace"
|
||||
],
|
||||
"network": "gravity",
|
||||
"node": "aptosbft",
|
||||
"relay": null,
|
||||
"stack": null,
|
||||
"type": "pruned",
|
||||
"volumes": [
|
||||
"gravity-testnet-reth-pruned-trace",
|
||||
"gravity-testnet-reth-pruned-trace-consensus"
|
||||
]
|
||||
},
|
||||
{
|
||||
"chain": "mainnet",
|
||||
"client": "haqq",
|
||||
|
||||
@@ -0,0 +1,176 @@
|
||||
---
|
||||
x-logging-defaults: &logging-defaults
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "512m"
|
||||
max-file: "2"
|
||||
|
||||
# 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:gravity/reth/gravity-alpha-reth-pruned-trace.yml
|
||||
#
|
||||
# docker compose up -d
|
||||
#
|
||||
# curl -X POST https://${IP}.traefik.me/gravity-alpha \
|
||||
# -H "Content-Type: application/json" \
|
||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||
|
||||
services:
|
||||
gravity-alpha:
|
||||
image: ${GRAVITY_RETH_IMAGE:-ghcr.io/galxe/gravity-reth}:${GRAVITY_ALPHA_RETH_VERSION:-v0.2.0}
|
||||
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)
|
||||
memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX)
|
||||
user: 0:0
|
||||
ports:
|
||||
- 13821:13821
|
||||
- 13821:13821/udp
|
||||
expose:
|
||||
- 8545
|
||||
- 9001
|
||||
- 8551
|
||||
entrypoint: [reth, node]
|
||||
command:
|
||||
- --chain=gravity-alpha
|
||||
- --datadir=/execution
|
||||
- --discovery.port=13821
|
||||
- --engine.cross-block-cache-size=${GRAVITY_ALPHA_RETH_STATE_CACHE:-4096}
|
||||
- --engine.memory-block-buffer-target=1024
|
||||
- --engine.persistence-threshold=0
|
||||
- --full
|
||||
- --max-inbound-peers=50
|
||||
- --max-outbound-peers=50
|
||||
- --metrics=0.0.0.0:9001
|
||||
- --nat=extip:${IP}
|
||||
- --port=13821
|
||||
- --rpc-cache.max-blocks=10000
|
||||
- --rpc-cache.max-concurrent-db-requests=2048
|
||||
- --rpc.gascap=600000000
|
||||
- --rpc.max-blocks-per-filter=0
|
||||
- --rpc.max-connections=50000
|
||||
- --rpc.max-logs-per-response=0
|
||||
- --http
|
||||
- --http.addr=0.0.0.0
|
||||
- --http.api=eth,net,web3,txpool,debug
|
||||
- --http.corsdomain=*
|
||||
- --http.port=8545
|
||||
- --ws
|
||||
- --ws.addr=0.0.0.0
|
||||
- --ws.api=eth,net,web3,txpool,debug
|
||||
- --ws.origins=*
|
||||
- --ws.port=8545
|
||||
- --authrpc.addr=0.0.0.0
|
||||
- --authrpc.jwtsecret=/jwtsecret
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 5m
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ${GRAVITY_ALPHA_RETH_PRUNED_TRACE_DATA:-gravity-alpha-reth-pruned-trace}:/execution
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
- /slowdisk:/slowdisk
|
||||
logging: *logging-defaults
|
||||
labels:
|
||||
- prometheus-scrape.enabled=true
|
||||
- prometheus-scrape.port=9001
|
||||
- prometheus-scrape.path=/metrics
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.gravity-alpha-reth-pruned-trace-stripprefix.stripprefix.prefixes=/gravity-alpha
|
||||
- traefik.http.services.gravity-alpha-reth-pruned-trace.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.gravity-alpha-reth-pruned-trace.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.gravity-alpha-reth-pruned-trace.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.gravity-alpha-reth-pruned-trace.rule=Host(`$DOMAIN`) && (Path(`/gravity-alpha`) || Path(`/gravity-alpha/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.gravity-alpha-reth-pruned-trace.rule=Path(`/gravity-alpha`) || Path(`/gravity-alpha/`)}
|
||||
- traefik.http.routers.gravity-alpha-reth-pruned-trace.middlewares=gravity-alpha-reth-pruned-trace-stripprefix, ipallowlist
|
||||
shm_size: 2gb
|
||||
|
||||
gravity-alpha-node:
|
||||
image: ${GRAVITY_APTOSBFT_IMAGE:-ghcr.io/galxe/gravity_node}:${GRAVITY_ALPHA_APTOSBFT_VERSION:-v1.10.0}
|
||||
user: 0:0
|
||||
ports:
|
||||
- 18821:26180
|
||||
- 18822:26181
|
||||
- 9001:9001
|
||||
environment:
|
||||
- GRAVITY_NETWORK=alpha
|
||||
- IP=${IP}
|
||||
entrypoint: [/bin/bash, -c]
|
||||
command:
|
||||
- |
|
||||
# Generate or use existing consensus config
|
||||
if [ ! -f /config/public_full_node.yaml ]; then
|
||||
gravity-node init --config-dir /config --chain alpha
|
||||
fi
|
||||
# Start the consensus node
|
||||
exec gravity-node run --config /config/public_full_node.yaml
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 5m
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ${GRAVITY_ALPHA_RETH_PRUNED_TRACE_CONSENSUS_DATA:-gravity-alpha-reth-pruned-trace-consensus}:/data/consensus:rw
|
||||
- ./gravity/alpha/genesis.blob:/config/genesis.blob:ro
|
||||
- ./gravity/alpha/public_full_node.yaml:/config/public_full_node.yaml:ro
|
||||
- ./gravity/alpha/waypoint.txt:/config/waypoint.txt:ro
|
||||
healthcheck:
|
||||
test: [CMD-SHELL, wget -qO- http://localhost:9001/health || exit 1]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 60s
|
||||
logging: *logging-defaults
|
||||
labels:
|
||||
- prometheus-scrape.enabled=true
|
||||
- prometheus-scrape.port=9001
|
||||
|
||||
volumes:
|
||||
gravity-alpha-reth-pruned-trace:
|
||||
gravity-alpha-reth-pruned-trace-consensus:
|
||||
|
||||
x-upstreams:
|
||||
- id: $${ID}
|
||||
labels:
|
||||
provider: $${PROVIDER}
|
||||
connection:
|
||||
generic:
|
||||
rpc:
|
||||
url: $${RPC_URL}
|
||||
ws:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: gravity-alpha
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
- filter
|
||||
- trace
|
||||
methods:
|
||||
disabled:
|
||||
enabled:
|
||||
- name: txpool_content # TODO: should be disabled for rollup nodes
|
||||
...
|
||||
@@ -0,0 +1,176 @@
|
||||
---
|
||||
x-logging-defaults: &logging-defaults
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "512m"
|
||||
max-file: "2"
|
||||
|
||||
# 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:gravity/reth/gravity-alpha-sepolia-reth-pruned-trace.yml
|
||||
#
|
||||
# docker compose up -d
|
||||
#
|
||||
# curl -X POST https://${IP}.traefik.me/gravity-alpha-sepolia \
|
||||
# -H "Content-Type: application/json" \
|
||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||
|
||||
services:
|
||||
gravity-alpha-sepolia:
|
||||
image: ${GRAVITY_RETH_IMAGE:-ghcr.io/galxe/gravity-reth}:${GRAVITY_ALPHA_SEPOLIA_RETH_VERSION:-v0.2.0}
|
||||
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)
|
||||
memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX)
|
||||
user: 0:0
|
||||
ports:
|
||||
- 11338:11338
|
||||
- 11338:11338/udp
|
||||
expose:
|
||||
- 8545
|
||||
- 9001
|
||||
- 8551
|
||||
entrypoint: [reth, node]
|
||||
command:
|
||||
- --chain=gravity-alpha-sepolia
|
||||
- --datadir=/execution
|
||||
- --discovery.port=11338
|
||||
- --engine.cross-block-cache-size=${GRAVITY_ALPHA-SEPOLIA_RETH_STATE_CACHE:-4096}
|
||||
- --engine.memory-block-buffer-target=1024
|
||||
- --engine.persistence-threshold=0
|
||||
- --full
|
||||
- --max-inbound-peers=50
|
||||
- --max-outbound-peers=50
|
||||
- --metrics=0.0.0.0:9001
|
||||
- --nat=extip:${IP}
|
||||
- --port=11338
|
||||
- --rpc-cache.max-blocks=10000
|
||||
- --rpc-cache.max-concurrent-db-requests=2048
|
||||
- --rpc.gascap=600000000
|
||||
- --rpc.max-blocks-per-filter=0
|
||||
- --rpc.max-connections=50000
|
||||
- --rpc.max-logs-per-response=0
|
||||
- --http
|
||||
- --http.addr=0.0.0.0
|
||||
- --http.api=eth,net,web3,txpool,debug
|
||||
- --http.corsdomain=*
|
||||
- --http.port=8545
|
||||
- --ws
|
||||
- --ws.addr=0.0.0.0
|
||||
- --ws.api=eth,net,web3,txpool,debug
|
||||
- --ws.origins=*
|
||||
- --ws.port=8545
|
||||
- --authrpc.addr=0.0.0.0
|
||||
- --authrpc.jwtsecret=/jwtsecret
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 5m
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ${GRAVITY_ALPHA_SEPOLIA_RETH_PRUNED_TRACE_DATA:-gravity-alpha-sepolia-reth-pruned-trace}:/execution
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
- /slowdisk:/slowdisk
|
||||
logging: *logging-defaults
|
||||
labels:
|
||||
- prometheus-scrape.enabled=true
|
||||
- prometheus-scrape.port=9001
|
||||
- prometheus-scrape.path=/metrics
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.gravity-alpha-sepolia-reth-pruned-trace-stripprefix.stripprefix.prefixes=/gravity-alpha-sepolia
|
||||
- traefik.http.services.gravity-alpha-sepolia-reth-pruned-trace.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.gravity-alpha-sepolia-reth-pruned-trace.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.gravity-alpha-sepolia-reth-pruned-trace.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.gravity-alpha-sepolia-reth-pruned-trace.rule=Host(`$DOMAIN`) && (Path(`/gravity-alpha-sepolia`) || Path(`/gravity-alpha-sepolia/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.gravity-alpha-sepolia-reth-pruned-trace.rule=Path(`/gravity-alpha-sepolia`) || Path(`/gravity-alpha-sepolia/`)}
|
||||
- traefik.http.routers.gravity-alpha-sepolia-reth-pruned-trace.middlewares=gravity-alpha-sepolia-reth-pruned-trace-stripprefix, ipallowlist
|
||||
shm_size: 2gb
|
||||
|
||||
gravity-alpha-sepolia-node:
|
||||
image: ${GRAVITY_APTOSBFT_IMAGE:-ghcr.io/galxe/gravity_node}:${GRAVITY_ALPHA_SEPOLIA_APTOSBFT_VERSION:-v1.10.0}
|
||||
user: 0:0
|
||||
ports:
|
||||
- 16338:26180
|
||||
- 16339:26181
|
||||
- 9001:9001
|
||||
environment:
|
||||
- GRAVITY_NETWORK=alpha-sepolia
|
||||
- IP=${IP}
|
||||
entrypoint: [/bin/bash, -c]
|
||||
command:
|
||||
- |
|
||||
# Generate or use existing consensus config
|
||||
if [ ! -f /config/public_full_node.yaml ]; then
|
||||
gravity-node init --config-dir /config --chain alpha-sepolia
|
||||
fi
|
||||
# Start the consensus node
|
||||
exec gravity-node run --config /config/public_full_node.yaml
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 5m
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ${GRAVITY_ALPHA_SEPOLIA_RETH_PRUNED_TRACE_CONSENSUS_DATA:-gravity-alpha-sepolia-reth-pruned-trace-consensus}:/data/consensus:rw
|
||||
- ./gravity/alpha-sepolia/genesis.blob:/config/genesis.blob:ro
|
||||
- ./gravity/alpha-sepolia/public_full_node.yaml:/config/public_full_node.yaml:ro
|
||||
- ./gravity/alpha-sepolia/waypoint.txt:/config/waypoint.txt:ro
|
||||
healthcheck:
|
||||
test: [CMD-SHELL, wget -qO- http://localhost:9001/health || exit 1]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 60s
|
||||
logging: *logging-defaults
|
||||
labels:
|
||||
- prometheus-scrape.enabled=true
|
||||
- prometheus-scrape.port=9001
|
||||
|
||||
volumes:
|
||||
gravity-alpha-sepolia-reth-pruned-trace:
|
||||
gravity-alpha-sepolia-reth-pruned-trace-consensus:
|
||||
|
||||
x-upstreams:
|
||||
- id: $${ID}
|
||||
labels:
|
||||
provider: $${PROVIDER}
|
||||
connection:
|
||||
generic:
|
||||
rpc:
|
||||
url: $${RPC_URL}
|
||||
ws:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: gravity-alpha-sepolia
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
- filter
|
||||
- trace
|
||||
methods:
|
||||
disabled:
|
||||
enabled:
|
||||
- name: txpool_content # TODO: should be disabled for rollup nodes
|
||||
...
|
||||
@@ -0,0 +1,176 @@
|
||||
---
|
||||
x-logging-defaults: &logging-defaults
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "512m"
|
||||
max-file: "2"
|
||||
|
||||
# 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:gravity/reth/gravity-mainnet-reth-pruned-trace.yml
|
||||
#
|
||||
# docker compose up -d
|
||||
#
|
||||
# curl -X POST https://${IP}.traefik.me/gravity-mainnet \
|
||||
# -H "Content-Type: application/json" \
|
||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||
|
||||
services:
|
||||
gravity-mainnet:
|
||||
image: ${GRAVITY_RETH_IMAGE:-ghcr.io/galxe/gravity-reth}:${GRAVITY_MAINNET_RETH_VERSION:-v0.2.0}
|
||||
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)
|
||||
memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX)
|
||||
user: 0:0
|
||||
ports:
|
||||
- 14825:14825
|
||||
- 14825:14825/udp
|
||||
expose:
|
||||
- 8545
|
||||
- 9001
|
||||
- 8551
|
||||
entrypoint: [reth, node]
|
||||
command:
|
||||
- --chain=gravity
|
||||
- --datadir=/execution
|
||||
- --discovery.port=14825
|
||||
- --engine.cross-block-cache-size=${GRAVITY_MAINNET_RETH_STATE_CACHE:-4096}
|
||||
- --engine.memory-block-buffer-target=1024
|
||||
- --engine.persistence-threshold=0
|
||||
- --full
|
||||
- --max-inbound-peers=50
|
||||
- --max-outbound-peers=50
|
||||
- --metrics=0.0.0.0:9001
|
||||
- --nat=extip:${IP}
|
||||
- --port=14825
|
||||
- --rpc-cache.max-blocks=10000
|
||||
- --rpc-cache.max-concurrent-db-requests=2048
|
||||
- --rpc.gascap=600000000
|
||||
- --rpc.max-blocks-per-filter=0
|
||||
- --rpc.max-connections=50000
|
||||
- --rpc.max-logs-per-response=0
|
||||
- --http
|
||||
- --http.addr=0.0.0.0
|
||||
- --http.api=eth,net,web3,txpool,debug
|
||||
- --http.corsdomain=*
|
||||
- --http.port=8545
|
||||
- --ws
|
||||
- --ws.addr=0.0.0.0
|
||||
- --ws.api=eth,net,web3,txpool,debug
|
||||
- --ws.origins=*
|
||||
- --ws.port=8545
|
||||
- --authrpc.addr=0.0.0.0
|
||||
- --authrpc.jwtsecret=/jwtsecret
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 5m
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ${GRAVITY_MAINNET_RETH_PRUNED_TRACE_DATA:-gravity-mainnet-reth-pruned-trace}:/execution
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
- /slowdisk:/slowdisk
|
||||
logging: *logging-defaults
|
||||
labels:
|
||||
- prometheus-scrape.enabled=true
|
||||
- prometheus-scrape.port=9001
|
||||
- prometheus-scrape.path=/metrics
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.gravity-mainnet-reth-pruned-trace-stripprefix.stripprefix.prefixes=/gravity-mainnet
|
||||
- traefik.http.services.gravity-mainnet-reth-pruned-trace.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.gravity-mainnet-reth-pruned-trace.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.gravity-mainnet-reth-pruned-trace.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.gravity-mainnet-reth-pruned-trace.rule=Host(`$DOMAIN`) && (Path(`/gravity-mainnet`) || Path(`/gravity-mainnet/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.gravity-mainnet-reth-pruned-trace.rule=Path(`/gravity-mainnet`) || Path(`/gravity-mainnet/`)}
|
||||
- traefik.http.routers.gravity-mainnet-reth-pruned-trace.middlewares=gravity-mainnet-reth-pruned-trace-stripprefix, ipallowlist
|
||||
shm_size: 2gb
|
||||
|
||||
gravity-mainnet-node:
|
||||
image: ${GRAVITY_APTOSBFT_IMAGE:-ghcr.io/galxe/gravity_node}:${GRAVITY_MAINNET_APTOSBFT_VERSION:-v1.10.0}
|
||||
user: 0:0
|
||||
ports:
|
||||
- 19825:26180
|
||||
- 19826:26181
|
||||
- 9001:9001
|
||||
environment:
|
||||
- GRAVITY_NETWORK=mainnet
|
||||
- IP=${IP}
|
||||
entrypoint: [/bin/bash, -c]
|
||||
command:
|
||||
- |
|
||||
# Generate or use existing consensus config
|
||||
if [ ! -f /config/public_full_node.yaml ]; then
|
||||
gravity-node init --config-dir /config --chain mainnet
|
||||
fi
|
||||
# Start the consensus node
|
||||
exec gravity-node run --config /config/public_full_node.yaml
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 5m
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ${GRAVITY_MAINNET_RETH_PRUNED_TRACE_CONSENSUS_DATA:-gravity-mainnet-reth-pruned-trace-consensus}:/data/consensus:rw
|
||||
- ./gravity/mainnet/genesis.blob:/config/genesis.blob:ro
|
||||
- ./gravity/mainnet/public_full_node.yaml:/config/public_full_node.yaml:ro
|
||||
- ./gravity/mainnet/waypoint.txt:/config/waypoint.txt:ro
|
||||
healthcheck:
|
||||
test: [CMD-SHELL, wget -qO- http://localhost:9001/health || exit 1]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 60s
|
||||
logging: *logging-defaults
|
||||
labels:
|
||||
- prometheus-scrape.enabled=true
|
||||
- prometheus-scrape.port=9001
|
||||
|
||||
volumes:
|
||||
gravity-mainnet-reth-pruned-trace:
|
||||
gravity-mainnet-reth-pruned-trace-consensus:
|
||||
|
||||
x-upstreams:
|
||||
- id: $${ID}
|
||||
labels:
|
||||
provider: $${PROVIDER}
|
||||
connection:
|
||||
generic:
|
||||
rpc:
|
||||
url: $${RPC_URL}
|
||||
ws:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: gravity
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
- filter
|
||||
- trace
|
||||
methods:
|
||||
disabled:
|
||||
enabled:
|
||||
- name: txpool_content # TODO: should be disabled for rollup nodes
|
||||
...
|
||||
@@ -0,0 +1,176 @@
|
||||
---
|
||||
x-logging-defaults: &logging-defaults
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "512m"
|
||||
max-file: "2"
|
||||
|
||||
# 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:gravity/reth/gravity-testnet-reth-pruned-trace.yml
|
||||
#
|
||||
# docker compose up -d
|
||||
#
|
||||
# curl -X POST https://${IP}.traefik.me/gravity-testnet \
|
||||
# -H "Content-Type: application/json" \
|
||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||
|
||||
services:
|
||||
gravity-testnet:
|
||||
image: ${GRAVITY_RETH_IMAGE:-ghcr.io/galxe/gravity-reth}:${GRAVITY_TESTNET_RETH_VERSION:-v0.2.0}
|
||||
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)
|
||||
memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX)
|
||||
user: 0:0
|
||||
ports:
|
||||
- 10052:10052
|
||||
- 10052:10052/udp
|
||||
expose:
|
||||
- 8545
|
||||
- 9001
|
||||
- 8551
|
||||
entrypoint: [reth, node]
|
||||
command:
|
||||
- --chain=gravity-testnet
|
||||
- --datadir=/execution
|
||||
- --discovery.port=10052
|
||||
- --engine.cross-block-cache-size=${GRAVITY_TESTNET_RETH_STATE_CACHE:-4096}
|
||||
- --engine.memory-block-buffer-target=1024
|
||||
- --engine.persistence-threshold=0
|
||||
- --full
|
||||
- --max-inbound-peers=50
|
||||
- --max-outbound-peers=50
|
||||
- --metrics=0.0.0.0:9001
|
||||
- --nat=extip:${IP}
|
||||
- --port=10052
|
||||
- --rpc-cache.max-blocks=10000
|
||||
- --rpc-cache.max-concurrent-db-requests=2048
|
||||
- --rpc.gascap=600000000
|
||||
- --rpc.max-blocks-per-filter=0
|
||||
- --rpc.max-connections=50000
|
||||
- --rpc.max-logs-per-response=0
|
||||
- --http
|
||||
- --http.addr=0.0.0.0
|
||||
- --http.api=eth,net,web3,txpool,debug
|
||||
- --http.corsdomain=*
|
||||
- --http.port=8545
|
||||
- --ws
|
||||
- --ws.addr=0.0.0.0
|
||||
- --ws.api=eth,net,web3,txpool,debug
|
||||
- --ws.origins=*
|
||||
- --ws.port=8545
|
||||
- --authrpc.addr=0.0.0.0
|
||||
- --authrpc.jwtsecret=/jwtsecret
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 5m
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ${GRAVITY_TESTNET_RETH_PRUNED_TRACE_DATA:-gravity-testnet-reth-pruned-trace}:/execution
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
- /slowdisk:/slowdisk
|
||||
logging: *logging-defaults
|
||||
labels:
|
||||
- prometheus-scrape.enabled=true
|
||||
- prometheus-scrape.port=9001
|
||||
- prometheus-scrape.path=/metrics
|
||||
- traefik.enable=true
|
||||
- traefik.http.middlewares.gravity-testnet-reth-pruned-trace-stripprefix.stripprefix.prefixes=/gravity-testnet
|
||||
- traefik.http.services.gravity-testnet-reth-pruned-trace.loadbalancer.server.port=8545
|
||||
- ${NO_SSL:-traefik.http.routers.gravity-testnet-reth-pruned-trace.entrypoints=websecure}
|
||||
- ${NO_SSL:-traefik.http.routers.gravity-testnet-reth-pruned-trace.tls.certresolver=myresolver}
|
||||
- ${NO_SSL:-traefik.http.routers.gravity-testnet-reth-pruned-trace.rule=Host(`$DOMAIN`) && (Path(`/gravity-testnet`) || Path(`/gravity-testnet/`))}
|
||||
- ${NO_SSL:+traefik.http.routers.gravity-testnet-reth-pruned-trace.rule=Path(`/gravity-testnet`) || Path(`/gravity-testnet/`)}
|
||||
- traefik.http.routers.gravity-testnet-reth-pruned-trace.middlewares=gravity-testnet-reth-pruned-trace-stripprefix, ipallowlist
|
||||
shm_size: 2gb
|
||||
|
||||
gravity-testnet-node:
|
||||
image: ${GRAVITY_APTOSBFT_IMAGE:-ghcr.io/galxe/gravity_node}:${GRAVITY_TESTNET_APTOSBFT_VERSION:-v1.10.0}
|
||||
user: 0:0
|
||||
ports:
|
||||
- 15052:26180
|
||||
- 15053:26181
|
||||
- 9001:9001
|
||||
environment:
|
||||
- GRAVITY_NETWORK=testnet
|
||||
- IP=${IP}
|
||||
entrypoint: [/bin/bash, -c]
|
||||
command:
|
||||
- |
|
||||
# Generate or use existing consensus config
|
||||
if [ ! -f /config/public_full_node.yaml ]; then
|
||||
gravity-node init --config-dir /config --chain testnet
|
||||
fi
|
||||
# Start the consensus node
|
||||
exec gravity-node run --config /config/public_full_node.yaml
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 5m
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ${GRAVITY_TESTNET_RETH_PRUNED_TRACE_CONSENSUS_DATA:-gravity-testnet-reth-pruned-trace-consensus}:/data/consensus:rw
|
||||
- ./gravity/testnet/genesis.blob:/config/genesis.blob:ro
|
||||
- ./gravity/testnet/public_full_node.yaml:/config/public_full_node.yaml:ro
|
||||
- ./gravity/testnet/waypoint.txt:/config/waypoint.txt:ro
|
||||
healthcheck:
|
||||
test: [CMD-SHELL, wget -qO- http://localhost:9001/health || exit 1]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 60s
|
||||
logging: *logging-defaults
|
||||
labels:
|
||||
- prometheus-scrape.enabled=true
|
||||
- prometheus-scrape.port=9001
|
||||
|
||||
volumes:
|
||||
gravity-testnet-reth-pruned-trace:
|
||||
gravity-testnet-reth-pruned-trace-consensus:
|
||||
|
||||
x-upstreams:
|
||||
- id: $${ID}
|
||||
labels:
|
||||
provider: $${PROVIDER}
|
||||
connection:
|
||||
generic:
|
||||
rpc:
|
||||
url: $${RPC_URL}
|
||||
ws:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: $${WS_URL}
|
||||
chain: gravity-testnet
|
||||
method-groups:
|
||||
enabled:
|
||||
- debug
|
||||
- filter
|
||||
- trace
|
||||
methods:
|
||||
disabled:
|
||||
enabled:
|
||||
- name: txpool_content # TODO: should be disabled for rollup nodes
|
||||
...
|
||||
@@ -107,7 +107,7 @@ services:
|
||||
shm_size: 2gb
|
||||
|
||||
base-mainnet-op-erigon-node:
|
||||
image: ${BASE_NODE_IMAGE:-ghcr.io/base/node-reth}:${BASE_MAINNET_NODE_VERSION:-v1.1.1}
|
||||
image: ${BASE_NODE_IMAGE:-ghcr.io/base/node-reth}:${BASE_MAINNET_NODE_VERSION:-v1.4.2}
|
||||
ports:
|
||||
- 18092:18092
|
||||
- 18092:18092/udp
|
||||
|
||||
@@ -106,7 +106,7 @@ services:
|
||||
shm_size: 2gb
|
||||
|
||||
base-sepolia-op-erigon-node:
|
||||
image: ${BASE_NODE_IMAGE:-ghcr.io/base/node-reth}:${BASE_SEPOLIA_NODE_VERSION:-v1.2.0}
|
||||
image: ${BASE_NODE_IMAGE:-ghcr.io/base/node-reth}:${BASE_SEPOLIA_NODE_VERSION:-v1.4.2}
|
||||
ports:
|
||||
- 18487:18487
|
||||
- 18487:18487/udp
|
||||
|
||||
@@ -107,7 +107,7 @@ services:
|
||||
- traefik.http.routers.base-mainnet-op-geth-archive-leveldb-hash.middlewares=base-mainnet-op-geth-archive-leveldb-hash-stripprefix, ipallowlist
|
||||
|
||||
base-mainnet-archive-node:
|
||||
image: ${BASE_NODE_IMAGE:-ghcr.io/base/node-reth}:${BASE_MAINNET_NODE_VERSION:-v1.1.1}
|
||||
image: ${BASE_NODE_IMAGE:-ghcr.io/base/node-reth}:${BASE_MAINNET_NODE_VERSION:-v1.4.2}
|
||||
ports:
|
||||
- 18596:18596
|
||||
- 18596:18596/udp
|
||||
|
||||
@@ -171,7 +171,7 @@ services:
|
||||
- traefik.http.routers.base-mainnet-op-geth-pruned-pebble-path-events.middlewares=ipallowlist
|
||||
|
||||
base-mainnet-node:
|
||||
image: ${BASE_NODE_IMAGE:-ghcr.io/base/node-reth}:${BASE_MAINNET_NODE_VERSION:-v1.1.1}
|
||||
image: ${BASE_NODE_IMAGE:-ghcr.io/base/node-reth}:${BASE_MAINNET_NODE_VERSION:-v1.4.2}
|
||||
ports:
|
||||
- 16422:16422
|
||||
- 16422:16422/udp
|
||||
|
||||
@@ -107,7 +107,7 @@ services:
|
||||
- traefik.http.routers.base-mainnet-op-geth-pruned-pebble-path.middlewares=base-mainnet-op-geth-pruned-pebble-path-stripprefix, ipallowlist
|
||||
|
||||
base-mainnet-node:
|
||||
image: ${BASE_NODE_IMAGE:-ghcr.io/base/node-reth}:${BASE_MAINNET_NODE_VERSION:-v1.1.1}
|
||||
image: ${BASE_NODE_IMAGE:-ghcr.io/base/node-reth}:${BASE_MAINNET_NODE_VERSION:-v1.4.2}
|
||||
ports:
|
||||
- 16422:16422
|
||||
- 16422:16422/udp
|
||||
|
||||
@@ -107,7 +107,7 @@ services:
|
||||
- traefik.http.routers.base-sepolia-op-geth-archive-leveldb-hash.middlewares=base-sepolia-op-geth-archive-leveldb-hash-stripprefix, ipallowlist
|
||||
|
||||
base-sepolia-archive-node:
|
||||
image: ${BASE_NODE_IMAGE:-ghcr.io/base/node-reth}:${BASE_SEPOLIA_NODE_VERSION:-v1.2.0}
|
||||
image: ${BASE_NODE_IMAGE:-ghcr.io/base/node-reth}:${BASE_SEPOLIA_NODE_VERSION:-v1.4.2}
|
||||
ports:
|
||||
- 15910:15910
|
||||
- 15910:15910/udp
|
||||
|
||||
@@ -107,7 +107,7 @@ services:
|
||||
- traefik.http.routers.base-sepolia-op-geth-pruned-pebble-path.middlewares=base-sepolia-op-geth-pruned-pebble-path-stripprefix, ipallowlist
|
||||
|
||||
base-sepolia-node:
|
||||
image: ${BASE_NODE_IMAGE:-ghcr.io/base/node-reth}:${BASE_SEPOLIA_NODE_VERSION:-v1.2.0}
|
||||
image: ${BASE_NODE_IMAGE:-ghcr.io/base/node-reth}:${BASE_SEPOLIA_NODE_VERSION:-v1.4.2}
|
||||
ports:
|
||||
- 17022:17022
|
||||
- 17022:17022/udp
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
[
|
||||
"enode://5ecd6d2054a58fa00729b73396044a35e6aceeafe58373d2f26b3f50a3934175fb56f8efa538381430889771613beaabf1177805910bbd34e4b4840320914690@mainnet-bootnodes.hsk.xyz:30615",
|
||||
"enode://bd244da2a066e15f82d4bfb7f2732c5b5bac44cefb36cefef01a4c0e87e72b42004d012c9a294b8402ebf67491777f280ffbcc93a71157921d6d358b19ddac67@mainnet-bootnodes.hsk.xyz:30616",
|
||||
"enode://a5bba6459ac3a075a4a8941478a4ef8d167460191c89632004b17e4b2d7beea52cdc1a2d376f35e996ad44ccac8db25f900700aad6991d015bdc4db072832063@mainnet-bootnodes.hsk.xyz:30617"
|
||||
]
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
base-mainnet-op-reth:
|
||||
image: ${BASE_RETH_IMAGE:-ghcr.io/base/node-reth}:${BASE_MAINNET_RETH_VERSION:-v1.1.1}
|
||||
image: ${BASE_RETH_IMAGE:-ghcr.io/base/node-reth}:${BASE_MAINNET_RETH_VERSION:-v1.4.2}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
@@ -111,7 +111,7 @@ services:
|
||||
shm_size: 2gb
|
||||
|
||||
base-mainnet-op-reth-node:
|
||||
image: ${BASE_NODE_IMAGE:-ghcr.io/base/node-reth}:${BASE_MAINNET_NODE_VERSION:-v1.1.1}
|
||||
image: ${BASE_NODE_IMAGE:-ghcr.io/base/node-reth}:${BASE_MAINNET_NODE_VERSION:-v1.4.2}
|
||||
ports:
|
||||
- 19221:19221
|
||||
- 19221:19221/udp
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
base-mainnet-op-reth-minimal:
|
||||
image: ${BASE_RETH_IMAGE:-ghcr.io/base/node-reth}:${BASE_MAINNET_RETH_VERSION:-v1.1.1}
|
||||
image: ${BASE_RETH_IMAGE:-ghcr.io/base/node-reth}:${BASE_MAINNET_RETH_VERSION:-v1.4.2}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
base-mainnet-op-reth-minimal:
|
||||
image: ${BASE_RETH_IMAGE:-ghcr.io/base/node-reth}:${BASE_MAINNET_RETH_VERSION:-v1.1.1}
|
||||
image: ${BASE_RETH_IMAGE:-ghcr.io/base/node-reth}:${BASE_MAINNET_RETH_VERSION:-v1.4.2}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
@@ -111,7 +111,7 @@ services:
|
||||
shm_size: 2gb
|
||||
|
||||
base-mainnet-op-reth-minimal-node:
|
||||
image: ${BASE_NODE_IMAGE:-ghcr.io/base/node-reth}:${BASE_MAINNET_NODE_VERSION:-v1.1.1}
|
||||
image: ${BASE_NODE_IMAGE:-ghcr.io/base/node-reth}:${BASE_MAINNET_NODE_VERSION:-v1.4.2}
|
||||
ports:
|
||||
- 16240:16240
|
||||
- 16240:16240/udp
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
base-mainnet-op-reth-pruned:
|
||||
image: ${BASE_RETH_IMAGE:-ghcr.io/base/node-reth}:${BASE_MAINNET_RETH_VERSION:-v1.1.1}
|
||||
image: ${BASE_RETH_IMAGE:-ghcr.io/base/node-reth}:${BASE_MAINNET_RETH_VERSION:-v1.4.2}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
base-mainnet-op-reth-pruned:
|
||||
image: ${BASE_RETH_IMAGE:-ghcr.io/base/node-reth}:${BASE_MAINNET_RETH_VERSION:-v1.1.1}
|
||||
image: ${BASE_RETH_IMAGE:-ghcr.io/base/node-reth}:${BASE_MAINNET_RETH_VERSION:-v1.4.2}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
@@ -112,7 +112,7 @@ services:
|
||||
shm_size: 2gb
|
||||
|
||||
base-mainnet-op-reth-pruned-node:
|
||||
image: ${BASE_NODE_IMAGE:-ghcr.io/base/node-reth}:${BASE_MAINNET_NODE_VERSION:-v1.1.1}
|
||||
image: ${BASE_NODE_IMAGE:-ghcr.io/base/node-reth}:${BASE_MAINNET_NODE_VERSION:-v1.4.2}
|
||||
ports:
|
||||
- 19759:19759
|
||||
- 19759:19759/udp
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
base-sepolia-op-reth:
|
||||
image: ${BASE_RETH_IMAGE:-ghcr.io/base/node-reth}:${BASE_SEPOLIA_RETH_VERSION:-v1.2.0}
|
||||
image: ${BASE_RETH_IMAGE:-ghcr.io/base/node-reth}:${BASE_SEPOLIA_RETH_VERSION:-v1.4.2}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
base-sepolia-op-reth:
|
||||
image: ${BASE_RETH_IMAGE:-ghcr.io/base/node-reth}:${BASE_SEPOLIA_RETH_VERSION:-v1.2.0}
|
||||
image: ${BASE_RETH_IMAGE:-ghcr.io/base/node-reth}:${BASE_SEPOLIA_RETH_VERSION:-v1.4.2}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
@@ -111,7 +111,7 @@ services:
|
||||
shm_size: 2gb
|
||||
|
||||
base-sepolia-op-reth-node:
|
||||
image: ${BASE_NODE_IMAGE:-ghcr.io/base/node-reth}:${BASE_SEPOLIA_NODE_VERSION:-v1.2.0}
|
||||
image: ${BASE_NODE_IMAGE:-ghcr.io/base/node-reth}:${BASE_SEPOLIA_NODE_VERSION:-v1.4.2}
|
||||
ports:
|
||||
- 16390:16390
|
||||
- 16390:16390/udp
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
base-sepolia-op-reth-minimal:
|
||||
image: ${BASE_RETH_IMAGE:-ghcr.io/base/node-reth}:${BASE_SEPOLIA_RETH_VERSION:-v1.2.0}
|
||||
image: ${BASE_RETH_IMAGE:-ghcr.io/base/node-reth}:${BASE_SEPOLIA_RETH_VERSION:-v1.4.2}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
base-sepolia-op-reth-minimal:
|
||||
image: ${BASE_RETH_IMAGE:-ghcr.io/base/node-reth}:${BASE_SEPOLIA_RETH_VERSION:-v1.2.0}
|
||||
image: ${BASE_RETH_IMAGE:-ghcr.io/base/node-reth}:${BASE_SEPOLIA_RETH_VERSION:-v1.4.2}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
@@ -111,7 +111,7 @@ services:
|
||||
shm_size: 2gb
|
||||
|
||||
base-sepolia-op-reth-minimal-node:
|
||||
image: ${BASE_NODE_IMAGE:-ghcr.io/base/node-reth}:${BASE_SEPOLIA_NODE_VERSION:-v1.2.0}
|
||||
image: ${BASE_NODE_IMAGE:-ghcr.io/base/node-reth}:${BASE_SEPOLIA_NODE_VERSION:-v1.4.2}
|
||||
ports:
|
||||
- 17165:17165
|
||||
- 17165:17165/udp
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
base-sepolia-op-reth-pruned:
|
||||
image: ${BASE_RETH_IMAGE:-ghcr.io/base/node-reth}:${BASE_SEPOLIA_RETH_VERSION:-v1.2.0}
|
||||
image: ${BASE_RETH_IMAGE:-ghcr.io/base/node-reth}:${BASE_SEPOLIA_RETH_VERSION:-v1.4.2}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
|
||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
||||
|
||||
services:
|
||||
base-sepolia-op-reth-pruned:
|
||||
image: ${BASE_RETH_IMAGE:-ghcr.io/base/node-reth}:${BASE_SEPOLIA_RETH_VERSION:-v1.2.0}
|
||||
image: ${BASE_RETH_IMAGE:-ghcr.io/base/node-reth}:${BASE_SEPOLIA_RETH_VERSION:-v1.4.2}
|
||||
sysctls:
|
||||
# TCP Performance
|
||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||
@@ -112,7 +112,7 @@ services:
|
||||
shm_size: 2gb
|
||||
|
||||
base-sepolia-op-reth-pruned-node:
|
||||
image: ${BASE_NODE_IMAGE:-ghcr.io/base/node-reth}:${BASE_SEPOLIA_NODE_VERSION:-v1.2.0}
|
||||
image: ${BASE_NODE_IMAGE:-ghcr.io/base/node-reth}:${BASE_SEPOLIA_NODE_VERSION:-v1.4.2}
|
||||
ports:
|
||||
- 16147:16147
|
||||
- 16147:16147/udp
|
||||
|
||||
@@ -54,7 +54,7 @@ services:
|
||||
entrypoint: [bor, server]
|
||||
command:
|
||||
- --bor.heimdall=https://heimdall-api-amoy.polygon.technology
|
||||
- --cache.gomemlimit=${POLYGON_AMOY_BOR_ARCHIVE_PEBBLE_PATH_CACHE_GOMEMLIMIT:-20GB}
|
||||
- --cache.gomemlimit=${POLYGON_AMOY_BOR_ARCHIVE_PEBBLE_PATH_CACHE_GOMEMLIMIT:-12GB}
|
||||
- --cache=${POLYGON_AMOY_BOR_ARCHIVE_PEBBLE_PATH_CACHE:-1024}
|
||||
- --chain=amoy
|
||||
- --datadir=/root/.bor/
|
||||
|
||||
@@ -54,7 +54,7 @@ services:
|
||||
entrypoint: [bor, server]
|
||||
command:
|
||||
- --bor.heimdall=https://heimdall-api-amoy.polygon.technology
|
||||
- --cache.gomemlimit=${POLYGON_AMOY_BOR_PRUNED_PEBBLE_PATH_CACHE_GOMEMLIMIT:-20GB}
|
||||
- --cache.gomemlimit=${POLYGON_AMOY_BOR_PRUNED_PEBBLE_PATH_CACHE_GOMEMLIMIT:-12GB}
|
||||
- --cache=${POLYGON_AMOY_BOR_PRUNED_PEBBLE_PATH_CACHE:-1024}
|
||||
- --chain=amoy
|
||||
- --datadir=/root/.bor/
|
||||
|
||||
@@ -55,7 +55,7 @@ services:
|
||||
command:
|
||||
- --bootnodes=enode://07bc4cf87ff8f4e7dc51280991809940f26e846c944609ae4726309be73742a830040cd783989f6941e1b41c02405834bc6365059403a59ca9255ac695156235@34.89.75.187:30303,enode://2c3be2e637a68dc694498a44b6e0d57b5c762925ea97f941079a91f8a080b032fe2eb9e6c3230076e9fb046f626b5dcd3fb045dc9c194689a359aa7167ae0f6c@34.142.43.249:30303,enode://a0bc4dd2b59370d5a375a7ef9ac06cf531571005ae8b2ead2e9aaeb8205168919b169451fb0ef7061e0d80592e6ed0720f559bd1be1c4efb6e6c4381f1bdb986@35.246.99.203:30303,enode://f2b0d50e0b843d38ddcab59614f93065e2c82130100032f86ae193eb874505de12fcaf12502dfd88e339b817c0b374fa4b4f7c4d5a4d1aa04f29c503d95e0228@35.197.233.240:30303,enode://8a3f21c293c913a1148116a295aa69fdf41b9c5b0b0628d49be751aa8c025ae2ec1973d6d84cea8e2aba5541b5d76219dfaae41a124d42d0f56d4e1af50b74f8@35.246.95.65:30303,enode://f5cfe35f47ed928d5403aa28ee616fd64ed7daa527b5ae6a7bc412ca25eaad9b6bf2f776144fd9f8e7e9c80b5360a9c03b67f1d47ea88767def7d391cc7e0cd1@34.105.180.11:30303,enode://fc7624241515f9d5e599a396362c29de92b13a048ad361c90dd72286aa4cca835ba65e140a46ace70cc4dcb18472a476963750b3b69d958c5f546d48675880a8@34.147.169.102:30303,enode://7400e4bc70c56de26d5d240474a1b78af0bf8f0db567edfa851c9724ed697ca7692a92483369e9633d4342a036d10223958007160765d0317a1073f86f2a80c8@34.89.55.74:30303,enode://e4fb013061eba9a2c6fb0a41bbd4149f4808f0fb7e88ec55d7163f19a6f02d64d0ce5ecc81528b769ba552a7068057432d44ab5e9e42842aff5b4709aa2c3f3b@34.89.75.187:30303,enode://a49da6300403cf9b31e30502eb22c142ba4f77c9dda44990bccce9f2121c3152487ee95ee55c6b92d4cdce77845e40f59fd927da70ea91cf935b23e262236d75@34.142.43.249:30303,enode://0e50fdcc2106b0c4e4d9ffbd7798ceda9432e680723dc7b7b4627e384078850c1c4a3e67f17ef2c484201ae6ee7c491cbf5e189b8ffee3948252e9bef59fc54e@35.234.148.172:30303,enode://72c3176693f7100dfedc8a37909120fea16971260a5d95ceff49affbc0e23968c35655fee75734736f0b038147645e8ceeee59af68859b3f5bf91fe249be6259@35.246.95.65:30303,enode://f0e44769385aea31de930d3f4796e3e348962221063bb9f681106d832d13f70e5543d652d30e819812104f1b1ffdd7585977b46bf802ed5a52cf731de8c48dbd@34.105.180.11:30303,enode://198896e373735ba38a0313d073137a413787ece791fbc0d0be0f9f6b9d9dd00ee0841f46519904d666d7f1cdfce5532b093e3a1574b34eb64224f57b9b7fce7b@34.89.55.74:30303
|
||||
- --bor.heimdall=https://polygon-heimdall-rest.publicnode.com
|
||||
- --cache.gomemlimit=${POLYGON_MAINNET_BOR_ARCHIVE_PEBBLE_PATH_CACHE_GOMEMLIMIT:-20GB}
|
||||
- --cache.gomemlimit=${POLYGON_MAINNET_BOR_ARCHIVE_PEBBLE_PATH_CACHE_GOMEMLIMIT:-12GB}
|
||||
- --cache=${POLYGON_MAINNET_BOR_ARCHIVE_PEBBLE_PATH_CACHE:-1024}
|
||||
- --chain=mainnet
|
||||
- --datadir=/root/.bor/
|
||||
|
||||
@@ -56,7 +56,7 @@ services:
|
||||
command:
|
||||
- --bootnodes=enode://07bc4cf87ff8f4e7dc51280991809940f26e846c944609ae4726309be73742a830040cd783989f6941e1b41c02405834bc6365059403a59ca9255ac695156235@34.89.75.187:30303,enode://2c3be2e637a68dc694498a44b6e0d57b5c762925ea97f941079a91f8a080b032fe2eb9e6c3230076e9fb046f626b5dcd3fb045dc9c194689a359aa7167ae0f6c@34.142.43.249:30303,enode://a0bc4dd2b59370d5a375a7ef9ac06cf531571005ae8b2ead2e9aaeb8205168919b169451fb0ef7061e0d80592e6ed0720f559bd1be1c4efb6e6c4381f1bdb986@35.246.99.203:30303,enode://f2b0d50e0b843d38ddcab59614f93065e2c82130100032f86ae193eb874505de12fcaf12502dfd88e339b817c0b374fa4b4f7c4d5a4d1aa04f29c503d95e0228@35.197.233.240:30303,enode://8a3f21c293c913a1148116a295aa69fdf41b9c5b0b0628d49be751aa8c025ae2ec1973d6d84cea8e2aba5541b5d76219dfaae41a124d42d0f56d4e1af50b74f8@35.246.95.65:30303,enode://f5cfe35f47ed928d5403aa28ee616fd64ed7daa527b5ae6a7bc412ca25eaad9b6bf2f776144fd9f8e7e9c80b5360a9c03b67f1d47ea88767def7d391cc7e0cd1@34.105.180.11:30303,enode://fc7624241515f9d5e599a396362c29de92b13a048ad361c90dd72286aa4cca835ba65e140a46ace70cc4dcb18472a476963750b3b69d958c5f546d48675880a8@34.147.169.102:30303,enode://7400e4bc70c56de26d5d240474a1b78af0bf8f0db567edfa851c9724ed697ca7692a92483369e9633d4342a036d10223958007160765d0317a1073f86f2a80c8@34.89.55.74:30303,enode://e4fb013061eba9a2c6fb0a41bbd4149f4808f0fb7e88ec55d7163f19a6f02d64d0ce5ecc81528b769ba552a7068057432d44ab5e9e42842aff5b4709aa2c3f3b@34.89.75.187:30303,enode://a49da6300403cf9b31e30502eb22c142ba4f77c9dda44990bccce9f2121c3152487ee95ee55c6b92d4cdce77845e40f59fd927da70ea91cf935b23e262236d75@34.142.43.249:30303,enode://0e50fdcc2106b0c4e4d9ffbd7798ceda9432e680723dc7b7b4627e384078850c1c4a3e67f17ef2c484201ae6ee7c491cbf5e189b8ffee3948252e9bef59fc54e@35.234.148.172:30303,enode://72c3176693f7100dfedc8a37909120fea16971260a5d95ceff49affbc0e23968c35655fee75734736f0b038147645e8ceeee59af68859b3f5bf91fe249be6259@35.246.95.65:30303,enode://f0e44769385aea31de930d3f4796e3e348962221063bb9f681106d832d13f70e5543d652d30e819812104f1b1ffdd7585977b46bf802ed5a52cf731de8c48dbd@34.105.180.11:30303,enode://198896e373735ba38a0313d073137a413787ece791fbc0d0be0f9f6b9d9dd00ee0841f46519904d666d7f1cdfce5532b093e3a1574b34eb64224f57b9b7fce7b@34.89.55.74:30303
|
||||
- --bor.heimdall=https://polygon-heimdall-rest.publicnode.com
|
||||
- --cache.gomemlimit=${POLYGON_MAINNET_BOR_PRUNED_PEBBLE_PATH_CACHE_GOMEMLIMIT:-20GB}
|
||||
- --cache.gomemlimit=${POLYGON_MAINNET_BOR_PRUNED_PEBBLE_PATH_CACHE_GOMEMLIMIT:-12GB}
|
||||
- --cache=${POLYGON_MAINNET_BOR_PRUNED_PEBBLE_PATH_CACHE:-1024}
|
||||
- --chain=mainnet
|
||||
- --datadir=/root/.bor/
|
||||
|
||||
@@ -55,7 +55,7 @@ services:
|
||||
command:
|
||||
- --bootnodes=enode://07bc4cf87ff8f4e7dc51280991809940f26e846c944609ae4726309be73742a830040cd783989f6941e1b41c02405834bc6365059403a59ca9255ac695156235@34.89.75.187:30303,enode://2c3be2e637a68dc694498a44b6e0d57b5c762925ea97f941079a91f8a080b032fe2eb9e6c3230076e9fb046f626b5dcd3fb045dc9c194689a359aa7167ae0f6c@34.142.43.249:30303,enode://a0bc4dd2b59370d5a375a7ef9ac06cf531571005ae8b2ead2e9aaeb8205168919b169451fb0ef7061e0d80592e6ed0720f559bd1be1c4efb6e6c4381f1bdb986@35.246.99.203:30303,enode://f2b0d50e0b843d38ddcab59614f93065e2c82130100032f86ae193eb874505de12fcaf12502dfd88e339b817c0b374fa4b4f7c4d5a4d1aa04f29c503d95e0228@35.197.233.240:30303,enode://8a3f21c293c913a1148116a295aa69fdf41b9c5b0b0628d49be751aa8c025ae2ec1973d6d84cea8e2aba5541b5d76219dfaae41a124d42d0f56d4e1af50b74f8@35.246.95.65:30303,enode://f5cfe35f47ed928d5403aa28ee616fd64ed7daa527b5ae6a7bc412ca25eaad9b6bf2f776144fd9f8e7e9c80b5360a9c03b67f1d47ea88767def7d391cc7e0cd1@34.105.180.11:30303,enode://fc7624241515f9d5e599a396362c29de92b13a048ad361c90dd72286aa4cca835ba65e140a46ace70cc4dcb18472a476963750b3b69d958c5f546d48675880a8@34.147.169.102:30303,enode://7400e4bc70c56de26d5d240474a1b78af0bf8f0db567edfa851c9724ed697ca7692a92483369e9633d4342a036d10223958007160765d0317a1073f86f2a80c8@34.89.55.74:30303,enode://e4fb013061eba9a2c6fb0a41bbd4149f4808f0fb7e88ec55d7163f19a6f02d64d0ce5ecc81528b769ba552a7068057432d44ab5e9e42842aff5b4709aa2c3f3b@34.89.75.187:30303,enode://a49da6300403cf9b31e30502eb22c142ba4f77c9dda44990bccce9f2121c3152487ee95ee55c6b92d4cdce77845e40f59fd927da70ea91cf935b23e262236d75@34.142.43.249:30303,enode://0e50fdcc2106b0c4e4d9ffbd7798ceda9432e680723dc7b7b4627e384078850c1c4a3e67f17ef2c484201ae6ee7c491cbf5e189b8ffee3948252e9bef59fc54e@35.234.148.172:30303,enode://72c3176693f7100dfedc8a37909120fea16971260a5d95ceff49affbc0e23968c35655fee75734736f0b038147645e8ceeee59af68859b3f5bf91fe249be6259@35.246.95.65:30303,enode://f0e44769385aea31de930d3f4796e3e348962221063bb9f681106d832d13f70e5543d652d30e819812104f1b1ffdd7585977b46bf802ed5a52cf731de8c48dbd@34.105.180.11:30303,enode://198896e373735ba38a0313d073137a413787ece791fbc0d0be0f9f6b9d9dd00ee0841f46519904d666d7f1cdfce5532b093e3a1574b34eb64224f57b9b7fce7b@34.89.55.74:30303
|
||||
- --bor.heimdall=https://polygon-heimdall-rest.publicnode.com
|
||||
- --cache.gomemlimit=${POLYGON_MAINNET_BOR_PRUNED_PEBBLE_PATH_CACHE_GOMEMLIMIT:-20GB}
|
||||
- --cache.gomemlimit=${POLYGON_MAINNET_BOR_PRUNED_PEBBLE_PATH_CACHE_GOMEMLIMIT:-12GB}
|
||||
- --cache=${POLYGON_MAINNET_BOR_PRUNED_PEBBLE_PATH_CACHE:-1024}
|
||||
- --chain=mainnet
|
||||
- --datadir=/root/.bor/
|
||||
|
||||
@@ -3371,6 +3371,7 @@
|
||||
"lagging_lag": 20,
|
||||
"syncing_lag": 40,
|
||||
"urls": [
|
||||
"https://rpc.mocachain.org",
|
||||
"https://moca.drpc.org"
|
||||
]
|
||||
},
|
||||
@@ -3381,6 +3382,7 @@
|
||||
"lagging_lag": 20,
|
||||
"syncing_lag": 40,
|
||||
"urls": [
|
||||
"https://testnet-rpc.mocachain.org",
|
||||
"https://moca-testnet.drpc.org"
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user