Compare commits
381 Commits
issue-502
...
9112b279d9
| Author | SHA1 | Date | |
|---|---|---|---|
| 9112b279d9 | |||
| 6f4b297733 | |||
| 89d8036c6a | |||
| b5ee23ca36 | |||
| 31587d758b | |||
| cafa8139c9 | |||
| 69234a6012 | |||
| 1935cf3475 | |||
| 99db0bde08 | |||
| 161d747132 | |||
| 5cdcf52581 | |||
| ed9951b07e | |||
| 54502b821b | |||
|
|
fe39b29340 | ||
| 37787ca1e8 | |||
| 9c5b74d406 | |||
| b0b85ede7b | |||
| 46f1a4e040 | |||
|
|
b6bbe77dff | ||
| 997a039c78 | |||
| 009cf01cc8 | |||
| 611aae805a | |||
| b062191754 | |||
|
|
eee8bc13de | ||
|
|
2960ac3480 | ||
| 03eece850f | |||
| 20618f9f56 | |||
| be4c1a599f | |||
| a8a8986305 | |||
| dd059dfa1e | |||
| 75e92270c6 | |||
| ecf3eea227 | |||
| bc81a514d3 | |||
| 4d0d4e84bd | |||
|
|
4daf21cb27 | ||
| 7006907548 | |||
| 16834115f7 | |||
| 6abace8173 | |||
| 611b962db5 | |||
| 73c9362f9f | |||
| 9f7317dcd1 | |||
| 3e126d424f | |||
| 5415831756 | |||
| dbead7d8ab | |||
| 561abcabac | |||
| 4c86367c5f | |||
| db7ef4c8cd | |||
| 45d3add2dd | |||
| da5c600846 | |||
| 833e7b2713 | |||
| b91f20a876 | |||
| 44fecc0269 | |||
| 0bac72abb4 | |||
| e4bfd6e50e | |||
| 78dc41bd7e | |||
| abd240821b | |||
| bf9bee1742 | |||
| 7fd209c1ba | |||
| 7c21ad95d8 | |||
| 13e11730ec | |||
| 4340204c5c | |||
| d9cb8f144d | |||
| cb144f7d06 | |||
| cd65972c45 | |||
| 503246f795 | |||
| 08becee73e | |||
| 361d93d1ad | |||
| c8cbd8a925 | |||
| 0f6e212d39 | |||
| 3657fc49f2 | |||
| 40a415cee8 | |||
| b578bd8514 | |||
| 7b667fe049 | |||
| cf91b6f14d | |||
| 529a91f0d7 | |||
| 3478d286f6 | |||
| 8f8ac427d3 | |||
| 81c9addac9 | |||
| 37a26d8791 | |||
| 783435dc20 | |||
| 48302a4270 | |||
| d5e3068e7f | |||
| 5182ab6bd4 | |||
| 20e2c1a66e | |||
| bedd7a32aa | |||
| 206fc78735 | |||
| 20511cd247 | |||
| 42bc7f504e | |||
| fed15a5484 | |||
| ba44def37b | |||
| 0071f41e4c | |||
| 7cbd053236 | |||
| 6979290310 | |||
| 0e6c2a3bc7 | |||
|
|
7cab80da70 | ||
| fc9f82ec48 | |||
| b93ad15f52 | |||
| cff52429bd | |||
| 434717b194 | |||
| 25b764684d | |||
| 502a75b2fd | |||
| b92fb0ecb3 | |||
| 92cdb31d17 | |||
| 4a060bee0d | |||
| 4db13b2fc4 | |||
| 6df9f0f17a | |||
| 561ff43828 | |||
| cfac32736e | |||
| 799209b5d2 | |||
| 477e969e54 | |||
| b0efb236bf | |||
| 17cd0d5f23 | |||
| d57fd2e644 | |||
| e1427de966 | |||
| db38905bfe | |||
| 699723d742 | |||
| a0483f6934 | |||
| b940a72643 | |||
| d5e39c2329 | |||
| e536c19191 | |||
| 7d27ff1918 | |||
| b23545e143 | |||
| bfe5bdd97d | |||
| 223c694085 | |||
| 3be855a681 | |||
| d896378eb7 | |||
| d21f2669ae | |||
| 3f3cedf625 | |||
| 80b0e4253e | |||
| c5f9e5000f | |||
| 2779f359d6 | |||
| 879ea1769f | |||
| 5d56334d3c | |||
| 776aabd231 | |||
|
|
e416e61f3d | ||
| 399fe87f46 | |||
| 7a3003cb63 | |||
| 9e1aaf6393 | |||
| 302c663039 | |||
| 30aa16e4e2 | |||
| 59e432fa72 | |||
| d8386e43be | |||
| f68b541f58 | |||
| 97482cffe1 | |||
| 4806a8ad1b | |||
| 7b05a14515 | |||
| bab834dcde | |||
| 76dfdfe2a2 | |||
| 03b9aff1e9 | |||
| fa7ae58f6c | |||
| 7b87130e4f | |||
| fbf6963ca7 | |||
|
|
de0e7614a6 | ||
| d0529bb551 | |||
| 580ece7b9c | |||
| 093ecb0d7a | |||
| c3ce5da911 | |||
| 81985dbc98 | |||
| c17c4bd35e | |||
| 6078c661dc | |||
| 3737986e27 | |||
| d56b3a414b | |||
| 05066c20d0 | |||
| 60fa1dd047 | |||
| b02c0971ce | |||
| 99664129aa | |||
| 511a3621f2 | |||
| fd8dd15b40 | |||
| d4d4091939 | |||
| ad4c7e5528 | |||
| 28232799c7 | |||
| 35aa9c9d1e | |||
| 63736e47a3 | |||
| eb7c5f0e64 | |||
| ea3a1d541f | |||
| 0068e82f6b | |||
| c7b29693e2 | |||
| 7db90e75e4 | |||
| ceefedf5ab | |||
| fbc5af63e2 | |||
| 093babb50f | |||
| 477afc412a | |||
| 53503bc6e5 | |||
| c83d685d87 | |||
| 9c6a4ab148 | |||
| 6a19dc91e1 | |||
| bfdc6e21ec | |||
| 2919960697 | |||
| db81e62c73 | |||
| 95360bd238 | |||
| 38c43345f6 | |||
| f14b9ff27d | |||
| ab58da64b7 | |||
| 1fdef578b3 | |||
| 64e0bef77a | |||
| 07be37d3a4 | |||
| 3e22390e9a | |||
| 671f293771 | |||
| d2dc6a607e | |||
| 6c48f8a8e5 | |||
| 98d8a25e53 | |||
| b92e1a6e67 | |||
| 810c5b8631 | |||
| de7984c792 | |||
| d40fbfaac3 | |||
| 3dfe9cd8ef | |||
| bcc24595a9 | |||
| e67c16a432 | |||
| f0ec0ba784 | |||
| e165b81731 | |||
| 526f125d5a | |||
| 14b3d70125 | |||
| ba410ba7f6 | |||
| a761bd7845 | |||
| 2e9f31a6fb | |||
| 4509b5afd2 | |||
| 849f5e3235 | |||
| 59c8d67923 | |||
| 5dd087f10b | |||
| 050c67f48e | |||
| 10e8772e85 | |||
| 7ba1b0944b | |||
| 932617814a | |||
| ff41ec1c25 | |||
| 52d0d7cf05 | |||
| 25ba700ea2 | |||
| a47324ed0a | |||
| ea7d207994 | |||
| 190a23ceb8 | |||
| 4cc335cfce | |||
| 9898af951a | |||
| fccf279262 | |||
| defb9133ea | |||
| dd7d245625 | |||
| 35f093e620 | |||
| f04d2f9440 | |||
| 3b46f53a4d | |||
| bd912b3616 | |||
| 2814d358fe | |||
| 8c73946212 | |||
| 927afb2dab | |||
| 3d22031a12 | |||
| 091a759367 | |||
| f85b2f457f | |||
| 2c6938dee5 | |||
| f88ec86b47 | |||
| 6ccd711ad5 | |||
| 36f5f34536 | |||
| 5d0bc35eaf | |||
| a8655586db | |||
| 8273fc9c5b | |||
| b824fb0cf4 | |||
|
|
75d52b6d00 | ||
| dbacd49d86 | |||
| 9f96548ca3 | |||
| dc14e9cf2b | |||
| 00356d77e6 | |||
| 8cc850160d | |||
| 53162f7ee0 | |||
| 8baf603b48 | |||
| b54bfa84ef | |||
| a0b47b3631 | |||
| 331a9c27a8 | |||
| d77ee75752 | |||
| 5137dcbfba | |||
| 88dbbd1ef2 | |||
| 9ca7ddd52d | |||
| 090116d8c4 | |||
| c07dc9f720 | |||
| 7c2ef13238 | |||
| 1ebabee93d | |||
| cf26455d3a | |||
|
|
ad93d73f12 | ||
| 9aa98718b6 | |||
|
|
c8f89a43d3 | ||
| 9ac5529ef5 | |||
| 04b9a5356d | |||
| 5ee02b85d4 | |||
| 73173299c9 | |||
| 990a406751 | |||
| 1ec43f481f | |||
|
|
623deaf9d6 | ||
|
|
50c00156cf | ||
| 41d4dd0d5c | |||
| 33ea38b8d9 | |||
| d4fc948794 | |||
|
|
6ec29db531 | ||
|
|
c14a357773 | ||
| a397561afa | |||
| 57db6a16fa | |||
|
|
ea15f31844 | ||
| 6d41b16150 | |||
|
|
dec01b5a18 | ||
|
|
5b33030773 | ||
| c83f2cc5de | |||
|
|
ce7f278f77 | ||
|
|
d9072c7b4d | ||
|
|
0e4b69c65d | ||
|
|
27b33458de | ||
| 8684fbb96b | |||
| 2418c15d52 | |||
| 1760023975 | |||
| cf6fda7fa6 | |||
|
|
a498b12b45 | ||
| 55df34de69 | |||
| 6311aeae0b | |||
| f1661bd650 | |||
| 8bd024823b | |||
| a58f44b98c | |||
| 66ecc3d8bc | |||
| 018451b9b0 | |||
| 2cdc238330 | |||
| e79b2f017f | |||
| 03034ab069 | |||
| 0ba27e01fe | |||
| 827b61911c | |||
| 30eb36786d | |||
| dffdacaa3c | |||
| 5663570cad | |||
| 361110f1ff | |||
| 921fec2e86 | |||
| 70b8cce5af | |||
| d94213fd5c | |||
| fcf747c6ee | |||
| e56976adeb | |||
| 9d9da8342c | |||
| 99867025db | |||
| bf508e8b07 | |||
| 052e74a00d | |||
| 88bedb0956 | |||
| e571efbea1 | |||
| 58adc446e2 | |||
| 6c0df2bce5 | |||
| 8f57c8af68 | |||
| f8915ed59f | |||
| a98ced8af1 | |||
| 1c65fdb26f | |||
|
|
2fbf996857 | ||
|
|
3c8623531f | ||
| 27f10b29d3 | |||
| 23e9a5dcd5 | |||
| 14b115b7bd | |||
| cb7bb80490 | |||
| eda1068f45 | |||
| 75b931461d | |||
| 4d5d8f4be1 | |||
| 865f80c56d | |||
| d058fe1db1 | |||
| 21c01e8de8 | |||
| 73b65dbbc9 | |||
| 79d2839a48 | |||
| 0c8a3cc4b0 | |||
| 58d45c8576 | |||
|
|
b8752b0c7e | ||
| aab46a52b6 | |||
| 8629ed3e0c | |||
| 1b4c4d0d51 | |||
| 7fc876a321 | |||
| 9accd794c1 | |||
| 658ba6151e | |||
| 7359f3ded8 | |||
| af1348240c | |||
| cecd0d5638 | |||
| bbdc74faba | |||
| 0e00127088 | |||
| f1e71f6dbe | |||
| edf1254258 | |||
| 0709866489 | |||
| 499275ea84 | |||
| bd49c767da | |||
|
|
dcc8c9b6ae | ||
| 2dfe3e9325 | |||
| 288d9dcbdf | |||
| 9fa0917326 | |||
| e97a63832d | |||
| 1743d869a8 | |||
| fc4ce97aee | |||
| 5533fcc5e3 | |||
| f843c4eb99 | |||
| a27fbfd5d6 | |||
| 0a711cf868 |
15
.gitignore
vendored
15
.gitignore
vendored
@@ -1,2 +1,17 @@
|
|||||||
.env
|
.env
|
||||||
peer-backups/
|
peer-backups/
|
||||||
|
|
||||||
|
# R-2 (fleet-audit): keep chaindata/snapshots/tarballs out of git status. Some land
|
||||||
|
# in-tree via per-host _DATA overrides or snapshot staging; evict to /slowdisk at the
|
||||||
|
# next maintenance window — see fleet-audit-2026-07-07.md §R-2.
|
||||||
|
*.tar
|
||||||
|
*.tar.*
|
||||||
|
*.lz4
|
||||||
|
*.zst
|
||||||
|
snapshots/
|
||||||
|
*.bak
|
||||||
|
*.swp
|
||||||
|
|
||||||
|
# Task C local peer capture state
|
||||||
|
peer-state/
|
||||||
|
|
||||||
|
|||||||
25
abcore/abcore.Dockerfile
Normal file
25
abcore/abcore.Dockerfile
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
FROM rockylinux:9
|
||||||
|
|
||||||
|
COPY ./scripts/init.sh /usr/local/bin/init.sh
|
||||||
|
RUN chmod +x /usr/local/bin/init.sh
|
||||||
|
|
||||||
|
ARG ABCORE_MAINNET_GETH_VERSION
|
||||||
|
|
||||||
|
# Download and verify the geth binary from GitHub releases
|
||||||
|
RUN set -eu; \
|
||||||
|
VERSION="${ABCORE_MAINNET_GETH_VERSION}"; \
|
||||||
|
BINARY="geth-${VERSION}"; \
|
||||||
|
URL="https://github.com/ABFoundationGlobal/abcore/releases/download/${VERSION}/${BINARY}"; \
|
||||||
|
SHA256_URL="${URL}.sha256"; \
|
||||||
|
echo "abcore: downloading geth binary from ${URL}"; \
|
||||||
|
curl -fsSL "${URL}" -o "/tmp/${BINARY}"; \
|
||||||
|
echo "abcore: downloading sha256 checksum from ${SHA256_URL}"; \
|
||||||
|
curl -fsSL "${SHA256_URL}" -o "/tmp/${BINARY}.sha256"; \
|
||||||
|
cd /tmp; \
|
||||||
|
sha256sum -c "${BINARY}.sha256" || (echo "abcore: SHA256 verification failed for ${BINARY}" >&2 && exit 1); \
|
||||||
|
chmod +x "${BINARY}"; \
|
||||||
|
mkdir -p /abcore/bin; \
|
||||||
|
mv "${BINARY}" /abcore/bin/geth; \
|
||||||
|
rm -f "${BINARY}" "${BINARY}.sha256"
|
||||||
|
|
||||||
|
ENTRYPOINT [ "init.sh" ]
|
||||||
151
abcore/geth/abcore-mainnet-geth-pruned-pebble-hash.yml
Normal file
151
abcore/geth/abcore-mainnet-geth-pruned-pebble-hash.yml
Normal file
@@ -0,0 +1,151 @@
|
|||||||
|
---
|
||||||
|
x-logging-defaults: &logging-defaults
|
||||||
|
driver: json-file
|
||||||
|
options:
|
||||||
|
max-size: "512m"
|
||||||
|
max-file: "2"
|
||||||
|
# ABFoundationGlobal/abcore geth-fork client
|
||||||
|
# Distributed as release binaries from https://github.com/ABFoundationGlobal/abcore/releases
|
||||||
|
# Version: v1.13.15-abcore-1.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:abcore/geth/abcore-mainnet-geth-pruned-pebble-hash.yml
|
||||||
|
#
|
||||||
|
# docker compose up -d
|
||||||
|
#
|
||||||
|
# curl -X POST https://${IP}.traefik.me/abcore-mainnet-geth \
|
||||||
|
# -H "Content-Type: application/json" \
|
||||||
|
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||||
|
|
||||||
|
services:
|
||||||
|
abcore-mainnet-geth:
|
||||||
|
build:
|
||||||
|
context: ./abcore
|
||||||
|
dockerfile: abcore.Dockerfile
|
||||||
|
args:
|
||||||
|
ABCORE_MAINNET_GETH_VERSION: ${ABCORE_MAINNET_GETH_VERSION:-v1.13.15-abcore-1.2}
|
||||||
|
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:
|
||||||
|
- 13110:13110
|
||||||
|
- 13110:13110/udp
|
||||||
|
expose:
|
||||||
|
- 8545
|
||||||
|
- 6060
|
||||||
|
environment:
|
||||||
|
- CHAIN_NAME=mainnet
|
||||||
|
entrypoint: [/usr/local/bin/init.sh]
|
||||||
|
command:
|
||||||
|
- --config=/config/config.toml
|
||||||
|
- --datadir=/root/.ethereum
|
||||||
|
- --db.engine=pebble
|
||||||
|
- --gcmode=full
|
||||||
|
- --http
|
||||||
|
- --http.addr=0.0.0.0
|
||||||
|
- --http.api=eth,net,web3,debug,admin,txpool,engine
|
||||||
|
- --http.port=8545
|
||||||
|
- --http.vhosts=*
|
||||||
|
- --maxpeers=50
|
||||||
|
- --metrics
|
||||||
|
- --metrics.addr=0.0.0.0
|
||||||
|
- --metrics.port=6060
|
||||||
|
- --nat=extip:${IP}
|
||||||
|
- --networkid=36888
|
||||||
|
- --port=13110
|
||||||
|
- --rpc.gascap=600000000
|
||||||
|
- --rpc.txfeecap=0
|
||||||
|
- --syncmode=full
|
||||||
|
- --ws
|
||||||
|
- --ws.addr=0.0.0.0
|
||||||
|
- --ws.api=eth,net,web3,debug,admin,txpool,engine
|
||||||
|
- --ws.origins=*
|
||||||
|
- --ws.port=8545
|
||||||
|
restart: unless-stopped
|
||||||
|
stop_grace_period: 5m
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${ABCORE_MAINNET_GETH_PRUNED_PEBBLE_HASH_DATA:-abcore-mainnet-geth-pruned-pebble-hash}:/root/.ethereum
|
||||||
|
- ./abcore/mainnet:/config
|
||||||
|
- /slowdisk:/slowdisk
|
||||||
|
logging: *logging-defaults
|
||||||
|
labels:
|
||||||
|
- prometheus-scrape.enabled=true
|
||||||
|
- prometheus-scrape.port=6060
|
||||||
|
- prometheus-scrape.path=/debug/metrics/prometheus
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.http.middlewares.abcore-mainnet-geth-pruned-pebble-hash-stripprefix.stripprefix.prefixes=/abcore-mainnet-geth
|
||||||
|
- traefik.http.services.abcore-mainnet-geth-pruned-pebble-hash.loadbalancer.server.port=8545
|
||||||
|
- ${NO_SSL:-traefik.http.routers.abcore-mainnet-geth-pruned-pebble-hash.entrypoints=websecure}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.abcore-mainnet-geth-pruned-pebble-hash.tls.certresolver=myresolver}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.abcore-mainnet-geth-pruned-pebble-hash.rule=Host(`$DOMAIN`) && (Path(`/abcore-mainnet-geth`) || Path(`/abcore-mainnet-geth/`))}
|
||||||
|
- ${NO_SSL:+traefik.http.routers.abcore-mainnet-geth-pruned-pebble-hash.rule=Path(`/abcore-mainnet-geth`) || Path(`/abcore-mainnet-geth/`)}
|
||||||
|
- traefik.http.routers.abcore-mainnet-geth-pruned-pebble-hash.middlewares=abcore-mainnet-geth-pruned-pebble-hash-stripprefix, ipallowlist
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
abcore-mainnet-geth-pruned-pebble-hash:
|
||||||
|
|
||||||
|
x-upstreams:
|
||||||
|
- id: $${ID}
|
||||||
|
labels:
|
||||||
|
provider: $${PROVIDER}
|
||||||
|
connection:
|
||||||
|
generic:
|
||||||
|
rpc:
|
||||||
|
url: $${RPC_URL}
|
||||||
|
ws:
|
||||||
|
frameSize: 20Mb
|
||||||
|
msgSize: 50Mb
|
||||||
|
url: $${WS_URL}
|
||||||
|
chain: abcore
|
||||||
|
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
|
||||||
|
...
|
||||||
33
abcore/mainnet/config.toml
Normal file
33
abcore/mainnet/config.toml
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
[Eth]
|
||||||
|
NetworkId = 36888
|
||||||
|
SyncMode = "snap"
|
||||||
|
NoPruning = false
|
||||||
|
NoPrefetch = false
|
||||||
|
|
||||||
|
[Eth.Miner]
|
||||||
|
GasFloor = 0
|
||||||
|
GasCeil = 63000000
|
||||||
|
GasPrice = 50000000000000
|
||||||
|
Recommit = 2000000000
|
||||||
|
NewPayloadTimeout = 2000000000
|
||||||
|
|
||||||
|
[Node]
|
||||||
|
DataDir = "/root/.ethereum"
|
||||||
|
HTTPHost = "0.0.0.0"
|
||||||
|
HTTPPort = 8545
|
||||||
|
HTTPVirtualHosts = ["*"]
|
||||||
|
HTTPModules = ["eth", "net", "web3", "debug", "admin", "txpool", "engine"]
|
||||||
|
WSHost = "0.0.0.0"
|
||||||
|
WSPort = 8546
|
||||||
|
WSModules = ["eth", "net", "web3", "debug", "admin", "txpool", "engine"]
|
||||||
|
WSOrigins = ["*"]
|
||||||
|
|
||||||
|
[Node.P2P]
|
||||||
|
MaxPeers = 50
|
||||||
|
NoDiscovery = false
|
||||||
|
DiscoveryV4 = true
|
||||||
|
ListenAddr = ":33333"
|
||||||
|
|
||||||
|
[Metrics]
|
||||||
|
HTTP = "127.0.0.1"
|
||||||
|
Port = 6060
|
||||||
28
abcore/mainnet/genesis.json
Normal file
28
abcore/mainnet/genesis.json
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"config": {
|
||||||
|
"chainId": 36888,
|
||||||
|
"homesteadBlock": 0,
|
||||||
|
"eip150Block": 0,
|
||||||
|
"eip155Block": 0,
|
||||||
|
"eip158Block": 0,
|
||||||
|
"byzantiumBlock": 0,
|
||||||
|
"constantinopleBlock": 0,
|
||||||
|
"petersburgBlock": 0,
|
||||||
|
"istanbulBlock": 0,
|
||||||
|
"muirGlacierBlock": 0,
|
||||||
|
"berlinBlock": 0,
|
||||||
|
"clique": {
|
||||||
|
"period": 3,
|
||||||
|
"epoch": 30000
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"timestamp": "0x67fda368",
|
||||||
|
"difficulty": "1",
|
||||||
|
"gasLimit": "63000000",
|
||||||
|
"extradata": "0x0000000000000000000000000000000000000000000000000000000000000000E9B95948d28EF808a9184d5fC98346EF3e56839c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
||||||
|
"alloc": {
|
||||||
|
"da8B88027Ac27532E1525DD67974c2377b450A08": {
|
||||||
|
"balance": "100000000000000000000000000000"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
22
abcore/scripts/init.sh
Normal file
22
abcore/scripts/init.sh
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e # Exit on failure
|
||||||
|
|
||||||
|
GETH_DATA_DIR="/root/.ethereum"
|
||||||
|
CONFIG_FILE="/config/config.toml"
|
||||||
|
GENESIS_FILE="/config/genesis.json"
|
||||||
|
|
||||||
|
# Initialize geth from genesis if data directory is empty
|
||||||
|
if [ -z "$(ls -A "$GETH_DATA_DIR")" ]; then
|
||||||
|
echo "abcore: data directory is empty, initializing from genesis..."
|
||||||
|
if [ -f "$GENESIS_FILE" ]; then
|
||||||
|
/abcore/bin/geth init --datadir "$GETH_DATA_DIR" --db.engine=pebble "$GENESIS_FILE"
|
||||||
|
else
|
||||||
|
echo "abcore: genesis file not found at $GENESIS_FILE" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo "abcore: data directory not empty, continuing..."
|
||||||
|
fi
|
||||||
|
|
||||||
|
exec /abcore/bin/geth --config "$CONFIG_FILE" --datadir "$GETH_DATA_DIR" "$@"
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -54,7 +54,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- DATABASE_POOL_SIZE=50
|
- DATABASE_POOL_SIZE=50
|
||||||
- DATABASE_URL=postgres://postgres:notsecurepassword@abstract-mainnet-archive-db:5430/zksync_local_ext_node
|
- DATABASE_URL=postgres://postgres:notsecurepassword@abstract-mainnet-archive-db:5430/zksync_local_ext_node
|
||||||
- EN_API_NAMESAPCES=eth,net,web3,debug,pubsub,debug,zks
|
- EN_API_NAMESPACES=eth,net,web3,debug,pubsub,debug,zks
|
||||||
- EN_ETH_CLIENT_URL=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
- EN_ETH_CLIENT_URL=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
- EN_HEALTHCHECK_PORT=3081
|
- EN_HEALTHCHECK_PORT=3081
|
||||||
- EN_HTTP_PORT=8545
|
- EN_HTTP_PORT=8545
|
||||||
@@ -98,6 +98,7 @@ services:
|
|||||||
- traefik.http.routers.abstract-mainnet-external-node-archive.service=abstract-mainnet-external-node-archive
|
- traefik.http.routers.abstract-mainnet-external-node-archive.service=abstract-mainnet-external-node-archive
|
||||||
- ${NO_SSL:-traefik.http.routers.abstract-mainnet-external-node-archive-ws.entrypoints=websecure}
|
- ${NO_SSL:-traefik.http.routers.abstract-mainnet-external-node-archive-ws.entrypoints=websecure}
|
||||||
- ${NO_SSL:-traefik.http.routers.abstract-mainnet-external-node-archive-ws.tls.certresolver=myresolver}
|
- ${NO_SSL:-traefik.http.routers.abstract-mainnet-external-node-archive-ws.tls.certresolver=myresolver}
|
||||||
|
# case-insensitive Upgrade: python websocket-client sends "WebSocket" (capital W)
|
||||||
- ${NO_SSL:-traefik.http.routers.abstract-mainnet-external-node-archive-ws.rule=Host(`$DOMAIN`) && (Path(`/abstract-mainnet-archive`) || Path(`/abstract-mainnet-archive/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
- ${NO_SSL:-traefik.http.routers.abstract-mainnet-external-node-archive-ws.rule=Host(`$DOMAIN`) && (Path(`/abstract-mainnet-archive`) || Path(`/abstract-mainnet-archive/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
||||||
- ${NO_SSL:+traefik.http.routers.abstract-mainnet-external-node-archive-ws.rule=(Path(`/abstract-mainnet-archive`) || Path(`/abstract-mainnet-archive/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
- ${NO_SSL:+traefik.http.routers.abstract-mainnet-external-node-archive-ws.rule=(Path(`/abstract-mainnet-archive`) || Path(`/abstract-mainnet-archive/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
||||||
- traefik.http.routers.abstract-mainnet-external-node-archive-ws.middlewares=abstract-mainnet-external-node-archive-stripprefix, ipallowlist
|
- traefik.http.routers.abstract-mainnet-external-node-archive-ws.middlewares=abstract-mainnet-external-node-archive-stripprefix, ipallowlist
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -54,7 +54,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- DATABASE_POOL_SIZE=50
|
- DATABASE_POOL_SIZE=50
|
||||||
- DATABASE_URL=postgres://postgres:notsecurepassword@abstract-mainnet-db:5430/zksync_local_ext_node
|
- DATABASE_URL=postgres://postgres:notsecurepassword@abstract-mainnet-db:5430/zksync_local_ext_node
|
||||||
- EN_API_NAMESAPCES=eth,net,web3,debug,pubsub,debug,zks
|
- EN_API_NAMESPACES=eth,net,web3,debug,pubsub,debug,zks
|
||||||
- EN_ETH_CLIENT_URL=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
- EN_ETH_CLIENT_URL=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
- EN_HEALTHCHECK_PORT=3081
|
- EN_HEALTHCHECK_PORT=3081
|
||||||
- EN_HTTP_PORT=8545
|
- EN_HTTP_PORT=8545
|
||||||
@@ -98,6 +98,7 @@ services:
|
|||||||
- traefik.http.routers.abstract-mainnet-external-node-pruned.service=abstract-mainnet-external-node-pruned
|
- traefik.http.routers.abstract-mainnet-external-node-pruned.service=abstract-mainnet-external-node-pruned
|
||||||
- ${NO_SSL:-traefik.http.routers.abstract-mainnet-external-node-pruned-ws.entrypoints=websecure}
|
- ${NO_SSL:-traefik.http.routers.abstract-mainnet-external-node-pruned-ws.entrypoints=websecure}
|
||||||
- ${NO_SSL:-traefik.http.routers.abstract-mainnet-external-node-pruned-ws.tls.certresolver=myresolver}
|
- ${NO_SSL:-traefik.http.routers.abstract-mainnet-external-node-pruned-ws.tls.certresolver=myresolver}
|
||||||
|
# case-insensitive Upgrade: python websocket-client sends "WebSocket" (capital W)
|
||||||
- ${NO_SSL:-traefik.http.routers.abstract-mainnet-external-node-pruned-ws.rule=Host(`$DOMAIN`) && (Path(`/abstract-mainnet`) || Path(`/abstract-mainnet/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
- ${NO_SSL:-traefik.http.routers.abstract-mainnet-external-node-pruned-ws.rule=Host(`$DOMAIN`) && (Path(`/abstract-mainnet`) || Path(`/abstract-mainnet/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
||||||
- ${NO_SSL:+traefik.http.routers.abstract-mainnet-external-node-pruned-ws.rule=(Path(`/abstract-mainnet`) || Path(`/abstract-mainnet/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
- ${NO_SSL:+traefik.http.routers.abstract-mainnet-external-node-pruned-ws.rule=(Path(`/abstract-mainnet`) || Path(`/abstract-mainnet/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
||||||
- traefik.http.routers.abstract-mainnet-external-node-pruned-ws.middlewares=abstract-mainnet-external-node-pruned-stripprefix, ipallowlist
|
- traefik.http.routers.abstract-mainnet-external-node-pruned-ws.middlewares=abstract-mainnet-external-node-pruned-stripprefix, ipallowlist
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -54,7 +54,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- DATABASE_POOL_SIZE=50
|
- DATABASE_POOL_SIZE=50
|
||||||
- DATABASE_URL=postgres://postgres:notsecurepassword@abstract-testnet-archive-db:5430/zksync_local_ext_node
|
- DATABASE_URL=postgres://postgres:notsecurepassword@abstract-testnet-archive-db:5430/zksync_local_ext_node
|
||||||
- EN_API_NAMESAPCES=eth,net,web3,debug,pubsub,debug,zks
|
- EN_API_NAMESPACES=eth,net,web3,debug,pubsub,debug,zks
|
||||||
- EN_ETH_CLIENT_URL=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
- EN_ETH_CLIENT_URL=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
||||||
- EN_HEALTHCHECK_PORT=3081
|
- EN_HEALTHCHECK_PORT=3081
|
||||||
- EN_HTTP_PORT=8545
|
- EN_HTTP_PORT=8545
|
||||||
@@ -98,6 +98,7 @@ services:
|
|||||||
- traefik.http.routers.abstract-testnet-external-node-archive.service=abstract-testnet-external-node-archive
|
- traefik.http.routers.abstract-testnet-external-node-archive.service=abstract-testnet-external-node-archive
|
||||||
- ${NO_SSL:-traefik.http.routers.abstract-testnet-external-node-archive-ws.entrypoints=websecure}
|
- ${NO_SSL:-traefik.http.routers.abstract-testnet-external-node-archive-ws.entrypoints=websecure}
|
||||||
- ${NO_SSL:-traefik.http.routers.abstract-testnet-external-node-archive-ws.tls.certresolver=myresolver}
|
- ${NO_SSL:-traefik.http.routers.abstract-testnet-external-node-archive-ws.tls.certresolver=myresolver}
|
||||||
|
# case-insensitive Upgrade: python websocket-client sends "WebSocket" (capital W)
|
||||||
- ${NO_SSL:-traefik.http.routers.abstract-testnet-external-node-archive-ws.rule=Host(`$DOMAIN`) && (Path(`/abstract-testnet-archive`) || Path(`/abstract-testnet-archive/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
- ${NO_SSL:-traefik.http.routers.abstract-testnet-external-node-archive-ws.rule=Host(`$DOMAIN`) && (Path(`/abstract-testnet-archive`) || Path(`/abstract-testnet-archive/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
||||||
- ${NO_SSL:+traefik.http.routers.abstract-testnet-external-node-archive-ws.rule=(Path(`/abstract-testnet-archive`) || Path(`/abstract-testnet-archive/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
- ${NO_SSL:+traefik.http.routers.abstract-testnet-external-node-archive-ws.rule=(Path(`/abstract-testnet-archive`) || Path(`/abstract-testnet-archive/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
||||||
- traefik.http.routers.abstract-testnet-external-node-archive-ws.middlewares=abstract-testnet-external-node-archive-stripprefix, ipallowlist
|
- traefik.http.routers.abstract-testnet-external-node-archive-ws.middlewares=abstract-testnet-external-node-archive-stripprefix, ipallowlist
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -54,7 +54,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- DATABASE_POOL_SIZE=50
|
- DATABASE_POOL_SIZE=50
|
||||||
- DATABASE_URL=postgres://postgres:notsecurepassword@abstract-testnet-db:5430/zksync_local_ext_node
|
- DATABASE_URL=postgres://postgres:notsecurepassword@abstract-testnet-db:5430/zksync_local_ext_node
|
||||||
- EN_API_NAMESAPCES=eth,net,web3,debug,pubsub,debug,zks
|
- EN_API_NAMESPACES=eth,net,web3,debug,pubsub,debug,zks
|
||||||
- EN_ETH_CLIENT_URL=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
- EN_ETH_CLIENT_URL=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
||||||
- EN_HEALTHCHECK_PORT=3081
|
- EN_HEALTHCHECK_PORT=3081
|
||||||
- EN_HTTP_PORT=8545
|
- EN_HTTP_PORT=8545
|
||||||
@@ -98,6 +98,7 @@ services:
|
|||||||
- traefik.http.routers.abstract-testnet-external-node-pruned.service=abstract-testnet-external-node-pruned
|
- traefik.http.routers.abstract-testnet-external-node-pruned.service=abstract-testnet-external-node-pruned
|
||||||
- ${NO_SSL:-traefik.http.routers.abstract-testnet-external-node-pruned-ws.entrypoints=websecure}
|
- ${NO_SSL:-traefik.http.routers.abstract-testnet-external-node-pruned-ws.entrypoints=websecure}
|
||||||
- ${NO_SSL:-traefik.http.routers.abstract-testnet-external-node-pruned-ws.tls.certresolver=myresolver}
|
- ${NO_SSL:-traefik.http.routers.abstract-testnet-external-node-pruned-ws.tls.certresolver=myresolver}
|
||||||
|
# case-insensitive Upgrade: python websocket-client sends "WebSocket" (capital W)
|
||||||
- ${NO_SSL:-traefik.http.routers.abstract-testnet-external-node-pruned-ws.rule=Host(`$DOMAIN`) && (Path(`/abstract-testnet`) || Path(`/abstract-testnet/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
- ${NO_SSL:-traefik.http.routers.abstract-testnet-external-node-pruned-ws.rule=Host(`$DOMAIN`) && (Path(`/abstract-testnet`) || Path(`/abstract-testnet/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
||||||
- ${NO_SSL:+traefik.http.routers.abstract-testnet-external-node-pruned-ws.rule=(Path(`/abstract-testnet`) || Path(`/abstract-testnet/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
- ${NO_SSL:+traefik.http.routers.abstract-testnet-external-node-pruned-ws.rule=(Path(`/abstract-testnet`) || Path(`/abstract-testnet/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
||||||
- traefik.http.routers.abstract-testnet-external-node-pruned-ws.middlewares=abstract-testnet-external-node-pruned-stripprefix, ipallowlist
|
- traefik.http.routers.abstract-testnet-external-node-pruned-ws.middlewares=abstract-testnet-external-node-pruned-stripprefix, ipallowlist
|
||||||
|
|||||||
18
accesslog-shipper.awk
Normal file
18
accesslog-shipper.awk
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# Streams dshackle access-log lines unchanged, and every 1000 lines OR 30s
|
||||||
|
# injects a __shipstat__ checkpoint carrying the cumulative sent-count for this
|
||||||
|
# connection. The splits cruncher (claude host) filters these OUT of event
|
||||||
|
# processing and uses them to reconcile shipped-vs-ingested per gateway per hour
|
||||||
|
# — the completeness signal the time-based floor cannot see (event-loss-by-
|
||||||
|
# rotation, 2026-07-10). `sess` = connection-start epoch so the cruncher detects
|
||||||
|
# counter resets on shipper reconnect (retry loop resumes at file END).
|
||||||
|
BEGIN { sess = systime(); last = sess; n = 0 }
|
||||||
|
{
|
||||||
|
n++
|
||||||
|
print
|
||||||
|
now = systime()
|
||||||
|
if (n % 1000 == 0 || now - last >= 30) {
|
||||||
|
printf "{\"__shipstat__\":1,\"sess\":%d,\"sent\":%d,\"ts\":%d}\n", sess, n, now
|
||||||
|
fflush()
|
||||||
|
last = now
|
||||||
|
}
|
||||||
|
}
|
||||||
143
apply-dshackle-overrides.py
Executable file
143
apply-dshackle-overrides.py
Executable file
@@ -0,0 +1,143 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
"""apply-dshackle-overrides.py - weave HOST-LOCAL dshackle upstream overrides into
|
||||||
|
the generated main_configs/*.yaml so they survive every configure-drpc regeneration.
|
||||||
|
|
||||||
|
Override file (NOT in the repo - host-local, like rpc-local/compose.d):
|
||||||
|
/root/rpc-local/dshackle-overrides.yaml
|
||||||
|
|
||||||
|
Schema (match by upstream id OR by chain; id wins):
|
||||||
|
upstreams:
|
||||||
|
uk-4-base-mainnet-op-reth-pruned: # or e.g. "chain:base"
|
||||||
|
method_groups_disabled: [trace, debug] # removed from enabled, added to disabled
|
||||||
|
methods_disabled: [eth_getFilterLogs] # per-method disables (methods.disabled)
|
||||||
|
options:
|
||||||
|
disable-validation: true # merged into upstream options
|
||||||
|
|
||||||
|
Rationale: heavy methods at flat per-call pay poison the chain's latency scoring
|
||||||
|
(operator method-eviction rule 2026-07-10; see method-economics.py). The disable
|
||||||
|
decision is local to the gateway's market, so the config lives on the gateway.
|
||||||
|
|
||||||
|
Called by reload_dshackle.sh before signaling dshackle - i.e. re-applied on every
|
||||||
|
ansible config push. NOTE: dshackle only re-reads upstream method lists on RESTART;
|
||||||
|
this keeps the on-disk config permanently correct, the next restart activates it.
|
||||||
|
Idempotent. Silent no-op when the override file is absent.
|
||||||
|
"""
|
||||||
|
import glob
|
||||||
|
import os
|
||||||
|
import sys
|
||||||
|
|
||||||
|
import yaml
|
||||||
|
|
||||||
|
OVERRIDES = '/root/rpc-local/dshackle-overrides.yaml'
|
||||||
|
CONFIG_DIR = '/root/rpc/main_configs'
|
||||||
|
|
||||||
|
|
||||||
|
def apply(upstream, ov):
|
||||||
|
changed = False
|
||||||
|
mg = upstream.setdefault('method-groups', {}) or {}
|
||||||
|
for grp in ov.get('method_groups_disabled') or []:
|
||||||
|
en = mg.get('enabled') or []
|
||||||
|
if grp in en:
|
||||||
|
en.remove(grp)
|
||||||
|
mg['enabled'] = en
|
||||||
|
changed = True
|
||||||
|
dis = mg.get('disabled') or []
|
||||||
|
if grp not in dis:
|
||||||
|
dis.append(grp)
|
||||||
|
mg['disabled'] = dis
|
||||||
|
changed = True
|
||||||
|
if mg:
|
||||||
|
upstream['method-groups'] = mg
|
||||||
|
for meth in ov.get('methods_disabled') or []:
|
||||||
|
methods = upstream.setdefault('methods', {}) or {}
|
||||||
|
dis = methods.get('disabled') or []
|
||||||
|
if not any((d.get('name') if isinstance(d, dict) else d) == meth for d in dis):
|
||||||
|
dis.append({'name': meth})
|
||||||
|
methods['disabled'] = dis
|
||||||
|
upstream['methods'] = methods
|
||||||
|
changed = True
|
||||||
|
for k, v in (ov.get('options') or {}).items():
|
||||||
|
opts = upstream.setdefault('options', {}) or {}
|
||||||
|
if opts.get(k) != v:
|
||||||
|
opts[k] = v
|
||||||
|
upstream['options'] = opts
|
||||||
|
changed = True
|
||||||
|
return changed
|
||||||
|
|
||||||
|
|
||||||
|
ENVFILE = '/root/rpc/.env'
|
||||||
|
|
||||||
|
|
||||||
|
def env_overrides():
|
||||||
|
"""Chain-level overrides from .env (rendered from host_vars env_overrides):
|
||||||
|
DSHACKLE_<CHAIN>_METHOD_GROUPS_DISABLED=trace,debug
|
||||||
|
DSHACKLE_<CHAIN>_METHODS_DISABLED=eth_getFilterLogs
|
||||||
|
<CHAIN> = dshackle chain name, upper, '-' -> '_' (e.g. BASE, ETH_BEACON_CHAIN)."""
|
||||||
|
spec = {}
|
||||||
|
if not os.path.exists(ENVFILE):
|
||||||
|
return spec
|
||||||
|
import re as _re
|
||||||
|
for line in open(ENVFILE):
|
||||||
|
m = _re.match(r'DSHACKLE_([A-Z0-9_]+)_(METHOD_GROUPS|METHODS)_DISABLED=(.*)', line.strip())
|
||||||
|
if not m:
|
||||||
|
continue
|
||||||
|
chain = m.group(1).lower().replace('_', '-')
|
||||||
|
key = 'method_groups_disabled' if m.group(2) == 'METHOD_GROUPS' else 'methods_disabled'
|
||||||
|
vals = [v.strip() for v in m.group(3).split(',') if v.strip()]
|
||||||
|
if vals:
|
||||||
|
spec.setdefault(f'chain:{chain}', {}).setdefault(key, []).extend(vals)
|
||||||
|
return spec
|
||||||
|
|
||||||
|
|
||||||
|
def main():
|
||||||
|
spec = env_overrides()
|
||||||
|
if os.path.exists(OVERRIDES):
|
||||||
|
for k, v in ((yaml.safe_load(open(OVERRIDES)) or {}).get('upstreams') or {}).items():
|
||||||
|
cur = spec.setdefault(k, {})
|
||||||
|
for kk, vv in (v or {}).items():
|
||||||
|
if isinstance(vv, list):
|
||||||
|
cur[kk] = sorted(set((cur.get(kk) or []) + vv))
|
||||||
|
else:
|
||||||
|
cur.setdefault(kk, vv)
|
||||||
|
if not spec:
|
||||||
|
return
|
||||||
|
total = 0
|
||||||
|
for path in glob.glob(os.path.join(CONFIG_DIR, '*.yaml')):
|
||||||
|
try:
|
||||||
|
doc = yaml.safe_load(open(path))
|
||||||
|
except yaml.YAMLError:
|
||||||
|
continue
|
||||||
|
if not isinstance(doc, dict) or 'upstreams' not in doc:
|
||||||
|
continue
|
||||||
|
changed = False
|
||||||
|
for up in doc['upstreams'] or []:
|
||||||
|
if not isinstance(up, dict):
|
||||||
|
continue
|
||||||
|
ov = spec.get(up.get('id')) or spec.get(f"chain:{up.get('chain')}")
|
||||||
|
if ov and apply(up, ov):
|
||||||
|
changed = True
|
||||||
|
if changed:
|
||||||
|
text = yaml.safe_dump(doc, default_flow_style=False, sort_keys=False)
|
||||||
|
# dshackle silently refuses to hot-reload configs containing TABS
|
||||||
|
# (operator gotcha 2026-07-10) - fail loudly, never write a tabbed file.
|
||||||
|
if '\t' in text:
|
||||||
|
print(f'dshackle-overrides: REFUSING to write {path} - tab in output')
|
||||||
|
continue
|
||||||
|
with open(path, 'w') as f:
|
||||||
|
f.write(text)
|
||||||
|
total += 1
|
||||||
|
print(f'dshackle-overrides: rewove {path}')
|
||||||
|
# tab audit on ALL configs (even unchanged): a tabbed file silently fails
|
||||||
|
# dshackle's hot-reload, so disk and running state diverge invisibly.
|
||||||
|
for path in glob.glob(os.path.join(CONFIG_DIR, '*.yaml')):
|
||||||
|
try:
|
||||||
|
if '\t' in open(path, errors='replace').read():
|
||||||
|
print(f'dshackle-overrides: WARNING {path} contains TABS - dshackle will SILENTLY skip reloading it')
|
||||||
|
except OSError:
|
||||||
|
pass
|
||||||
|
if total:
|
||||||
|
print(f'dshackle-overrides: {total} file(s) rewoven (dshackle hot-reloads on the HUP that follows)')
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
main()
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
alephzero-mainnet-archive:
|
alephzero-mainnet-archive:
|
||||||
image: ${ALEPHZERO_NITRO_IMAGE:-offchainlabs/nitro-node}:${ALEPHZERO_MAINNET_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${ALEPHZERO_NITRO_IMAGE:-offchainlabs/nitro-node}:${ALEPHZERO_MAINNET_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=true
|
- --execution.caching.archive=true
|
||||||
- --execution.caching.database-cache=${ALEPHZERO_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${ALEPHZERO_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${ALEPHZERO_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${ALEPHZERO_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${ALEPHZERO_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${ALEPHZERO_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${ALEPHZERO_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${ALEPHZERO_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.forwarding-target=https://rpc.alephzero.raas.gelato.cloud
|
- --execution.forwarding-target=https://rpc.alephzero.raas.gelato.cloud
|
||||||
@@ -67,13 +68,14 @@ services:
|
|||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
- --node.batch-poster.enable=false
|
- --node.batch-poster.enable=false
|
||||||
- --node.data-availability.enable=true
|
- --node.da.anytrust.enable=true
|
||||||
- --node.data-availability.rest-aggregator.enable=true
|
- --node.da.anytrust.rest-aggregator.enable=true
|
||||||
- --node.data-availability.rest-aggregator.urls=https://das.alephzero.raas.gelato.cloud
|
- --node.da.anytrust.rest-aggregator.urls=https://das.alephzero.raas.gelato.cloud
|
||||||
- --node.feed.input.url=wss://feed.alephzero.raas.gelato.cloud
|
- --node.feed.input.url=wss://feed.alephzero.raas.gelato.cloud
|
||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_MAINNET_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/alephzero-mainnet-archive
|
- --persistent.chain=/root/.arbitrum/alephzero-mainnet-archive
|
||||||
- --persistent.db-engine=pebble
|
- --persistent.db-engine=pebble
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
alephzero-mainnet:
|
alephzero-mainnet:
|
||||||
image: ${ALEPHZERO_NITRO_IMAGE:-offchainlabs/nitro-node}:${ALEPHZERO_MAINNET_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${ALEPHZERO_NITRO_IMAGE:-offchainlabs/nitro-node}:${ALEPHZERO_MAINNET_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -67,13 +67,14 @@ services:
|
|||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
- --node.batch-poster.enable=false
|
- --node.batch-poster.enable=false
|
||||||
- --node.data-availability.enable=true
|
- --node.da.anytrust.enable=true
|
||||||
- --node.data-availability.rest-aggregator.enable=true
|
- --node.da.anytrust.rest-aggregator.enable=true
|
||||||
- --node.data-availability.rest-aggregator.urls=https://das.alephzero.raas.gelato.cloud
|
- --node.da.anytrust.rest-aggregator.urls=https://das.alephzero.raas.gelato.cloud
|
||||||
- --node.feed.input.url=wss://feed.alephzero.raas.gelato.cloud
|
- --node.feed.input.url=wss://feed.alephzero.raas.gelato.cloud
|
||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_MAINNET_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/alephzero-mainnet
|
- --persistent.chain=/root/.arbitrum/alephzero-mainnet
|
||||||
- --persistent.db-engine=pebble
|
- --persistent.db-engine=pebble
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
alephzero-sepolia-archive:
|
alephzero-sepolia-archive:
|
||||||
image: ${ALEPHZERO_NITRO_IMAGE:-offchainlabs/nitro-node}:${ALEPHZERO_SEPOLIA_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${ALEPHZERO_NITRO_IMAGE:-offchainlabs/nitro-node}:${ALEPHZERO_SEPOLIA_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=true
|
- --execution.caching.archive=true
|
||||||
- --execution.caching.database-cache=${ALEPHZERO_SEPOLIA_NITRO_ARCHIVE_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${ALEPHZERO_SEPOLIA_NITRO_ARCHIVE_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${ALEPHZERO_SEPOLIA_NITRO_ARCHIVE_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${ALEPHZERO_SEPOLIA_NITRO_ARCHIVE_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${ALEPHZERO_SEPOLIA_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${ALEPHZERO_SEPOLIA_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${ALEPHZERO_SEPOLIA_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${ALEPHZERO_SEPOLIA_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.forwarding-target=https://rpc.alephzero-testnet.gelato.digital
|
- --execution.forwarding-target=https://rpc.alephzero-testnet.gelato.digital
|
||||||
@@ -67,13 +68,14 @@ services:
|
|||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
- --node.batch-poster.enable=false
|
- --node.batch-poster.enable=false
|
||||||
- --node.data-availability.enable=true
|
- --node.da.anytrust.enable=true
|
||||||
- --node.data-availability.rest-aggregator.enable=true
|
- --node.da.anytrust.rest-aggregator.enable=true
|
||||||
- --node.data-availability.rest-aggregator.urls=https://das.alephzero-testnet.gelato.digital
|
- --node.da.anytrust.rest-aggregator.urls=https://das.alephzero-testnet.gelato.digital
|
||||||
- --node.feed.input.url=wss://feed.alephzero-testnet.gelato.digital
|
- --node.feed.input.url=wss://feed.alephzero-testnet.gelato.digital
|
||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/alephzero-sepolia-archive
|
- --persistent.chain=/root/.arbitrum/alephzero-sepolia-archive
|
||||||
- --persistent.db-engine=pebble
|
- --persistent.db-engine=pebble
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
alephzero-sepolia:
|
alephzero-sepolia:
|
||||||
image: ${ALEPHZERO_NITRO_IMAGE:-offchainlabs/nitro-node}:${ALEPHZERO_SEPOLIA_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${ALEPHZERO_NITRO_IMAGE:-offchainlabs/nitro-node}:${ALEPHZERO_SEPOLIA_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -67,13 +67,14 @@ services:
|
|||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
- --node.batch-poster.enable=false
|
- --node.batch-poster.enable=false
|
||||||
- --node.data-availability.enable=true
|
- --node.da.anytrust.enable=true
|
||||||
- --node.data-availability.rest-aggregator.enable=true
|
- --node.da.anytrust.rest-aggregator.enable=true
|
||||||
- --node.data-availability.rest-aggregator.urls=https://das.alephzero-testnet.gelato.digital
|
- --node.da.anytrust.rest-aggregator.urls=https://das.alephzero-testnet.gelato.digital
|
||||||
- --node.feed.input.url=wss://feed.alephzero-testnet.gelato.digital
|
- --node.feed.input.url=wss://feed.alephzero-testnet.gelato.digital
|
||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/alephzero-sepolia
|
- --persistent.chain=/root/.arbitrum/alephzero-sepolia
|
||||||
- --persistent.db-engine=pebble
|
- --persistent.db-engine=pebble
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
apechain-mainnet-archive:
|
apechain-mainnet-archive:
|
||||||
image: ${APECHAIN_NITRO_IMAGE:-public.ecr.aws/i6b2w2n6/nitro-node}:${APECHAIN_MAINNET_NITRO_VERSION:-apechain-v3.5.6}
|
image: ${APECHAIN_NITRO_IMAGE:-public.ecr.aws/i6b2w2n6/nitro-node}:${APECHAIN_MAINNET_NITRO_VERSION:-apechain-3.9.9}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=true
|
- --execution.caching.archive=true
|
||||||
- --execution.caching.database-cache=${APECHAIN_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${APECHAIN_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${APECHAIN_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${APECHAIN_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${APECHAIN_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${APECHAIN_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${APECHAIN_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${APECHAIN_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.forwarding-target=https://rpc.apechain.com/http
|
- --execution.forwarding-target=https://rpc.apechain.com/http
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
apechain-mainnet:
|
apechain-mainnet:
|
||||||
image: ${APECHAIN_NITRO_IMAGE:-public.ecr.aws/i6b2w2n6/nitro-node}:${APECHAIN_MAINNET_NITRO_VERSION:-apechain-v3.5.6}
|
image: ${APECHAIN_NITRO_IMAGE:-public.ecr.aws/i6b2w2n6/nitro-node}:${APECHAIN_MAINNET_NITRO_VERSION:-apechain-3.9.9}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
arbitrum-nova-archive:
|
arbitrum-nova-archive:
|
||||||
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_NOVA_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_NOVA_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=true
|
- --execution.caching.archive=true
|
||||||
- --execution.caching.database-cache=${ARBITRUM_NOVA_NITRO_ARCHIVE_LEVELDB_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${ARBITRUM_NOVA_NITRO_ARCHIVE_LEVELDB_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${ARBITRUM_NOVA_NITRO_ARCHIVE_LEVELDB_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${ARBITRUM_NOVA_NITRO_ARCHIVE_LEVELDB_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${ARBITRUM_NOVA_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${ARBITRUM_NOVA_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${ARBITRUM_NOVA_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${ARBITRUM_NOVA_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.rpc.gas-cap=5500000000
|
- --execution.rpc.gas-cap=5500000000
|
||||||
@@ -69,6 +70,7 @@ services:
|
|||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_MAINNET_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/arbitrum-nova-archive
|
- --persistent.chain=/root/.arbitrum/arbitrum-nova-archive
|
||||||
- --ws.addr=0.0.0.0
|
- --ws.addr=0.0.0.0
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
arbitrum-nova-archive:
|
arbitrum-nova-archive:
|
||||||
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_NOVA_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_NOVA_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -69,6 +69,7 @@ services:
|
|||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_MAINNET_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/arbitrum-nova-archive
|
- --persistent.chain=/root/.arbitrum/arbitrum-nova-archive
|
||||||
- --persistent.db-engine=pebble
|
- --persistent.db-engine=pebble
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
arbitrum-nova-minimal:
|
arbitrum-nova-minimal:
|
||||||
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_NOVA_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_NOVA_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=${ARBITRUM_NOVA_MINIMAL_ARCHIVE_DB:-false}
|
- --execution.caching.archive=${ARBITRUM_NOVA_MINIMAL_ARCHIVE_DB:-false}
|
||||||
- --execution.caching.database-cache=${ARBITRUM_NOVA_NITRO_MINIMAL_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${ARBITRUM_NOVA_NITRO_MINIMAL_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${ARBITRUM_NOVA_NITRO_MINIMAL_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${ARBITRUM_NOVA_NITRO_MINIMAL_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${ARBITRUM_NOVA_NITRO_MINIMAL_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${ARBITRUM_NOVA_NITRO_MINIMAL_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${ARBITRUM_NOVA_NITRO_MINIMAL_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${ARBITRUM_NOVA_NITRO_MINIMAL_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.rpc.gas-cap=5500000000
|
- --execution.rpc.gas-cap=5500000000
|
||||||
@@ -70,6 +71,7 @@ services:
|
|||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_MAINNET_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/arbitrum-nova-minimal
|
- --persistent.chain=/root/.arbitrum/arbitrum-nova-minimal
|
||||||
- --persistent.db-engine=pebble
|
- --persistent.db-engine=pebble
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
arbitrum-nova-minimal:
|
arbitrum-nova-minimal:
|
||||||
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_NOVA_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_NOVA_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=${ARBITRUM_NOVA_MINIMAL_ARCHIVE_DB:-false}
|
- --execution.caching.archive=${ARBITRUM_NOVA_MINIMAL_ARCHIVE_DB:-false}
|
||||||
- --execution.caching.database-cache=${ARBITRUM_NOVA_NITRO_MINIMAL_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${ARBITRUM_NOVA_NITRO_MINIMAL_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${ARBITRUM_NOVA_NITRO_MINIMAL_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${ARBITRUM_NOVA_NITRO_MINIMAL_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${ARBITRUM_NOVA_NITRO_MINIMAL_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${ARBITRUM_NOVA_NITRO_MINIMAL_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${ARBITRUM_NOVA_NITRO_MINIMAL_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${ARBITRUM_NOVA_NITRO_MINIMAL_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.rpc.gas-cap=5500000000
|
- --execution.rpc.gas-cap=5500000000
|
||||||
@@ -69,6 +70,7 @@ services:
|
|||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_MAINNET_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/arbitrum-nova-minimal
|
- --persistent.chain=/root/.arbitrum/arbitrum-nova-minimal
|
||||||
- --persistent.db-engine=pebble
|
- --persistent.db-engine=pebble
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
arbitrum-nova:
|
arbitrum-nova:
|
||||||
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_NOVA_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_NOVA_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=${ARBITRUM_NOVA_ARCHIVE_DB:-false}
|
- --execution.caching.archive=${ARBITRUM_NOVA_ARCHIVE_DB:-false}
|
||||||
- --execution.caching.database-cache=${ARBITRUM_NOVA_NITRO_PRUNED_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${ARBITRUM_NOVA_NITRO_PRUNED_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${ARBITRUM_NOVA_NITRO_PRUNED_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${ARBITRUM_NOVA_NITRO_PRUNED_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${ARBITRUM_NOVA_NITRO_PRUNED_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${ARBITRUM_NOVA_NITRO_PRUNED_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${ARBITRUM_NOVA_NITRO_PRUNED_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${ARBITRUM_NOVA_NITRO_PRUNED_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.rpc.gas-cap=5500000000
|
- --execution.rpc.gas-cap=5500000000
|
||||||
@@ -70,6 +71,7 @@ services:
|
|||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_MAINNET_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/arbitrum-nova
|
- --persistent.chain=/root/.arbitrum/arbitrum-nova
|
||||||
- --persistent.db-engine=pebble
|
- --persistent.db-engine=pebble
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
arbitrum-nova:
|
arbitrum-nova:
|
||||||
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_NOVA_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_NOVA_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=${ARBITRUM_NOVA_ARCHIVE_DB:-false}
|
- --execution.caching.archive=${ARBITRUM_NOVA_ARCHIVE_DB:-false}
|
||||||
- --execution.caching.database-cache=${ARBITRUM_NOVA_NITRO_PRUNED_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${ARBITRUM_NOVA_NITRO_PRUNED_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${ARBITRUM_NOVA_NITRO_PRUNED_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${ARBITRUM_NOVA_NITRO_PRUNED_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${ARBITRUM_NOVA_NITRO_PRUNED_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${ARBITRUM_NOVA_NITRO_PRUNED_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${ARBITRUM_NOVA_NITRO_PRUNED_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${ARBITRUM_NOVA_NITRO_PRUNED_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.rpc.gas-cap=5500000000
|
- --execution.rpc.gas-cap=5500000000
|
||||||
@@ -69,6 +70,7 @@ services:
|
|||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_MAINNET_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/arbitrum-nova
|
- --persistent.chain=/root/.arbitrum/arbitrum-nova
|
||||||
- --persistent.db-engine=pebble
|
- --persistent.db-engine=pebble
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
arbitrum-one-archive:
|
arbitrum-one-archive:
|
||||||
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_ONE_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_ONE_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=true
|
- --execution.caching.archive=true
|
||||||
- --execution.caching.database-cache=${ARBITRUM_ONE_NITRO_ARCHIVE_LEVELDB_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${ARBITRUM_ONE_NITRO_ARCHIVE_LEVELDB_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${ARBITRUM_ONE_NITRO_ARCHIVE_LEVELDB_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${ARBITRUM_ONE_NITRO_ARCHIVE_LEVELDB_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${ARBITRUM_ONE_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${ARBITRUM_ONE_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${ARBITRUM_ONE_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${ARBITRUM_ONE_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.rpc.classic-redirect=http://arbitrum-one-arbnode-archive:8545
|
- --execution.rpc.classic-redirect=http://arbitrum-one-arbnode-archive:8545
|
||||||
@@ -70,6 +71,7 @@ services:
|
|||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_MAINNET_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/arbitrum-one-archive
|
- --persistent.chain=/root/.arbitrum/arbitrum-one-archive
|
||||||
- --ws.addr=0.0.0.0
|
- --ws.addr=0.0.0.0
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
arbitrum-one-archive:
|
arbitrum-one-archive:
|
||||||
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_ONE_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_ONE_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=true
|
- --execution.caching.archive=true
|
||||||
- --execution.caching.database-cache=${ARBITRUM_ONE_NITRO_ARCHIVE_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${ARBITRUM_ONE_NITRO_ARCHIVE_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${ARBITRUM_ONE_NITRO_ARCHIVE_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${ARBITRUM_ONE_NITRO_ARCHIVE_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${ARBITRUM_ONE_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${ARBITRUM_ONE_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${ARBITRUM_ONE_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${ARBITRUM_ONE_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.rpc.classic-redirect=http://arbitrum-one-arbnode-archive:8545
|
- --execution.rpc.classic-redirect=http://arbitrum-one-arbnode-archive:8545
|
||||||
@@ -70,6 +71,7 @@ services:
|
|||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_MAINNET_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/arbitrum-one-archive
|
- --persistent.chain=/root/.arbitrum/arbitrum-one-archive
|
||||||
- --persistent.db-engine=pebble
|
- --persistent.db-engine=pebble
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
arbitrum-one-archive:
|
arbitrum-one-archive:
|
||||||
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_ONE_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_ONE_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -69,6 +69,7 @@ services:
|
|||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_MAINNET_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/arbitrum-one-archive
|
- --persistent.chain=/root/.arbitrum/arbitrum-one-archive
|
||||||
- --persistent.db-engine=pebble
|
- --persistent.db-engine=pebble
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
arbitrum-one-minimal:
|
arbitrum-one-minimal:
|
||||||
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_ONE_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_ONE_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=${ARBITRUM_ONE_MINIMAL_ARCHIVE_DB:-false}
|
- --execution.caching.archive=${ARBITRUM_ONE_MINIMAL_ARCHIVE_DB:-false}
|
||||||
- --execution.caching.database-cache=${ARBITRUM_ONE_NITRO_MINIMAL_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${ARBITRUM_ONE_NITRO_MINIMAL_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${ARBITRUM_ONE_NITRO_MINIMAL_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${ARBITRUM_ONE_NITRO_MINIMAL_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${ARBITRUM_ONE_NITRO_MINIMAL_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${ARBITRUM_ONE_NITRO_MINIMAL_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${ARBITRUM_ONE_NITRO_MINIMAL_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${ARBITRUM_ONE_NITRO_MINIMAL_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.rpc.gas-cap=5500000000
|
- --execution.rpc.gas-cap=5500000000
|
||||||
@@ -70,6 +71,7 @@ services:
|
|||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_MAINNET_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/arbitrum-one-minimal
|
- --persistent.chain=/root/.arbitrum/arbitrum-one-minimal
|
||||||
- --persistent.db-engine=pebble
|
- --persistent.db-engine=pebble
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
arbitrum-one-minimal:
|
arbitrum-one-minimal:
|
||||||
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_ONE_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_ONE_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=${ARBITRUM_ONE_MINIMAL_ARCHIVE_DB:-false}
|
- --execution.caching.archive=${ARBITRUM_ONE_MINIMAL_ARCHIVE_DB:-false}
|
||||||
- --execution.caching.database-cache=${ARBITRUM_ONE_NITRO_MINIMAL_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${ARBITRUM_ONE_NITRO_MINIMAL_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${ARBITRUM_ONE_NITRO_MINIMAL_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${ARBITRUM_ONE_NITRO_MINIMAL_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${ARBITRUM_ONE_NITRO_MINIMAL_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${ARBITRUM_ONE_NITRO_MINIMAL_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${ARBITRUM_ONE_NITRO_MINIMAL_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${ARBITRUM_ONE_NITRO_MINIMAL_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.rpc.gas-cap=5500000000
|
- --execution.rpc.gas-cap=5500000000
|
||||||
@@ -69,6 +70,7 @@ services:
|
|||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_MAINNET_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/arbitrum-one-minimal
|
- --persistent.chain=/root/.arbitrum/arbitrum-one-minimal
|
||||||
- --persistent.db-engine=pebble
|
- --persistent.db-engine=pebble
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -53,6 +53,7 @@ services:
|
|||||||
- --execution.caching.archive=${ARBITRUM_ONE_ARCHIVE_DB:-false}
|
- --execution.caching.archive=${ARBITRUM_ONE_ARCHIVE_DB:-false}
|
||||||
- --execution.caching.database-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.rpc.gas-cap=5500000000
|
- --execution.rpc.gas-cap=5500000000
|
||||||
@@ -71,6 +72,7 @@ services:
|
|||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_MAINNET_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/arbitrum-one
|
- --persistent.chain=/root/.arbitrum/arbitrum-one
|
||||||
- --persistent.db-engine=pebble
|
- --persistent.db-engine=pebble
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -53,6 +53,7 @@ services:
|
|||||||
- --execution.caching.archive=${ARBITRUM_ONE_ARCHIVE_DB:-false}
|
- --execution.caching.archive=${ARBITRUM_ONE_ARCHIVE_DB:-false}
|
||||||
- --execution.caching.database-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.rpc.gas-cap=5500000000
|
- --execution.rpc.gas-cap=5500000000
|
||||||
@@ -70,6 +71,7 @@ services:
|
|||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_MAINNET_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/arbitrum-one
|
- --persistent.chain=/root/.arbitrum/arbitrum-one
|
||||||
- --persistent.db-engine=pebble
|
- --persistent.db-engine=pebble
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
arbitrum-one:
|
arbitrum-one:
|
||||||
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_ONE_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_ONE_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=${ARBITRUM_ONE_ARCHIVE_DB:-false}
|
- --execution.caching.archive=${ARBITRUM_ONE_ARCHIVE_DB:-false}
|
||||||
- --execution.caching.database-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.rpc.gas-cap=5500000000
|
- --execution.rpc.gas-cap=5500000000
|
||||||
@@ -70,6 +71,7 @@ services:
|
|||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_MAINNET_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/arbitrum-one
|
- --persistent.chain=/root/.arbitrum/arbitrum-one
|
||||||
- --persistent.db-engine=pebble
|
- --persistent.db-engine=pebble
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
arbitrum-one:
|
arbitrum-one:
|
||||||
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_ONE_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_ONE_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=${ARBITRUM_ONE_ARCHIVE_DB:-false}
|
- --execution.caching.archive=${ARBITRUM_ONE_ARCHIVE_DB:-false}
|
||||||
- --execution.caching.database-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${ARBITRUM_ONE_NITRO_PRUNED_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.rpc.gas-cap=5500000000
|
- --execution.rpc.gas-cap=5500000000
|
||||||
@@ -69,6 +70,7 @@ services:
|
|||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_MAINNET_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/arbitrum-one
|
- --persistent.chain=/root/.arbitrum/arbitrum-one
|
||||||
- --persistent.db-engine=pebble
|
- --persistent.db-engine=pebble
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
arbitrum-sepolia-archive:
|
arbitrum-sepolia-archive:
|
||||||
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_SEPOLIA_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_SEPOLIA_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=true
|
- --execution.caching.archive=true
|
||||||
- --execution.caching.database-cache=${ARBITRUM_SEPOLIA_NITRO_ARCHIVE_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${ARBITRUM_SEPOLIA_NITRO_ARCHIVE_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${ARBITRUM_SEPOLIA_NITRO_ARCHIVE_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${ARBITRUM_SEPOLIA_NITRO_ARCHIVE_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${ARBITRUM_SEPOLIA_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${ARBITRUM_SEPOLIA_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${ARBITRUM_SEPOLIA_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${ARBITRUM_SEPOLIA_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.rpc.gas-cap=5500000000
|
- --execution.rpc.gas-cap=5500000000
|
||||||
@@ -62,6 +63,7 @@ services:
|
|||||||
- --http.corsdomain=*
|
- --http.corsdomain=*
|
||||||
- --http.port=8545
|
- --http.port=8545
|
||||||
- --http.vhosts=*
|
- --http.vhosts=*
|
||||||
|
- --init.validate-genesis-assertion=false
|
||||||
- --metrics
|
- --metrics
|
||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
@@ -69,6 +71,7 @@ services:
|
|||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/arbitrum-sepolia-archive
|
- --persistent.chain=/root/.arbitrum/arbitrum-sepolia-archive
|
||||||
- --persistent.db-engine=pebble
|
- --persistent.db-engine=pebble
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
arbitrum-sepolia-minimal:
|
arbitrum-sepolia-minimal:
|
||||||
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_SEPOLIA_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_SEPOLIA_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=${ARBITRUM_SEPOLIA_MINIMAL_ARCHIVE_DB:-false}
|
- --execution.caching.archive=${ARBITRUM_SEPOLIA_MINIMAL_ARCHIVE_DB:-false}
|
||||||
- --execution.caching.database-cache=${ARBITRUM_SEPOLIA_NITRO_MINIMAL_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${ARBITRUM_SEPOLIA_NITRO_MINIMAL_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${ARBITRUM_SEPOLIA_NITRO_MINIMAL_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${ARBITRUM_SEPOLIA_NITRO_MINIMAL_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${ARBITRUM_SEPOLIA_NITRO_MINIMAL_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${ARBITRUM_SEPOLIA_NITRO_MINIMAL_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${ARBITRUM_SEPOLIA_NITRO_MINIMAL_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${ARBITRUM_SEPOLIA_NITRO_MINIMAL_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.rpc.gas-cap=5500000000
|
- --execution.rpc.gas-cap=5500000000
|
||||||
@@ -63,6 +64,7 @@ services:
|
|||||||
- --http.port=8545
|
- --http.port=8545
|
||||||
- --http.vhosts=*
|
- --http.vhosts=*
|
||||||
- --init.prune=minimal
|
- --init.prune=minimal
|
||||||
|
- --init.validate-genesis-assertion=false
|
||||||
- --metrics
|
- --metrics
|
||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
@@ -70,6 +72,7 @@ services:
|
|||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/arbitrum-sepolia-minimal
|
- --persistent.chain=/root/.arbitrum/arbitrum-sepolia-minimal
|
||||||
- --persistent.db-engine=pebble
|
- --persistent.db-engine=pebble
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
arbitrum-sepolia-minimal:
|
arbitrum-sepolia-minimal:
|
||||||
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_SEPOLIA_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_SEPOLIA_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=${ARBITRUM_SEPOLIA_MINIMAL_ARCHIVE_DB:-false}
|
- --execution.caching.archive=${ARBITRUM_SEPOLIA_MINIMAL_ARCHIVE_DB:-false}
|
||||||
- --execution.caching.database-cache=${ARBITRUM_SEPOLIA_NITRO_MINIMAL_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${ARBITRUM_SEPOLIA_NITRO_MINIMAL_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${ARBITRUM_SEPOLIA_NITRO_MINIMAL_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${ARBITRUM_SEPOLIA_NITRO_MINIMAL_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${ARBITRUM_SEPOLIA_NITRO_MINIMAL_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${ARBITRUM_SEPOLIA_NITRO_MINIMAL_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${ARBITRUM_SEPOLIA_NITRO_MINIMAL_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${ARBITRUM_SEPOLIA_NITRO_MINIMAL_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.rpc.gas-cap=5500000000
|
- --execution.rpc.gas-cap=5500000000
|
||||||
@@ -62,6 +63,7 @@ services:
|
|||||||
- --http.corsdomain=*
|
- --http.corsdomain=*
|
||||||
- --http.port=8545
|
- --http.port=8545
|
||||||
- --http.vhosts=*
|
- --http.vhosts=*
|
||||||
|
- --init.validate-genesis-assertion=false
|
||||||
- --metrics
|
- --metrics
|
||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
@@ -69,6 +71,7 @@ services:
|
|||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/arbitrum-sepolia-minimal
|
- --persistent.chain=/root/.arbitrum/arbitrum-sepolia-minimal
|
||||||
- --persistent.db-engine=pebble
|
- --persistent.db-engine=pebble
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
arbitrum-sepolia:
|
arbitrum-sepolia:
|
||||||
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_SEPOLIA_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_SEPOLIA_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=${ARBITRUM_SEPOLIA_ARCHIVE_DB:-false}
|
- --execution.caching.archive=${ARBITRUM_SEPOLIA_ARCHIVE_DB:-false}
|
||||||
- --execution.caching.database-cache=${ARBITRUM_SEPOLIA_NITRO_PRUNED_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${ARBITRUM_SEPOLIA_NITRO_PRUNED_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${ARBITRUM_SEPOLIA_NITRO_PRUNED_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${ARBITRUM_SEPOLIA_NITRO_PRUNED_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${ARBITRUM_SEPOLIA_NITRO_PRUNED_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${ARBITRUM_SEPOLIA_NITRO_PRUNED_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${ARBITRUM_SEPOLIA_NITRO_PRUNED_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${ARBITRUM_SEPOLIA_NITRO_PRUNED_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.rpc.gas-cap=5500000000
|
- --execution.rpc.gas-cap=5500000000
|
||||||
@@ -63,6 +64,7 @@ services:
|
|||||||
- --http.port=8545
|
- --http.port=8545
|
||||||
- --http.vhosts=*
|
- --http.vhosts=*
|
||||||
- --init.prune=full
|
- --init.prune=full
|
||||||
|
- --init.validate-genesis-assertion=false
|
||||||
- --metrics
|
- --metrics
|
||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
@@ -70,6 +72,7 @@ services:
|
|||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/arbitrum-sepolia
|
- --persistent.chain=/root/.arbitrum/arbitrum-sepolia
|
||||||
- --persistent.db-engine=pebble
|
- --persistent.db-engine=pebble
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
arbitrum-sepolia:
|
arbitrum-sepolia:
|
||||||
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_SEPOLIA_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_SEPOLIA_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=${ARBITRUM_SEPOLIA_ARCHIVE_DB:-false}
|
- --execution.caching.archive=${ARBITRUM_SEPOLIA_ARCHIVE_DB:-false}
|
||||||
- --execution.caching.database-cache=${ARBITRUM_SEPOLIA_NITRO_PRUNED_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${ARBITRUM_SEPOLIA_NITRO_PRUNED_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${ARBITRUM_SEPOLIA_NITRO_PRUNED_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${ARBITRUM_SEPOLIA_NITRO_PRUNED_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${ARBITRUM_SEPOLIA_NITRO_PRUNED_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${ARBITRUM_SEPOLIA_NITRO_PRUNED_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${ARBITRUM_SEPOLIA_NITRO_PRUNED_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${ARBITRUM_SEPOLIA_NITRO_PRUNED_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.rpc.gas-cap=5500000000
|
- --execution.rpc.gas-cap=5500000000
|
||||||
@@ -62,6 +63,7 @@ services:
|
|||||||
- --http.corsdomain=*
|
- --http.corsdomain=*
|
||||||
- --http.port=8545
|
- --http.port=8545
|
||||||
- --http.vhosts=*
|
- --http.vhosts=*
|
||||||
|
- --init.validate-genesis-assertion=false
|
||||||
- --metrics
|
- --metrics
|
||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
@@ -69,6 +71,7 @@ services:
|
|||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/arbitrum-sepolia
|
- --persistent.chain=/root/.arbitrum/arbitrum-sepolia
|
||||||
- --persistent.db-engine=pebble
|
- --persistent.db-engine=pebble
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
connext-sepolia-archive:
|
connext-sepolia-archive:
|
||||||
image: ${CONNEXT_NITRO_IMAGE:-offchainlabs/nitro-node}:${CONNEXT_SEPOLIA_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${CONNEXT_NITRO_IMAGE:-offchainlabs/nitro-node}:${CONNEXT_SEPOLIA_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=true
|
- --execution.caching.archive=true
|
||||||
- --execution.caching.database-cache=${CONNEXT_SEPOLIA_NITRO_ARCHIVE_LEVELDB_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${CONNEXT_SEPOLIA_NITRO_ARCHIVE_LEVELDB_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${CONNEXT_SEPOLIA_NITRO_ARCHIVE_LEVELDB_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${CONNEXT_SEPOLIA_NITRO_ARCHIVE_LEVELDB_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${CONNEXT_SEPOLIA_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${CONNEXT_SEPOLIA_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${CONNEXT_SEPOLIA_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${CONNEXT_SEPOLIA_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.forwarding-target=https://rpc.connext-sepolia.gelato.digital
|
- --execution.forwarding-target=https://rpc.connext-sepolia.gelato.digital
|
||||||
@@ -67,13 +68,14 @@ services:
|
|||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
- --node.batch-poster.enable=false
|
- --node.batch-poster.enable=false
|
||||||
- --node.data-availability.enable=true
|
- --node.da.anytrust.enable=true
|
||||||
- --node.data-availability.rest-aggregator.enable=true
|
- --node.da.anytrust.rest-aggregator.enable=true
|
||||||
- --node.data-availability.rest-aggregator.urls=https://das.connext-sepolia.gelato.digital
|
- --node.da.anytrust.rest-aggregator.urls=https://das.connext-sepolia.gelato.digital
|
||||||
- --node.feed.input.url=wss://feed.connext-sepolia.gelato.digital
|
- --node.feed.input.url=wss://feed.connext-sepolia.gelato.digital
|
||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/connext-sepolia-archive
|
- --persistent.chain=/root/.arbitrum/connext-sepolia-archive
|
||||||
- --ws.addr=0.0.0.0
|
- --ws.addr=0.0.0.0
|
||||||
@@ -116,7 +118,7 @@ x-upstreams:
|
|||||||
frameSize: 20Mb
|
frameSize: 20Mb
|
||||||
msgSize: 50Mb
|
msgSize: 50Mb
|
||||||
url: $${WS_URL}
|
url: $${WS_URL}
|
||||||
chain: everclear-sepolia
|
chain:
|
||||||
method-groups:
|
method-groups:
|
||||||
enabled:
|
enabled:
|
||||||
- debug
|
- debug
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
connext-sepolia:
|
connext-sepolia:
|
||||||
image: ${CONNEXT_NITRO_IMAGE:-offchainlabs/nitro-node}:${CONNEXT_SEPOLIA_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${CONNEXT_NITRO_IMAGE:-offchainlabs/nitro-node}:${CONNEXT_SEPOLIA_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -67,13 +67,14 @@ services:
|
|||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
- --node.batch-poster.enable=false
|
- --node.batch-poster.enable=false
|
||||||
- --node.data-availability.enable=true
|
- --node.da.anytrust.enable=true
|
||||||
- --node.data-availability.rest-aggregator.enable=true
|
- --node.da.anytrust.rest-aggregator.enable=true
|
||||||
- --node.data-availability.rest-aggregator.urls=https://das.connext-sepolia.gelato.digital
|
- --node.da.anytrust.rest-aggregator.urls=https://das.connext-sepolia.gelato.digital
|
||||||
- --node.feed.input.url=wss://feed.connext-sepolia.gelato.digital
|
- --node.feed.input.url=wss://feed.connext-sepolia.gelato.digital
|
||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/connext-sepolia
|
- --persistent.chain=/root/.arbitrum/connext-sepolia
|
||||||
- --persistent.db-engine=pebble
|
- --persistent.db-engine=pebble
|
||||||
@@ -117,7 +118,7 @@ x-upstreams:
|
|||||||
frameSize: 20Mb
|
frameSize: 20Mb
|
||||||
msgSize: 50Mb
|
msgSize: 50Mb
|
||||||
url: $${WS_URL}
|
url: $${WS_URL}
|
||||||
chain: everclear-sepolia
|
chain:
|
||||||
method-groups:
|
method-groups:
|
||||||
enabled:
|
enabled:
|
||||||
- debug
|
- debug
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
everclear-mainnet-archive:
|
everclear-mainnet-archive:
|
||||||
image: ${EVERCLEAR_NITRO_IMAGE:-offchainlabs/nitro-node}:${EVERCLEAR_MAINNET_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${EVERCLEAR_NITRO_IMAGE:-offchainlabs/nitro-node}:${EVERCLEAR_MAINNET_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=true
|
- --execution.caching.archive=true
|
||||||
- --execution.caching.database-cache=${EVERCLEAR_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${EVERCLEAR_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${EVERCLEAR_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${EVERCLEAR_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${EVERCLEAR_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${EVERCLEAR_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${EVERCLEAR_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${EVERCLEAR_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.forwarding-target=https://rpc.everclear.raas.gelato.cloud
|
- --execution.forwarding-target=https://rpc.everclear.raas.gelato.cloud
|
||||||
@@ -67,13 +68,14 @@ services:
|
|||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
- --node.batch-poster.enable=false
|
- --node.batch-poster.enable=false
|
||||||
- --node.data-availability.enable=true
|
- --node.da.anytrust.enable=true
|
||||||
- --node.data-availability.rest-aggregator.enable=true
|
- --node.da.anytrust.rest-aggregator.enable=true
|
||||||
- --node.data-availability.rest-aggregator.urls=https://das.everclear.raas.gelato.cloud
|
- --node.da.anytrust.rest-aggregator.urls=https://das.everclear.raas.gelato.cloud
|
||||||
- --node.feed.input.url=wss://feed.everclear.raas.gelato.cloud
|
- --node.feed.input.url=wss://feed.everclear.raas.gelato.cloud
|
||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_MAINNET_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/everclear-mainnet-archive
|
- --persistent.chain=/root/.arbitrum/everclear-mainnet-archive
|
||||||
- --ws.addr=0.0.0.0
|
- --ws.addr=0.0.0.0
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
everclear-mainnet:
|
everclear-mainnet:
|
||||||
image: ${EVERCLEAR_NITRO_IMAGE:-offchainlabs/nitro-node}:${EVERCLEAR_MAINNET_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${EVERCLEAR_NITRO_IMAGE:-offchainlabs/nitro-node}:${EVERCLEAR_MAINNET_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -67,13 +67,14 @@ services:
|
|||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
- --node.batch-poster.enable=false
|
- --node.batch-poster.enable=false
|
||||||
- --node.data-availability.enable=true
|
- --node.da.anytrust.enable=true
|
||||||
- --node.data-availability.rest-aggregator.enable=true
|
- --node.da.anytrust.rest-aggregator.enable=true
|
||||||
- --node.data-availability.rest-aggregator.urls=https://das.everclear.raas.gelato.cloud
|
- --node.da.anytrust.rest-aggregator.urls=https://das.everclear.raas.gelato.cloud
|
||||||
- --node.feed.input.url=wss://feed.everclear.raas.gelato.cloud
|
- --node.feed.input.url=wss://feed.everclear.raas.gelato.cloud
|
||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_MAINNET_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/everclear-mainnet
|
- --persistent.chain=/root/.arbitrum/everclear-mainnet
|
||||||
- --persistent.db-engine=pebble
|
- --persistent.db-engine=pebble
|
||||||
|
|||||||
145
arb/nitro/humanity-mainnet-nitro-pruned-pebble-hash.prune.yml
Normal file
145
arb/nitro/humanity-mainnet-nitro-pruned-pebble-hash.prune.yml
Normal file
@@ -0,0 +1,145 @@
|
|||||||
|
---
|
||||||
|
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:arb/nitro/humanity-mainnet-nitro-pruned-pebble-hash.yml
|
||||||
|
#
|
||||||
|
# docker compose up -d
|
||||||
|
#
|
||||||
|
# curl -X POST https://${IP}.traefik.me/humanity-mainnet \
|
||||||
|
# -H "Content-Type: application/json" \
|
||||||
|
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||||
|
|
||||||
|
services:
|
||||||
|
humanity-mainnet:
|
||||||
|
image: ${HUMANITY_NITRO_IMAGE:-offchainlabs/nitro-node}:${HUMANITY_MAINNET_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
|
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
|
||||||
|
command:
|
||||||
|
- --conf.file=/config/baseConfig.json
|
||||||
|
- --execution.caching.archive=${HUMANITY_MAINNET_ARCHIVE_DB:-false}
|
||||||
|
- --execution.caching.database-cache=${HUMANITY_MAINNET_NITRO_PRUNED_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
||||||
|
- --execution.caching.snapshot-cache=${HUMANITY_MAINNET_NITRO_PRUNED_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
|
- --execution.caching.trie-clean-cache=${HUMANITY_MAINNET_NITRO_PRUNED_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
|
- --execution.caching.trie-dirty-cache=${HUMANITY_MAINNET_NITRO_PRUNED_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
|
- --execution.forwarding-target=https://humanity-main.g.alchemy.com/public
|
||||||
|
- --execution.rpc.gas-cap=5500000000
|
||||||
|
- --execution.rpc.log-history=0
|
||||||
|
- --execution.sequencer.enable=false
|
||||||
|
- --http.addr=0.0.0.0
|
||||||
|
- --http.api=eth,net,web3,arb,txpool,debug
|
||||||
|
- --http.corsdomain=*
|
||||||
|
- --http.port=8545
|
||||||
|
- --http.vhosts=*
|
||||||
|
- --init.prune=full
|
||||||
|
- --metrics
|
||||||
|
- --metrics-server.addr=0.0.0.0
|
||||||
|
- --metrics-server.port=6070
|
||||||
|
- --node.batch-poster.enable=false
|
||||||
|
- --node.da.anytrust.enable=true
|
||||||
|
- --node.da.anytrust.rest-aggregator.enable=true
|
||||||
|
- --node.da.anytrust.rest-aggregator.urls=https://humanity-main.g.alchemy.com/public
|
||||||
|
- --node.feed.input.url=wss://humanity-main.g.alchemy.com/public
|
||||||
|
- --node.sequencer=false
|
||||||
|
- --node.staker.enable=false
|
||||||
|
- --parent-chain.connection.url=${ARBITRUM_ONE_EXECUTION_RPC}
|
||||||
|
- --persistent.chain=/root/.arbitrum/humanity-mainnet
|
||||||
|
- --persistent.db-engine=pebble
|
||||||
|
- --ws.addr=0.0.0.0
|
||||||
|
- --ws.origins=*
|
||||||
|
- --ws.port=8545
|
||||||
|
restart: unless-stopped
|
||||||
|
stop_grace_period: 5m
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${HUMANITY_MAINNET_NITRO_PRUNED_PEBBLE_HASH_DATA:-humanity-mainnet-nitro-pruned-pebble-hash}:/root/.arbitrum
|
||||||
|
- /slowdisk:/slowdisk
|
||||||
|
logging: *logging-defaults
|
||||||
|
labels:
|
||||||
|
- prometheus-scrape.enabled=true
|
||||||
|
- prometheus-scrape.port=6070
|
||||||
|
- prometheus-scrape.path=/debug/metrics/prometheus
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.http.middlewares.humanity-mainnet-nitro-pruned-pebble-hash-stripprefix.stripprefix.prefixes=/humanity-mainnet
|
||||||
|
- traefik.http.services.humanity-mainnet-nitro-pruned-pebble-hash.loadbalancer.server.port=8545
|
||||||
|
- ${NO_SSL:-traefik.http.routers.humanity-mainnet-nitro-pruned-pebble-hash.entrypoints=websecure}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.humanity-mainnet-nitro-pruned-pebble-hash.tls.certresolver=myresolver}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.humanity-mainnet-nitro-pruned-pebble-hash.rule=Host(`$DOMAIN`) && (Path(`/humanity-mainnet`) || Path(`/humanity-mainnet/`))}
|
||||||
|
- ${NO_SSL:+traefik.http.routers.humanity-mainnet-nitro-pruned-pebble-hash.rule=Path(`/humanity-mainnet`) || Path(`/humanity-mainnet/`)}
|
||||||
|
- traefik.http.routers.humanity-mainnet-nitro-pruned-pebble-hash.middlewares=humanity-mainnet-nitro-pruned-pebble-hash-stripprefix, ipallowlist
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
humanity-mainnet-nitro-pruned-pebble-hash:
|
||||||
|
|
||||||
|
x-upstreams:
|
||||||
|
- id: $${ID}
|
||||||
|
labels:
|
||||||
|
provider: $${PROVIDER}
|
||||||
|
connection:
|
||||||
|
generic:
|
||||||
|
rpc:
|
||||||
|
url: $${RPC_URL}
|
||||||
|
ws:
|
||||||
|
frameSize: 20Mb
|
||||||
|
msgSize: 50Mb
|
||||||
|
url: $${WS_URL}
|
||||||
|
chain: humanity
|
||||||
|
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
|
||||||
|
...
|
||||||
144
arb/nitro/humanity-mainnet-nitro-pruned-pebble-hash.yml
Normal file
144
arb/nitro/humanity-mainnet-nitro-pruned-pebble-hash.yml
Normal file
@@ -0,0 +1,144 @@
|
|||||||
|
---
|
||||||
|
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:arb/nitro/humanity-mainnet-nitro-pruned-pebble-hash.yml
|
||||||
|
#
|
||||||
|
# docker compose up -d
|
||||||
|
#
|
||||||
|
# curl -X POST https://${IP}.traefik.me/humanity-mainnet \
|
||||||
|
# -H "Content-Type: application/json" \
|
||||||
|
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||||
|
|
||||||
|
services:
|
||||||
|
humanity-mainnet:
|
||||||
|
image: ${HUMANITY_NITRO_IMAGE:-offchainlabs/nitro-node}:${HUMANITY_MAINNET_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
|
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
|
||||||
|
command:
|
||||||
|
- --conf.file=/config/baseConfig.json
|
||||||
|
- --execution.caching.archive=${HUMANITY_MAINNET_ARCHIVE_DB:-false}
|
||||||
|
- --execution.caching.database-cache=${HUMANITY_MAINNET_NITRO_PRUNED_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
||||||
|
- --execution.caching.snapshot-cache=${HUMANITY_MAINNET_NITRO_PRUNED_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
|
- --execution.caching.trie-clean-cache=${HUMANITY_MAINNET_NITRO_PRUNED_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
|
- --execution.caching.trie-dirty-cache=${HUMANITY_MAINNET_NITRO_PRUNED_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
|
- --execution.forwarding-target=https://humanity-main.g.alchemy.com/public
|
||||||
|
- --execution.rpc.gas-cap=5500000000
|
||||||
|
- --execution.rpc.log-history=0
|
||||||
|
- --execution.sequencer.enable=false
|
||||||
|
- --http.addr=0.0.0.0
|
||||||
|
- --http.api=eth,net,web3,arb,txpool,debug
|
||||||
|
- --http.corsdomain=*
|
||||||
|
- --http.port=8545
|
||||||
|
- --http.vhosts=*
|
||||||
|
- --metrics
|
||||||
|
- --metrics-server.addr=0.0.0.0
|
||||||
|
- --metrics-server.port=6070
|
||||||
|
- --node.batch-poster.enable=false
|
||||||
|
- --node.da.anytrust.enable=true
|
||||||
|
- --node.da.anytrust.rest-aggregator.enable=true
|
||||||
|
- --node.da.anytrust.rest-aggregator.urls=https://humanity-main.g.alchemy.com/public
|
||||||
|
- --node.feed.input.url=wss://humanity-main.g.alchemy.com/public
|
||||||
|
- --node.sequencer=false
|
||||||
|
- --node.staker.enable=false
|
||||||
|
- --parent-chain.connection.url=${ARBITRUM_ONE_EXECUTION_RPC}
|
||||||
|
- --persistent.chain=/root/.arbitrum/humanity-mainnet
|
||||||
|
- --persistent.db-engine=pebble
|
||||||
|
- --ws.addr=0.0.0.0
|
||||||
|
- --ws.origins=*
|
||||||
|
- --ws.port=8545
|
||||||
|
restart: unless-stopped
|
||||||
|
stop_grace_period: 5m
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${HUMANITY_MAINNET_NITRO_PRUNED_PEBBLE_HASH_DATA:-humanity-mainnet-nitro-pruned-pebble-hash}:/root/.arbitrum
|
||||||
|
- /slowdisk:/slowdisk
|
||||||
|
logging: *logging-defaults
|
||||||
|
labels:
|
||||||
|
- prometheus-scrape.enabled=true
|
||||||
|
- prometheus-scrape.port=6070
|
||||||
|
- prometheus-scrape.path=/debug/metrics/prometheus
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.http.middlewares.humanity-mainnet-nitro-pruned-pebble-hash-stripprefix.stripprefix.prefixes=/humanity-mainnet
|
||||||
|
- traefik.http.services.humanity-mainnet-nitro-pruned-pebble-hash.loadbalancer.server.port=8545
|
||||||
|
- ${NO_SSL:-traefik.http.routers.humanity-mainnet-nitro-pruned-pebble-hash.entrypoints=websecure}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.humanity-mainnet-nitro-pruned-pebble-hash.tls.certresolver=myresolver}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.humanity-mainnet-nitro-pruned-pebble-hash.rule=Host(`$DOMAIN`) && (Path(`/humanity-mainnet`) || Path(`/humanity-mainnet/`))}
|
||||||
|
- ${NO_SSL:+traefik.http.routers.humanity-mainnet-nitro-pruned-pebble-hash.rule=Path(`/humanity-mainnet`) || Path(`/humanity-mainnet/`)}
|
||||||
|
- traefik.http.routers.humanity-mainnet-nitro-pruned-pebble-hash.middlewares=humanity-mainnet-nitro-pruned-pebble-hash-stripprefix, ipallowlist
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
humanity-mainnet-nitro-pruned-pebble-hash:
|
||||||
|
|
||||||
|
x-upstreams:
|
||||||
|
- id: $${ID}
|
||||||
|
labels:
|
||||||
|
provider: $${PROVIDER}
|
||||||
|
connection:
|
||||||
|
generic:
|
||||||
|
rpc:
|
||||||
|
url: $${RPC_URL}
|
||||||
|
ws:
|
||||||
|
frameSize: 20Mb
|
||||||
|
msgSize: 50Mb
|
||||||
|
url: $${WS_URL}
|
||||||
|
chain: humanity
|
||||||
|
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
|
||||||
|
...
|
||||||
145
arb/nitro/humanity-testnet-nitro-pruned-pebble-hash.prune.yml
Normal file
145
arb/nitro/humanity-testnet-nitro-pruned-pebble-hash.prune.yml
Normal file
@@ -0,0 +1,145 @@
|
|||||||
|
---
|
||||||
|
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:arb/nitro/humanity-testnet-nitro-pruned-pebble-hash.yml
|
||||||
|
#
|
||||||
|
# docker compose up -d
|
||||||
|
#
|
||||||
|
# curl -X POST https://${IP}.traefik.me/humanity-testnet \
|
||||||
|
# -H "Content-Type: application/json" \
|
||||||
|
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||||
|
|
||||||
|
services:
|
||||||
|
humanity-testnet:
|
||||||
|
image: ${HUMANITY_NITRO_IMAGE:-offchainlabs/nitro-node}:${HUMANITY_TESTNET_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
|
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
|
||||||
|
command:
|
||||||
|
- --conf.file=/config/baseConfig.json
|
||||||
|
- --execution.caching.archive=${HUMANITY_TESTNET_ARCHIVE_DB:-false}
|
||||||
|
- --execution.caching.database-cache=${HUMANITY_TESTNET_NITRO_PRUNED_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
||||||
|
- --execution.caching.snapshot-cache=${HUMANITY_TESTNET_NITRO_PRUNED_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
|
- --execution.caching.trie-clean-cache=${HUMANITY_TESTNET_NITRO_PRUNED_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
|
- --execution.caching.trie-dirty-cache=${HUMANITY_TESTNET_NITRO_PRUNED_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
|
- --execution.forwarding-target=https://rpc.testnet.humanity.org
|
||||||
|
- --execution.rpc.gas-cap=5500000000
|
||||||
|
- --execution.rpc.log-history=0
|
||||||
|
- --execution.sequencer.enable=false
|
||||||
|
- --http.addr=0.0.0.0
|
||||||
|
- --http.api=eth,net,web3,arb,txpool,debug
|
||||||
|
- --http.corsdomain=*
|
||||||
|
- --http.port=8545
|
||||||
|
- --http.vhosts=*
|
||||||
|
- --init.prune=full
|
||||||
|
- --metrics
|
||||||
|
- --metrics-server.addr=0.0.0.0
|
||||||
|
- --metrics-server.port=6070
|
||||||
|
- --node.batch-poster.enable=false
|
||||||
|
- --node.da.anytrust.enable=true
|
||||||
|
- --node.da.anytrust.rest-aggregator.enable=true
|
||||||
|
- --node.da.anytrust.rest-aggregator.urls=https://rpc.testnet.humanity.org
|
||||||
|
- --node.feed.input.url=wss://rpc.testnet.humanity.org
|
||||||
|
- --node.sequencer=false
|
||||||
|
- --node.staker.enable=false
|
||||||
|
- --parent-chain.connection.url=${ARBITRUM_ONE_EXECUTION_RPC}
|
||||||
|
- --persistent.chain=/root/.arbitrum/humanity-testnet
|
||||||
|
- --persistent.db-engine=pebble
|
||||||
|
- --ws.addr=0.0.0.0
|
||||||
|
- --ws.origins=*
|
||||||
|
- --ws.port=8545
|
||||||
|
restart: unless-stopped
|
||||||
|
stop_grace_period: 5m
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${HUMANITY_TESTNET_NITRO_PRUNED_PEBBLE_HASH_DATA:-humanity-testnet-nitro-pruned-pebble-hash}:/root/.arbitrum
|
||||||
|
- /slowdisk:/slowdisk
|
||||||
|
logging: *logging-defaults
|
||||||
|
labels:
|
||||||
|
- prometheus-scrape.enabled=true
|
||||||
|
- prometheus-scrape.port=6070
|
||||||
|
- prometheus-scrape.path=/debug/metrics/prometheus
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.http.middlewares.humanity-testnet-nitro-pruned-pebble-hash-stripprefix.stripprefix.prefixes=/humanity-testnet
|
||||||
|
- traefik.http.services.humanity-testnet-nitro-pruned-pebble-hash.loadbalancer.server.port=8545
|
||||||
|
- ${NO_SSL:-traefik.http.routers.humanity-testnet-nitro-pruned-pebble-hash.entrypoints=websecure}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.humanity-testnet-nitro-pruned-pebble-hash.tls.certresolver=myresolver}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.humanity-testnet-nitro-pruned-pebble-hash.rule=Host(`$DOMAIN`) && (Path(`/humanity-testnet`) || Path(`/humanity-testnet/`))}
|
||||||
|
- ${NO_SSL:+traefik.http.routers.humanity-testnet-nitro-pruned-pebble-hash.rule=Path(`/humanity-testnet`) || Path(`/humanity-testnet/`)}
|
||||||
|
- traefik.http.routers.humanity-testnet-nitro-pruned-pebble-hash.middlewares=humanity-testnet-nitro-pruned-pebble-hash-stripprefix, ipallowlist
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
humanity-testnet-nitro-pruned-pebble-hash:
|
||||||
|
|
||||||
|
x-upstreams:
|
||||||
|
- id: $${ID}
|
||||||
|
labels:
|
||||||
|
provider: $${PROVIDER}
|
||||||
|
connection:
|
||||||
|
generic:
|
||||||
|
rpc:
|
||||||
|
url: $${RPC_URL}
|
||||||
|
ws:
|
||||||
|
frameSize: 20Mb
|
||||||
|
msgSize: 50Mb
|
||||||
|
url: $${WS_URL}
|
||||||
|
chain: humanity-testnet
|
||||||
|
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
|
||||||
|
...
|
||||||
144
arb/nitro/humanity-testnet-nitro-pruned-pebble-hash.yml
Normal file
144
arb/nitro/humanity-testnet-nitro-pruned-pebble-hash.yml
Normal file
@@ -0,0 +1,144 @@
|
|||||||
|
---
|
||||||
|
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:arb/nitro/humanity-testnet-nitro-pruned-pebble-hash.yml
|
||||||
|
#
|
||||||
|
# docker compose up -d
|
||||||
|
#
|
||||||
|
# curl -X POST https://${IP}.traefik.me/humanity-testnet \
|
||||||
|
# -H "Content-Type: application/json" \
|
||||||
|
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||||
|
|
||||||
|
services:
|
||||||
|
humanity-testnet:
|
||||||
|
image: ${HUMANITY_NITRO_IMAGE:-offchainlabs/nitro-node}:${HUMANITY_TESTNET_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
|
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
|
||||||
|
command:
|
||||||
|
- --conf.file=/config/baseConfig.json
|
||||||
|
- --execution.caching.archive=${HUMANITY_TESTNET_ARCHIVE_DB:-false}
|
||||||
|
- --execution.caching.database-cache=${HUMANITY_TESTNET_NITRO_PRUNED_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
||||||
|
- --execution.caching.snapshot-cache=${HUMANITY_TESTNET_NITRO_PRUNED_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
|
- --execution.caching.trie-clean-cache=${HUMANITY_TESTNET_NITRO_PRUNED_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
|
- --execution.caching.trie-dirty-cache=${HUMANITY_TESTNET_NITRO_PRUNED_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
|
- --execution.forwarding-target=https://rpc.testnet.humanity.org
|
||||||
|
- --execution.rpc.gas-cap=5500000000
|
||||||
|
- --execution.rpc.log-history=0
|
||||||
|
- --execution.sequencer.enable=false
|
||||||
|
- --http.addr=0.0.0.0
|
||||||
|
- --http.api=eth,net,web3,arb,txpool,debug
|
||||||
|
- --http.corsdomain=*
|
||||||
|
- --http.port=8545
|
||||||
|
- --http.vhosts=*
|
||||||
|
- --metrics
|
||||||
|
- --metrics-server.addr=0.0.0.0
|
||||||
|
- --metrics-server.port=6070
|
||||||
|
- --node.batch-poster.enable=false
|
||||||
|
- --node.da.anytrust.enable=true
|
||||||
|
- --node.da.anytrust.rest-aggregator.enable=true
|
||||||
|
- --node.da.anytrust.rest-aggregator.urls=https://rpc.testnet.humanity.org
|
||||||
|
- --node.feed.input.url=wss://rpc.testnet.humanity.org
|
||||||
|
- --node.sequencer=false
|
||||||
|
- --node.staker.enable=false
|
||||||
|
- --parent-chain.connection.url=${ARBITRUM_ONE_EXECUTION_RPC}
|
||||||
|
- --persistent.chain=/root/.arbitrum/humanity-testnet
|
||||||
|
- --persistent.db-engine=pebble
|
||||||
|
- --ws.addr=0.0.0.0
|
||||||
|
- --ws.origins=*
|
||||||
|
- --ws.port=8545
|
||||||
|
restart: unless-stopped
|
||||||
|
stop_grace_period: 5m
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${HUMANITY_TESTNET_NITRO_PRUNED_PEBBLE_HASH_DATA:-humanity-testnet-nitro-pruned-pebble-hash}:/root/.arbitrum
|
||||||
|
- /slowdisk:/slowdisk
|
||||||
|
logging: *logging-defaults
|
||||||
|
labels:
|
||||||
|
- prometheus-scrape.enabled=true
|
||||||
|
- prometheus-scrape.port=6070
|
||||||
|
- prometheus-scrape.path=/debug/metrics/prometheus
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.http.middlewares.humanity-testnet-nitro-pruned-pebble-hash-stripprefix.stripprefix.prefixes=/humanity-testnet
|
||||||
|
- traefik.http.services.humanity-testnet-nitro-pruned-pebble-hash.loadbalancer.server.port=8545
|
||||||
|
- ${NO_SSL:-traefik.http.routers.humanity-testnet-nitro-pruned-pebble-hash.entrypoints=websecure}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.humanity-testnet-nitro-pruned-pebble-hash.tls.certresolver=myresolver}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.humanity-testnet-nitro-pruned-pebble-hash.rule=Host(`$DOMAIN`) && (Path(`/humanity-testnet`) || Path(`/humanity-testnet/`))}
|
||||||
|
- ${NO_SSL:+traefik.http.routers.humanity-testnet-nitro-pruned-pebble-hash.rule=Path(`/humanity-testnet`) || Path(`/humanity-testnet/`)}
|
||||||
|
- traefik.http.routers.humanity-testnet-nitro-pruned-pebble-hash.middlewares=humanity-testnet-nitro-pruned-pebble-hash-stripprefix, ipallowlist
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
humanity-testnet-nitro-pruned-pebble-hash:
|
||||||
|
|
||||||
|
x-upstreams:
|
||||||
|
- id: $${ID}
|
||||||
|
labels:
|
||||||
|
provider: $${PROVIDER}
|
||||||
|
connection:
|
||||||
|
generic:
|
||||||
|
rpc:
|
||||||
|
url: $${RPC_URL}
|
||||||
|
ws:
|
||||||
|
frameSize: 20Mb
|
||||||
|
msgSize: 50Mb
|
||||||
|
url: $${WS_URL}
|
||||||
|
chain: humanity-testnet
|
||||||
|
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
|
||||||
|
...
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
opencampuscodex-sepolia-archive:
|
opencampuscodex-sepolia-archive:
|
||||||
image: ${OPENCAMPUSCODEX_NITRO_IMAGE:-offchainlabs/nitro-node}:${OPENCAMPUSCODEX_SEPOLIA_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${OPENCAMPUSCODEX_NITRO_IMAGE:-offchainlabs/nitro-node}:${OPENCAMPUSCODEX_SEPOLIA_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=true
|
- --execution.caching.archive=true
|
||||||
- --execution.caching.database-cache=${OPENCAMPUSCODEX_SEPOLIA_NITRO_ARCHIVE_LEVELDB_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${OPENCAMPUSCODEX_SEPOLIA_NITRO_ARCHIVE_LEVELDB_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${OPENCAMPUSCODEX_SEPOLIA_NITRO_ARCHIVE_LEVELDB_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${OPENCAMPUSCODEX_SEPOLIA_NITRO_ARCHIVE_LEVELDB_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${OPENCAMPUSCODEX_SEPOLIA_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${OPENCAMPUSCODEX_SEPOLIA_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${OPENCAMPUSCODEX_SEPOLIA_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${OPENCAMPUSCODEX_SEPOLIA_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.forwarding-target=https://rpc.open-campus-codex.gelato.digital
|
- --execution.forwarding-target=https://rpc.open-campus-codex.gelato.digital
|
||||||
@@ -67,9 +68,9 @@ services:
|
|||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
- --node.batch-poster.enable=false
|
- --node.batch-poster.enable=false
|
||||||
- --node.data-availability.enable=true
|
- --node.da.anytrust.enable=true
|
||||||
- --node.data-availability.rest-aggregator.enable=true
|
- --node.da.anytrust.rest-aggregator.enable=true
|
||||||
- --node.data-availability.rest-aggregator.urls=https://das.open-campus-codex.gelato.digital
|
- --node.da.anytrust.rest-aggregator.urls=https://das.open-campus-codex.gelato.digital
|
||||||
- --node.feed.input.url=wss://feed.open-campus-codex.gelato.digital
|
- --node.feed.input.url=wss://feed.open-campus-codex.gelato.digital
|
||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
opencampuscodex-sepolia:
|
opencampuscodex-sepolia:
|
||||||
image: ${OPENCAMPUSCODEX_NITRO_IMAGE:-offchainlabs/nitro-node}:${OPENCAMPUSCODEX_SEPOLIA_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${OPENCAMPUSCODEX_NITRO_IMAGE:-offchainlabs/nitro-node}:${OPENCAMPUSCODEX_SEPOLIA_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -67,9 +67,9 @@ services:
|
|||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
- --node.batch-poster.enable=false
|
- --node.batch-poster.enable=false
|
||||||
- --node.data-availability.enable=true
|
- --node.da.anytrust.enable=true
|
||||||
- --node.data-availability.rest-aggregator.enable=true
|
- --node.da.anytrust.rest-aggregator.enable=true
|
||||||
- --node.data-availability.rest-aggregator.urls=https://das.open-campus-codex.gelato.digital
|
- --node.da.anytrust.rest-aggregator.urls=https://das.open-campus-codex.gelato.digital
|
||||||
- --node.feed.input.url=wss://feed.open-campus-codex.gelato.digital
|
- --node.feed.input.url=wss://feed.open-campus-codex.gelato.digital
|
||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
playblock-mainnet-archive:
|
playblock-mainnet-archive:
|
||||||
image: ${PLAYBLOCK_NITRO_IMAGE:-offchainlabs/nitro-node}:${PLAYBLOCK_MAINNET_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${PLAYBLOCK_NITRO_IMAGE:-offchainlabs/nitro-node}:${PLAYBLOCK_MAINNET_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=true
|
- --execution.caching.archive=true
|
||||||
- --execution.caching.database-cache=${PLAYBLOCK_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${PLAYBLOCK_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${PLAYBLOCK_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${PLAYBLOCK_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${PLAYBLOCK_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${PLAYBLOCK_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${PLAYBLOCK_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${PLAYBLOCK_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.forwarding-target=https://rpc.playblock.io
|
- --execution.forwarding-target=https://rpc.playblock.io
|
||||||
@@ -67,9 +68,9 @@ services:
|
|||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
- --node.batch-poster.enable=false
|
- --node.batch-poster.enable=false
|
||||||
- --node.data-availability.enable=true
|
- --node.da.anytrust.enable=true
|
||||||
- --node.data-availability.rest-aggregator.enable=true
|
- --node.da.anytrust.rest-aggregator.enable=true
|
||||||
- --node.data-availability.rest-aggregator.urls=https://das.playblock.io
|
- --node.da.anytrust.rest-aggregator.urls=https://das.playblock.io
|
||||||
- --node.feed.input.url=wss://feed.playblock.io
|
- --node.feed.input.url=wss://feed.playblock.io
|
||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
playblock-mainnet:
|
playblock-mainnet:
|
||||||
image: ${PLAYBLOCK_NITRO_IMAGE:-offchainlabs/nitro-node}:${PLAYBLOCK_MAINNET_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${PLAYBLOCK_NITRO_IMAGE:-offchainlabs/nitro-node}:${PLAYBLOCK_MAINNET_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -67,9 +67,9 @@ services:
|
|||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
- --node.batch-poster.enable=false
|
- --node.batch-poster.enable=false
|
||||||
- --node.data-availability.enable=true
|
- --node.da.anytrust.enable=true
|
||||||
- --node.data-availability.rest-aggregator.enable=true
|
- --node.da.anytrust.rest-aggregator.enable=true
|
||||||
- --node.data-availability.rest-aggregator.urls=https://das.playblock.io
|
- --node.da.anytrust.rest-aggregator.urls=https://das.playblock.io
|
||||||
- --node.feed.input.url=wss://feed.playblock.io
|
- --node.feed.input.url=wss://feed.playblock.io
|
||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
plume-mainnet-archive:
|
plume-mainnet-archive:
|
||||||
image: ${PLUME_NITRO_IMAGE:-offchainlabs/nitro-node}:${PLUME_MAINNET_NITRO_VERSION:-v3.11.0-a618155}
|
image: ${PLUME_NITRO_IMAGE:-offchainlabs/nitro-node}:${PLUME_MAINNET_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=true
|
- --execution.caching.archive=true
|
||||||
- --execution.caching.database-cache=${PLUME_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${PLUME_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${PLUME_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${PLUME_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${PLUME_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${PLUME_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${PLUME_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${PLUME_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.forwarding-target=https://rpc.plume.org
|
- --execution.forwarding-target=https://rpc.plume.org
|
||||||
@@ -67,13 +68,14 @@ services:
|
|||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
- --node.batch-poster.enable=false
|
- --node.batch-poster.enable=false
|
||||||
- --node.data-availability.enable=true
|
- --node.da.anytrust.enable=true
|
||||||
- --node.data-availability.rest-aggregator.enable=true
|
- --node.da.anytrust.rest-aggregator.enable=true
|
||||||
- --node.data-availability.rest-aggregator.urls=https://das-plume-mainnet-1.t.conduit.xyz
|
- --node.da.anytrust.rest-aggregator.urls=https://das-plume-mainnet-1.t.conduit.xyz
|
||||||
- --node.feed.input.url=wss://relay-plume-mainnet-1.t.conduit.xyz
|
- --node.feed.input.url=wss://relay-plume-mainnet-1.t.conduit.xyz
|
||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_MAINNET_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/plume-mainnet-archive
|
- --persistent.chain=/root/.arbitrum/plume-mainnet-archive
|
||||||
- --ws.addr=0.0.0.0
|
- --ws.addr=0.0.0.0
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
plume-mainnet-archive:
|
plume-mainnet-archive:
|
||||||
image: ${PLUME_NITRO_IMAGE:-offchainlabs/nitro-node}:${PLUME_MAINNET_NITRO_VERSION:-v3.11.0-a618155}
|
image: ${PLUME_NITRO_IMAGE:-offchainlabs/nitro-node}:${PLUME_MAINNET_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=true
|
- --execution.caching.archive=true
|
||||||
- --execution.caching.database-cache=${PLUME_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${PLUME_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${PLUME_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${PLUME_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${PLUME_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${PLUME_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${PLUME_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${PLUME_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.forwarding-target=https://rpc.plume.org
|
- --execution.forwarding-target=https://rpc.plume.org
|
||||||
@@ -67,13 +68,14 @@ services:
|
|||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
- --node.batch-poster.enable=false
|
- --node.batch-poster.enable=false
|
||||||
- --node.data-availability.enable=true
|
- --node.da.anytrust.enable=true
|
||||||
- --node.data-availability.rest-aggregator.enable=true
|
- --node.da.anytrust.rest-aggregator.enable=true
|
||||||
- --node.data-availability.rest-aggregator.urls=https://das-plume-mainnet-1.t.conduit.xyz
|
- --node.da.anytrust.rest-aggregator.urls=https://das-plume-mainnet-1.t.conduit.xyz
|
||||||
- --node.feed.input.url=wss://relay-plume-mainnet-1.t.conduit.xyz
|
- --node.feed.input.url=wss://relay-plume-mainnet-1.t.conduit.xyz
|
||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_MAINNET_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/plume-mainnet-archive
|
- --persistent.chain=/root/.arbitrum/plume-mainnet-archive
|
||||||
- --persistent.db-engine=pebble
|
- --persistent.db-engine=pebble
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
plume-mainnet:
|
plume-mainnet:
|
||||||
image: ${PLUME_NITRO_IMAGE:-offchainlabs/nitro-node}:${PLUME_MAINNET_NITRO_VERSION:-v3.11.0-a618155}
|
image: ${PLUME_NITRO_IMAGE:-offchainlabs/nitro-node}:${PLUME_MAINNET_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=${PLUME_MAINNET_ARCHIVE_DB:-false}
|
- --execution.caching.archive=${PLUME_MAINNET_ARCHIVE_DB:-false}
|
||||||
- --execution.caching.database-cache=${PLUME_MAINNET_NITRO_PRUNED_LEVELDB_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${PLUME_MAINNET_NITRO_PRUNED_LEVELDB_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${PLUME_MAINNET_NITRO_PRUNED_LEVELDB_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${PLUME_MAINNET_NITRO_PRUNED_LEVELDB_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${PLUME_MAINNET_NITRO_PRUNED_LEVELDB_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${PLUME_MAINNET_NITRO_PRUNED_LEVELDB_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${PLUME_MAINNET_NITRO_PRUNED_LEVELDB_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${PLUME_MAINNET_NITRO_PRUNED_LEVELDB_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.forwarding-target=https://rpc.plume.org
|
- --execution.forwarding-target=https://rpc.plume.org
|
||||||
@@ -67,13 +68,14 @@ services:
|
|||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
- --node.batch-poster.enable=false
|
- --node.batch-poster.enable=false
|
||||||
- --node.data-availability.enable=true
|
- --node.da.anytrust.enable=true
|
||||||
- --node.data-availability.rest-aggregator.enable=true
|
- --node.da.anytrust.rest-aggregator.enable=true
|
||||||
- --node.data-availability.rest-aggregator.urls=https://das-plume-mainnet-1.t.conduit.xyz
|
- --node.da.anytrust.rest-aggregator.urls=https://das-plume-mainnet-1.t.conduit.xyz
|
||||||
- --node.feed.input.url=wss://relay-plume-mainnet-1.t.conduit.xyz
|
- --node.feed.input.url=wss://relay-plume-mainnet-1.t.conduit.xyz
|
||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_MAINNET_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/plume-mainnet
|
- --persistent.chain=/root/.arbitrum/plume-mainnet
|
||||||
- --ws.addr=0.0.0.0
|
- --ws.addr=0.0.0.0
|
||||||
|
|||||||
147
arb/nitro/plume-mainnet-nitro-pruned-pebble-hash.yml
Normal file
147
arb/nitro/plume-mainnet-nitro-pruned-pebble-hash.yml
Normal file
@@ -0,0 +1,147 @@
|
|||||||
|
---
|
||||||
|
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:arb/nitro/plume-mainnet-nitro-pruned-pebble-hash.yml
|
||||||
|
#
|
||||||
|
# docker compose up -d
|
||||||
|
#
|
||||||
|
# curl -X POST https://${IP}.traefik.me/plume-mainnet \
|
||||||
|
# -H "Content-Type: application/json" \
|
||||||
|
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||||
|
|
||||||
|
services:
|
||||||
|
plume-mainnet:
|
||||||
|
image: ${PLUME_NITRO_IMAGE:-offchainlabs/nitro-node}:${PLUME_MAINNET_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
|
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
|
||||||
|
command:
|
||||||
|
- --conf.file=/config/baseConfig.json
|
||||||
|
- --execution.caching.archive=${PLUME_MAINNET_ARCHIVE_DB:-false}
|
||||||
|
- --execution.caching.database-cache=${PLUME_MAINNET_NITRO_PRUNED_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
||||||
|
- --execution.caching.snapshot-cache=${PLUME_MAINNET_NITRO_PRUNED_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
|
- --execution.caching.trie-clean-cache=${PLUME_MAINNET_NITRO_PRUNED_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
|
- --execution.caching.trie-dirty-cache=${PLUME_MAINNET_NITRO_PRUNED_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
|
- --execution.forwarding-target=https://rpc.plume.org
|
||||||
|
- --execution.rpc.gas-cap=5500000000
|
||||||
|
- --execution.rpc.log-history=0
|
||||||
|
- --execution.sequencer.enable=false
|
||||||
|
- --http.addr=0.0.0.0
|
||||||
|
- --http.api=eth,net,web3,arb,txpool,debug
|
||||||
|
- --http.corsdomain=*
|
||||||
|
- --http.port=8545
|
||||||
|
- --http.vhosts=*
|
||||||
|
- --metrics
|
||||||
|
- --metrics-server.addr=0.0.0.0
|
||||||
|
- --metrics-server.port=6070
|
||||||
|
- --node.batch-poster.enable=false
|
||||||
|
- --node.da.anytrust.enable=true
|
||||||
|
- --node.da.anytrust.rest-aggregator.enable=true
|
||||||
|
- --node.da.anytrust.rest-aggregator.urls=https://das-plume-mainnet-1.t.conduit.xyz
|
||||||
|
- --node.feed.input.url=wss://relay-plume-mainnet-1.t.conduit.xyz
|
||||||
|
- --node.sequencer=false
|
||||||
|
- --node.staker.enable=false
|
||||||
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_MAINNET_BEACON_REST_FALLBACK}
|
||||||
|
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
|
- --persistent.chain=/root/.arbitrum/plume-mainnet
|
||||||
|
- --persistent.db-engine=pebble
|
||||||
|
- --ws.addr=0.0.0.0
|
||||||
|
- --ws.origins=*
|
||||||
|
- --ws.port=8545
|
||||||
|
restart: unless-stopped
|
||||||
|
stop_grace_period: 5m
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${PLUME_MAINNET_NITRO_PRUNED_PEBBLE_HASH_DATA:-plume-mainnet-nitro-pruned-pebble-hash}:/root/.arbitrum
|
||||||
|
- ./arb/plume/mainnet:/config
|
||||||
|
- /slowdisk:/slowdisk
|
||||||
|
logging: *logging-defaults
|
||||||
|
labels:
|
||||||
|
- prometheus-scrape.enabled=true
|
||||||
|
- prometheus-scrape.port=6070
|
||||||
|
- prometheus-scrape.path=/debug/metrics/prometheus
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.http.middlewares.plume-mainnet-nitro-pruned-pebble-hash-stripprefix.stripprefix.prefixes=/plume-mainnet
|
||||||
|
- traefik.http.services.plume-mainnet-nitro-pruned-pebble-hash.loadbalancer.server.port=8545
|
||||||
|
- ${NO_SSL:-traefik.http.routers.plume-mainnet-nitro-pruned-pebble-hash.entrypoints=websecure}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.plume-mainnet-nitro-pruned-pebble-hash.tls.certresolver=myresolver}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.plume-mainnet-nitro-pruned-pebble-hash.rule=Host(`$DOMAIN`) && (Path(`/plume-mainnet`) || Path(`/plume-mainnet/`))}
|
||||||
|
- ${NO_SSL:+traefik.http.routers.plume-mainnet-nitro-pruned-pebble-hash.rule=Path(`/plume-mainnet`) || Path(`/plume-mainnet/`)}
|
||||||
|
- traefik.http.routers.plume-mainnet-nitro-pruned-pebble-hash.middlewares=plume-mainnet-nitro-pruned-pebble-hash-stripprefix, ipallowlist
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
plume-mainnet-nitro-pruned-pebble-hash:
|
||||||
|
|
||||||
|
x-upstreams:
|
||||||
|
- id: $${ID}
|
||||||
|
labels:
|
||||||
|
provider: $${PROVIDER}
|
||||||
|
connection:
|
||||||
|
generic:
|
||||||
|
rpc:
|
||||||
|
url: $${RPC_URL}
|
||||||
|
ws:
|
||||||
|
frameSize: 20Mb
|
||||||
|
msgSize: 50Mb
|
||||||
|
url: $${WS_URL}
|
||||||
|
chain: plume
|
||||||
|
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
|
||||||
|
...
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
plume-mainnet:
|
plume-mainnet:
|
||||||
image: ${PLUME_NITRO_IMAGE:-offchainlabs/nitro-node}:${PLUME_MAINNET_NITRO_VERSION:-v3.11.0-a618155}
|
image: ${PLUME_NITRO_IMAGE:-offchainlabs/nitro-node}:${PLUME_MAINNET_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -67,13 +67,14 @@ services:
|
|||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
- --node.batch-poster.enable=false
|
- --node.batch-poster.enable=false
|
||||||
- --node.data-availability.enable=true
|
- --node.da.anytrust.enable=true
|
||||||
- --node.data-availability.rest-aggregator.enable=true
|
- --node.da.anytrust.rest-aggregator.enable=true
|
||||||
- --node.data-availability.rest-aggregator.urls=https://das-plume-mainnet-1.t.conduit.xyz
|
- --node.da.anytrust.rest-aggregator.urls=https://das-plume-mainnet-1.t.conduit.xyz
|
||||||
- --node.feed.input.url=wss://relay-plume-mainnet-1.t.conduit.xyz
|
- --node.feed.input.url=wss://relay-plume-mainnet-1.t.conduit.xyz
|
||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_MAINNET_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/plume-mainnet
|
- --persistent.chain=/root/.arbitrum/plume-mainnet
|
||||||
- --persistent.db-engine=pebble
|
- --persistent.db-engine=pebble
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
plume-testnet-archive:
|
plume-testnet-archive:
|
||||||
image: ${PLUME_NITRO_IMAGE:-offchainlabs/nitro-node}:${PLUME_TESTNET_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${PLUME_NITRO_IMAGE:-offchainlabs/nitro-node}:${PLUME_TESTNET_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=true
|
- --execution.caching.archive=true
|
||||||
- --execution.caching.database-cache=${PLUME_TESTNET_NITRO_ARCHIVE_LEVELDB_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${PLUME_TESTNET_NITRO_ARCHIVE_LEVELDB_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${PLUME_TESTNET_NITRO_ARCHIVE_LEVELDB_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${PLUME_TESTNET_NITRO_ARCHIVE_LEVELDB_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${PLUME_TESTNET_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${PLUME_TESTNET_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${PLUME_TESTNET_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${PLUME_TESTNET_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.forwarding-target=https://testnet-rpc.plume.org
|
- --execution.forwarding-target=https://testnet-rpc.plume.org
|
||||||
@@ -67,13 +68,14 @@ services:
|
|||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
- --node.batch-poster.enable=false
|
- --node.batch-poster.enable=false
|
||||||
- --node.data-availability.enable=true
|
- --node.da.anytrust.enable=true
|
||||||
- --node.data-availability.rest-aggregator.enable=true
|
- --node.da.anytrust.rest-aggregator.enable=true
|
||||||
- --node.data-availability.rest-aggregator.urls=https://das-plume-testnet-1.t.conduit.xyz
|
- --node.da.anytrust.rest-aggregator.urls=https://das-plume-testnet-1.t.conduit.xyz
|
||||||
- --node.feed.input.url=wss://relay-plume-testnet-1.t.conduit.xyz
|
- --node.feed.input.url=wss://relay-plume-testnet-1.t.conduit.xyz
|
||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/plume-testnet-archive
|
- --persistent.chain=/root/.arbitrum/plume-testnet-archive
|
||||||
- --ws.addr=0.0.0.0
|
- --ws.addr=0.0.0.0
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
plume-testnet-archive:
|
plume-testnet-archive:
|
||||||
image: ${PLUME_NITRO_IMAGE:-offchainlabs/nitro-node}:${PLUME_TESTNET_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${PLUME_NITRO_IMAGE:-offchainlabs/nitro-node}:${PLUME_TESTNET_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=true
|
- --execution.caching.archive=true
|
||||||
- --execution.caching.database-cache=${PLUME_TESTNET_NITRO_ARCHIVE_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${PLUME_TESTNET_NITRO_ARCHIVE_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${PLUME_TESTNET_NITRO_ARCHIVE_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${PLUME_TESTNET_NITRO_ARCHIVE_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${PLUME_TESTNET_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${PLUME_TESTNET_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${PLUME_TESTNET_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${PLUME_TESTNET_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.forwarding-target=https://testnet-rpc.plume.org
|
- --execution.forwarding-target=https://testnet-rpc.plume.org
|
||||||
@@ -67,13 +68,14 @@ services:
|
|||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
- --node.batch-poster.enable=false
|
- --node.batch-poster.enable=false
|
||||||
- --node.data-availability.enable=true
|
- --node.da.anytrust.enable=true
|
||||||
- --node.data-availability.rest-aggregator.enable=true
|
- --node.da.anytrust.rest-aggregator.enable=true
|
||||||
- --node.data-availability.rest-aggregator.urls=https://das-plume-testnet-1.t.conduit.xyz
|
- --node.da.anytrust.rest-aggregator.urls=https://das-plume-testnet-1.t.conduit.xyz
|
||||||
- --node.feed.input.url=wss://relay-plume-testnet-1.t.conduit.xyz
|
- --node.feed.input.url=wss://relay-plume-testnet-1.t.conduit.xyz
|
||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/plume-testnet-archive
|
- --persistent.chain=/root/.arbitrum/plume-testnet-archive
|
||||||
- --persistent.db-engine=pebble
|
- --persistent.db-engine=pebble
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
plume-testnet:
|
plume-testnet:
|
||||||
image: ${PLUME_NITRO_IMAGE:-offchainlabs/nitro-node}:${PLUME_TESTNET_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${PLUME_NITRO_IMAGE:-offchainlabs/nitro-node}:${PLUME_TESTNET_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=${PLUME_TESTNET_ARCHIVE_DB:-false}
|
- --execution.caching.archive=${PLUME_TESTNET_ARCHIVE_DB:-false}
|
||||||
- --execution.caching.database-cache=${PLUME_TESTNET_NITRO_PRUNED_LEVELDB_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${PLUME_TESTNET_NITRO_PRUNED_LEVELDB_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${PLUME_TESTNET_NITRO_PRUNED_LEVELDB_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${PLUME_TESTNET_NITRO_PRUNED_LEVELDB_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${PLUME_TESTNET_NITRO_PRUNED_LEVELDB_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${PLUME_TESTNET_NITRO_PRUNED_LEVELDB_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${PLUME_TESTNET_NITRO_PRUNED_LEVELDB_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${PLUME_TESTNET_NITRO_PRUNED_LEVELDB_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.forwarding-target=https://testnet-rpc.plume.org
|
- --execution.forwarding-target=https://testnet-rpc.plume.org
|
||||||
@@ -67,13 +68,14 @@ services:
|
|||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
- --node.batch-poster.enable=false
|
- --node.batch-poster.enable=false
|
||||||
- --node.data-availability.enable=true
|
- --node.da.anytrust.enable=true
|
||||||
- --node.data-availability.rest-aggregator.enable=true
|
- --node.da.anytrust.rest-aggregator.enable=true
|
||||||
- --node.data-availability.rest-aggregator.urls=https://das-plume-testnet-1.t.conduit.xyz
|
- --node.da.anytrust.rest-aggregator.urls=https://das-plume-testnet-1.t.conduit.xyz
|
||||||
- --node.feed.input.url=wss://relay-plume-testnet-1.t.conduit.xyz
|
- --node.feed.input.url=wss://relay-plume-testnet-1.t.conduit.xyz
|
||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/plume-testnet
|
- --persistent.chain=/root/.arbitrum/plume-testnet
|
||||||
- --ws.addr=0.0.0.0
|
- --ws.addr=0.0.0.0
|
||||||
|
|||||||
147
arb/nitro/plume-testnet-nitro-pruned-pebble-hash.yml
Normal file
147
arb/nitro/plume-testnet-nitro-pruned-pebble-hash.yml
Normal file
@@ -0,0 +1,147 @@
|
|||||||
|
---
|
||||||
|
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:arb/nitro/plume-testnet-nitro-pruned-pebble-hash.yml
|
||||||
|
#
|
||||||
|
# docker compose up -d
|
||||||
|
#
|
||||||
|
# curl -X POST https://${IP}.traefik.me/plume-testnet \
|
||||||
|
# -H "Content-Type: application/json" \
|
||||||
|
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||||
|
|
||||||
|
services:
|
||||||
|
plume-testnet:
|
||||||
|
image: ${PLUME_NITRO_IMAGE:-offchainlabs/nitro-node}:${PLUME_TESTNET_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
|
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
|
||||||
|
command:
|
||||||
|
- --conf.file=/config/baseConfig.json
|
||||||
|
- --execution.caching.archive=${PLUME_TESTNET_ARCHIVE_DB:-false}
|
||||||
|
- --execution.caching.database-cache=${PLUME_TESTNET_NITRO_PRUNED_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
||||||
|
- --execution.caching.snapshot-cache=${PLUME_TESTNET_NITRO_PRUNED_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
|
- --execution.caching.trie-clean-cache=${PLUME_TESTNET_NITRO_PRUNED_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
|
- --execution.caching.trie-dirty-cache=${PLUME_TESTNET_NITRO_PRUNED_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
|
- --execution.forwarding-target=https://testnet-rpc.plume.org
|
||||||
|
- --execution.rpc.gas-cap=5500000000
|
||||||
|
- --execution.rpc.log-history=0
|
||||||
|
- --execution.sequencer.enable=false
|
||||||
|
- --http.addr=0.0.0.0
|
||||||
|
- --http.api=eth,net,web3,arb,txpool,debug
|
||||||
|
- --http.corsdomain=*
|
||||||
|
- --http.port=8545
|
||||||
|
- --http.vhosts=*
|
||||||
|
- --metrics
|
||||||
|
- --metrics-server.addr=0.0.0.0
|
||||||
|
- --metrics-server.port=6070
|
||||||
|
- --node.batch-poster.enable=false
|
||||||
|
- --node.da.anytrust.enable=true
|
||||||
|
- --node.da.anytrust.rest-aggregator.enable=true
|
||||||
|
- --node.da.anytrust.rest-aggregator.urls=https://das-plume-testnet-1.t.conduit.xyz
|
||||||
|
- --node.feed.input.url=wss://relay-plume-testnet-1.t.conduit.xyz
|
||||||
|
- --node.sequencer=false
|
||||||
|
- --node.staker.enable=false
|
||||||
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST_FALLBACK}
|
||||||
|
- --parent-chain.connection.url=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
||||||
|
- --persistent.chain=/root/.arbitrum/plume-testnet
|
||||||
|
- --persistent.db-engine=pebble
|
||||||
|
- --ws.addr=0.0.0.0
|
||||||
|
- --ws.origins=*
|
||||||
|
- --ws.port=8545
|
||||||
|
restart: unless-stopped
|
||||||
|
stop_grace_period: 5m
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${PLUME_TESTNET_NITRO_PRUNED_PEBBLE_HASH_DATA:-plume-testnet-nitro-pruned-pebble-hash}:/root/.arbitrum
|
||||||
|
- ./arb/plume/testnet:/config
|
||||||
|
- /slowdisk:/slowdisk
|
||||||
|
logging: *logging-defaults
|
||||||
|
labels:
|
||||||
|
- prometheus-scrape.enabled=true
|
||||||
|
- prometheus-scrape.port=6070
|
||||||
|
- prometheus-scrape.path=/debug/metrics/prometheus
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.http.middlewares.plume-testnet-nitro-pruned-pebble-hash-stripprefix.stripprefix.prefixes=/plume-testnet
|
||||||
|
- traefik.http.services.plume-testnet-nitro-pruned-pebble-hash.loadbalancer.server.port=8545
|
||||||
|
- ${NO_SSL:-traefik.http.routers.plume-testnet-nitro-pruned-pebble-hash.entrypoints=websecure}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.plume-testnet-nitro-pruned-pebble-hash.tls.certresolver=myresolver}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.plume-testnet-nitro-pruned-pebble-hash.rule=Host(`$DOMAIN`) && (Path(`/plume-testnet`) || Path(`/plume-testnet/`))}
|
||||||
|
- ${NO_SSL:+traefik.http.routers.plume-testnet-nitro-pruned-pebble-hash.rule=Path(`/plume-testnet`) || Path(`/plume-testnet/`)}
|
||||||
|
- traefik.http.routers.plume-testnet-nitro-pruned-pebble-hash.middlewares=plume-testnet-nitro-pruned-pebble-hash-stripprefix, ipallowlist
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
plume-testnet-nitro-pruned-pebble-hash:
|
||||||
|
|
||||||
|
x-upstreams:
|
||||||
|
- id: $${ID}
|
||||||
|
labels:
|
||||||
|
provider: $${PROVIDER}
|
||||||
|
connection:
|
||||||
|
generic:
|
||||||
|
rpc:
|
||||||
|
url: $${RPC_URL}
|
||||||
|
ws:
|
||||||
|
frameSize: 20Mb
|
||||||
|
msgSize: 50Mb
|
||||||
|
url: $${WS_URL}
|
||||||
|
chain: plume-testnet
|
||||||
|
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
|
||||||
|
...
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
plume-testnet:
|
plume-testnet:
|
||||||
image: ${PLUME_NITRO_IMAGE:-offchainlabs/nitro-node}:${PLUME_TESTNET_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${PLUME_NITRO_IMAGE:-offchainlabs/nitro-node}:${PLUME_TESTNET_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -67,13 +67,14 @@ services:
|
|||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
- --node.batch-poster.enable=false
|
- --node.batch-poster.enable=false
|
||||||
- --node.data-availability.enable=true
|
- --node.da.anytrust.enable=true
|
||||||
- --node.data-availability.rest-aggregator.enable=true
|
- --node.da.anytrust.rest-aggregator.enable=true
|
||||||
- --node.data-availability.rest-aggregator.urls=https://das-plume-testnet-1.t.conduit.xyz
|
- --node.da.anytrust.rest-aggregator.urls=https://das-plume-testnet-1.t.conduit.xyz
|
||||||
- --node.feed.input.url=wss://relay-plume-testnet-1.t.conduit.xyz
|
- --node.feed.input.url=wss://relay-plume-testnet-1.t.conduit.xyz
|
||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/plume-testnet
|
- --persistent.chain=/root/.arbitrum/plume-testnet
|
||||||
- --persistent.db-engine=pebble
|
- --persistent.db-engine=pebble
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
real-mainnet-archive:
|
real-mainnet-archive:
|
||||||
image: ${REAL_NITRO_IMAGE:-offchainlabs/nitro-node}:${REAL_MAINNET_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${REAL_NITRO_IMAGE:-offchainlabs/nitro-node}:${REAL_MAINNET_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=true
|
- --execution.caching.archive=true
|
||||||
- --execution.caching.database-cache=${REAL_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${REAL_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${REAL_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${REAL_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${REAL_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${REAL_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${REAL_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${REAL_MAINNET_NITRO_ARCHIVE_LEVELDB_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.forwarding-target=https://rpc.realforreal.gelato.digital
|
- --execution.forwarding-target=https://rpc.realforreal.gelato.digital
|
||||||
@@ -67,13 +68,14 @@ services:
|
|||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
- --node.batch-poster.enable=false
|
- --node.batch-poster.enable=false
|
||||||
- --node.data-availability.enable=true
|
- --node.da.anytrust.enable=true
|
||||||
- --node.data-availability.rest-aggregator.enable=true
|
- --node.da.anytrust.rest-aggregator.enable=true
|
||||||
- --node.data-availability.rest-aggregator.urls=https://das.realforreal.gelato.digital
|
- --node.da.anytrust.rest-aggregator.urls=https://das.realforreal.gelato.digital
|
||||||
- --node.feed.input.url=wss://feed.realforreal.gelato.digital
|
- --node.feed.input.url=wss://feed.realforreal.gelato.digital
|
||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_MAINNET_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/real-mainnet-archive
|
- --persistent.chain=/root/.arbitrum/real-mainnet-archive
|
||||||
- --ws.addr=0.0.0.0
|
- --ws.addr=0.0.0.0
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
real-mainnet-archive:
|
real-mainnet-archive:
|
||||||
image: ${REAL_NITRO_IMAGE:-offchainlabs/nitro-node}:${REAL_MAINNET_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${REAL_NITRO_IMAGE:-offchainlabs/nitro-node}:${REAL_MAINNET_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -52,6 +52,7 @@ services:
|
|||||||
- --execution.caching.archive=true
|
- --execution.caching.archive=true
|
||||||
- --execution.caching.database-cache=${REAL_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
- --execution.caching.database-cache=${REAL_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
||||||
- --execution.caching.snapshot-cache=${REAL_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
- --execution.caching.snapshot-cache=${REAL_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=hash
|
||||||
- --execution.caching.trie-clean-cache=${REAL_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
- --execution.caching.trie-clean-cache=${REAL_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
- --execution.caching.trie-dirty-cache=${REAL_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
- --execution.caching.trie-dirty-cache=${REAL_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
- --execution.forwarding-target=https://rpc.realforreal.gelato.digital
|
- --execution.forwarding-target=https://rpc.realforreal.gelato.digital
|
||||||
@@ -67,13 +68,14 @@ services:
|
|||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
- --node.batch-poster.enable=false
|
- --node.batch-poster.enable=false
|
||||||
- --node.data-availability.enable=true
|
- --node.da.anytrust.enable=true
|
||||||
- --node.data-availability.rest-aggregator.enable=true
|
- --node.da.anytrust.rest-aggregator.enable=true
|
||||||
- --node.data-availability.rest-aggregator.urls=https://das.realforreal.gelato.digital
|
- --node.da.anytrust.rest-aggregator.urls=https://das.realforreal.gelato.digital
|
||||||
- --node.feed.input.url=wss://feed.realforreal.gelato.digital
|
- --node.feed.input.url=wss://feed.realforreal.gelato.digital
|
||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_MAINNET_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/real-mainnet-archive
|
- --persistent.chain=/root/.arbitrum/real-mainnet-archive
|
||||||
- --persistent.db-engine=pebble
|
- --persistent.db-engine=pebble
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
real-mainnet:
|
real-mainnet:
|
||||||
image: ${REAL_NITRO_IMAGE:-offchainlabs/nitro-node}:${REAL_MAINNET_NITRO_VERSION:-v3.10.1-d7f07be}
|
image: ${REAL_NITRO_IMAGE:-offchainlabs/nitro-node}:${REAL_MAINNET_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -67,13 +67,14 @@ services:
|
|||||||
- --metrics-server.addr=0.0.0.0
|
- --metrics-server.addr=0.0.0.0
|
||||||
- --metrics-server.port=6070
|
- --metrics-server.port=6070
|
||||||
- --node.batch-poster.enable=false
|
- --node.batch-poster.enable=false
|
||||||
- --node.data-availability.enable=true
|
- --node.da.anytrust.enable=true
|
||||||
- --node.data-availability.rest-aggregator.enable=true
|
- --node.da.anytrust.rest-aggregator.enable=true
|
||||||
- --node.data-availability.rest-aggregator.urls=https://das.realforreal.gelato.digital
|
- --node.da.anytrust.rest-aggregator.urls=https://das.realforreal.gelato.digital
|
||||||
- --node.feed.input.url=wss://feed.realforreal.gelato.digital
|
- --node.feed.input.url=wss://feed.realforreal.gelato.digital
|
||||||
- --node.sequencer=false
|
- --node.sequencer=false
|
||||||
- --node.staker.enable=false
|
- --node.staker.enable=false
|
||||||
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_MAINNET_BEACON_REST_FALLBACK}
|
||||||
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
- --persistent.chain=/root/.arbitrum/real-mainnet
|
- --persistent.chain=/root/.arbitrum/real-mainnet
|
||||||
- --persistent.db-engine=pebble
|
- --persistent.db-engine=pebble
|
||||||
|
|||||||
143
arb/nitro/robinhood-mainnet-nitro-archive-pebble-hash.yml
Normal file
143
arb/nitro/robinhood-mainnet-nitro-archive-pebble-hash.yml
Normal file
@@ -0,0 +1,143 @@
|
|||||||
|
---
|
||||||
|
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:arb/nitro/robinhood-mainnet-nitro-archive-pebble-hash.yml
|
||||||
|
#
|
||||||
|
# docker compose up -d
|
||||||
|
#
|
||||||
|
# curl -X POST https://${IP}.traefik.me/robinhood-mainnet-archive \
|
||||||
|
# -H "Content-Type: application/json" \
|
||||||
|
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||||
|
|
||||||
|
services:
|
||||||
|
robinhood-mainnet-archive:
|
||||||
|
image: ${ROBINHOOD_NITRO_IMAGE:-offchainlabs/nitro-node}:${ROBINHOOD_MAINNET_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
|
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
|
||||||
|
command:
|
||||||
|
- --conf.file=/config/baseConfig.json
|
||||||
|
- --execution.caching.archive=true
|
||||||
|
- --execution.caching.database-cache=${ROBINHOOD_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
||||||
|
- --execution.caching.snapshot-cache=${ROBINHOOD_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.trie-clean-cache=${ROBINHOOD_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
|
- --execution.caching.trie-dirty-cache=${ROBINHOOD_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
|
- --execution.forwarding-target=https://rpc.mainnet.chain.robinhood.com
|
||||||
|
- --execution.rpc.filter-log-cache-size=${ROBINHOOD_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_FILTER_LOG_CACHE:-32}
|
||||||
|
- --execution.rpc.gas-cap=5500000000
|
||||||
|
- --execution.rpc.log-history=0
|
||||||
|
- --execution.sequencer.enable=false
|
||||||
|
- --http.addr=0.0.0.0
|
||||||
|
- --http.api=eth,net,web3,arb,txpool,debug
|
||||||
|
- --http.corsdomain=*
|
||||||
|
- --http.port=8545
|
||||||
|
- --http.vhosts=*
|
||||||
|
- --metrics
|
||||||
|
- --metrics-server.addr=0.0.0.0
|
||||||
|
- --metrics-server.port=6070
|
||||||
|
- --node.batch-poster.enable=false
|
||||||
|
- --node.feed.input.url=wss://feed.mainnet.chain.robinhood.com
|
||||||
|
- --node.sequencer=false
|
||||||
|
- --node.staker.enable=false
|
||||||
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
|
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
|
- --persistent.chain=/root/.arbitrum/robinhood-mainnet-archive
|
||||||
|
- --persistent.db-engine=pebble
|
||||||
|
- --ws.addr=0.0.0.0
|
||||||
|
- --ws.origins=*
|
||||||
|
- --ws.port=8545
|
||||||
|
restart: unless-stopped
|
||||||
|
stop_grace_period: 5m
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${ROBINHOOD_MAINNET_NITRO_ARCHIVE_PEBBLE_HASH_DATA:-robinhood-mainnet-nitro-archive-pebble-hash}:/root/.arbitrum
|
||||||
|
- ./arb/robinhood/mainnet:/config
|
||||||
|
- /slowdisk:/slowdisk
|
||||||
|
logging: *logging-defaults
|
||||||
|
labels:
|
||||||
|
- prometheus-scrape.enabled=true
|
||||||
|
- prometheus-scrape.port=6070
|
||||||
|
- prometheus-scrape.path=/debug/metrics/prometheus
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.http.middlewares.robinhood-mainnet-nitro-archive-pebble-hash-stripprefix.stripprefix.prefixes=/robinhood-mainnet-archive
|
||||||
|
- traefik.http.services.robinhood-mainnet-nitro-archive-pebble-hash.loadbalancer.server.port=8545
|
||||||
|
- ${NO_SSL:-traefik.http.routers.robinhood-mainnet-nitro-archive-pebble-hash.entrypoints=websecure}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.robinhood-mainnet-nitro-archive-pebble-hash.tls.certresolver=myresolver}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.robinhood-mainnet-nitro-archive-pebble-hash.rule=Host(`$DOMAIN`) && (Path(`/robinhood-mainnet-archive`) || Path(`/robinhood-mainnet-archive/`))}
|
||||||
|
- ${NO_SSL:+traefik.http.routers.robinhood-mainnet-nitro-archive-pebble-hash.rule=Path(`/robinhood-mainnet-archive`) || Path(`/robinhood-mainnet-archive/`)}
|
||||||
|
- traefik.http.routers.robinhood-mainnet-nitro-archive-pebble-hash.middlewares=robinhood-mainnet-nitro-archive-pebble-hash-stripprefix, ipallowlist
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
robinhood-mainnet-nitro-archive-pebble-hash:
|
||||||
|
|
||||||
|
x-upstreams:
|
||||||
|
- id: $${ID}
|
||||||
|
labels:
|
||||||
|
provider: $${PROVIDER}
|
||||||
|
connection:
|
||||||
|
generic:
|
||||||
|
rpc:
|
||||||
|
url: $${RPC_URL}
|
||||||
|
ws:
|
||||||
|
frameSize: 20Mb
|
||||||
|
msgSize: 50Mb
|
||||||
|
url: $${WS_URL}
|
||||||
|
chain: robinhood
|
||||||
|
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
|
||||||
|
...
|
||||||
145
arb/nitro/robinhood-mainnet-nitro-pruned-pebble-path.yml
Normal file
145
arb/nitro/robinhood-mainnet-nitro-pruned-pebble-path.yml
Normal file
@@ -0,0 +1,145 @@
|
|||||||
|
---
|
||||||
|
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:arb/nitro/robinhood-mainnet-nitro-pruned-pebble-path.yml
|
||||||
|
#
|
||||||
|
# docker compose up -d
|
||||||
|
#
|
||||||
|
# curl -X POST https://${IP}.traefik.me/robinhood-mainnet \
|
||||||
|
# -H "Content-Type: application/json" \
|
||||||
|
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||||
|
|
||||||
|
services:
|
||||||
|
robinhood-mainnet:
|
||||||
|
image: ${ROBINHOOD_NITRO_IMAGE:-offchainlabs/nitro-node}:${ROBINHOOD_MAINNET_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
|
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
|
||||||
|
command:
|
||||||
|
- --conf.file=/config/baseConfig.json
|
||||||
|
- --execution.caching.archive=${ROBINHOOD_MAINNET_ARCHIVE_DB:-false}
|
||||||
|
- --execution.caching.database-cache=${ROBINHOOD_MAINNET_NITRO_PRUNED_PEBBLE_PATH_DATABASE_CACHE:-2048}
|
||||||
|
- --execution.caching.snapshot-cache=${ROBINHOOD_MAINNET_NITRO_PRUNED_PEBBLE_PATH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=path
|
||||||
|
- --execution.caching.trie-clean-cache=${ROBINHOOD_MAINNET_NITRO_PRUNED_PEBBLE_PATH_TRIE_CLEAN_CACHE:-600}
|
||||||
|
- --execution.caching.trie-dirty-cache=${ROBINHOOD_MAINNET_NITRO_PRUNED_PEBBLE_PATH_TRIE_DIRTY_CACHE:-1024}
|
||||||
|
- --execution.forwarding-target=https://rpc.mainnet.chain.robinhood.com
|
||||||
|
- --execution.rpc.gas-cap=5500000000
|
||||||
|
- --execution.sequencer.enable=false
|
||||||
|
- --http.addr=0.0.0.0
|
||||||
|
- --http.api=eth,net,web3,arb,txpool,debug
|
||||||
|
- --http.corsdomain=*
|
||||||
|
- --http.port=8545
|
||||||
|
- --http.vhosts=*
|
||||||
|
- --metrics
|
||||||
|
- --metrics-server.addr=0.0.0.0
|
||||||
|
- --metrics-server.port=6070
|
||||||
|
- --node.batch-poster.enable=false
|
||||||
|
- --node.feed.input.url=wss://feed.mainnet.chain.robinhood.com
|
||||||
|
- --node.sequencer=false
|
||||||
|
- --node.staker.enable=false
|
||||||
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_MAINNET_BEACON_REST_FALLBACK}
|
||||||
|
- --parent-chain.connection.url=${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
|
- --persistent.chain=/root/.arbitrum/robinhood-mainnet
|
||||||
|
- --persistent.db-engine=pebble
|
||||||
|
- --ws.addr=0.0.0.0
|
||||||
|
- --ws.origins=*
|
||||||
|
- --ws.port=8545
|
||||||
|
restart: unless-stopped
|
||||||
|
stop_grace_period: 5m
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${ROBINHOOD_MAINNET_NITRO_PRUNED_PEBBLE_PATH_DATA:-robinhood-mainnet-nitro-pruned-pebble-path}:/root/.arbitrum
|
||||||
|
- ./arb/robinhood/mainnet:/config
|
||||||
|
- /slowdisk:/slowdisk
|
||||||
|
logging: *logging-defaults
|
||||||
|
labels:
|
||||||
|
- prometheus-scrape.enabled=true
|
||||||
|
- prometheus-scrape.port=6070
|
||||||
|
- prometheus-scrape.path=/debug/metrics/prometheus
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.http.middlewares.robinhood-mainnet-nitro-pruned-pebble-path-stripprefix.stripprefix.prefixes=/robinhood-mainnet
|
||||||
|
- traefik.http.services.robinhood-mainnet-nitro-pruned-pebble-path.loadbalancer.server.port=8545
|
||||||
|
- ${NO_SSL:-traefik.http.routers.robinhood-mainnet-nitro-pruned-pebble-path.entrypoints=websecure}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.robinhood-mainnet-nitro-pruned-pebble-path.tls.certresolver=myresolver}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.robinhood-mainnet-nitro-pruned-pebble-path.rule=Host(`$DOMAIN`) && (Path(`/robinhood-mainnet`) || Path(`/robinhood-mainnet/`))}
|
||||||
|
- ${NO_SSL:+traefik.http.routers.robinhood-mainnet-nitro-pruned-pebble-path.rule=Path(`/robinhood-mainnet`) || Path(`/robinhood-mainnet/`)}
|
||||||
|
- traefik.http.routers.robinhood-mainnet-nitro-pruned-pebble-path.middlewares=robinhood-mainnet-nitro-pruned-pebble-path-stripprefix, ipallowlist
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
robinhood-mainnet-nitro-pruned-pebble-path:
|
||||||
|
|
||||||
|
x-upstreams:
|
||||||
|
- id: $${ID}
|
||||||
|
labels:
|
||||||
|
provider: $${PROVIDER}
|
||||||
|
connection:
|
||||||
|
generic:
|
||||||
|
rpc:
|
||||||
|
url: $${RPC_URL}
|
||||||
|
ws:
|
||||||
|
frameSize: 20Mb
|
||||||
|
msgSize: 50Mb
|
||||||
|
url: $${WS_URL}
|
||||||
|
chain: robinhood
|
||||||
|
method-groups:
|
||||||
|
enabled:
|
||||||
|
- debug
|
||||||
|
- filter
|
||||||
|
methods:
|
||||||
|
disabled:
|
||||||
|
# not compatible with path state scheme
|
||||||
|
- name: debug_traceBlockByHash
|
||||||
|
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
|
||||||
|
...
|
||||||
143
arb/nitro/robinhood-testnet-nitro-archive-pebble-hash.yml
Normal file
143
arb/nitro/robinhood-testnet-nitro-archive-pebble-hash.yml
Normal file
@@ -0,0 +1,143 @@
|
|||||||
|
---
|
||||||
|
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:arb/nitro/robinhood-testnet-nitro-archive-pebble-hash.yml
|
||||||
|
#
|
||||||
|
# docker compose up -d
|
||||||
|
#
|
||||||
|
# curl -X POST https://${IP}.traefik.me/robinhood-testnet-archive \
|
||||||
|
# -H "Content-Type: application/json" \
|
||||||
|
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||||
|
|
||||||
|
services:
|
||||||
|
robinhood-testnet-archive:
|
||||||
|
image: ${ROBINHOOD_NITRO_IMAGE:-offchainlabs/nitro-node}:${ROBINHOOD_TESTNET_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
|
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
|
||||||
|
command:
|
||||||
|
- --conf.file=/config/baseConfig.json
|
||||||
|
- --execution.caching.archive=true
|
||||||
|
- --execution.caching.database-cache=${ROBINHOOD_TESTNET_NITRO_ARCHIVE_PEBBLE_HASH_DATABASE_CACHE:-2048}
|
||||||
|
- --execution.caching.snapshot-cache=${ROBINHOOD_TESTNET_NITRO_ARCHIVE_PEBBLE_HASH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.trie-clean-cache=${ROBINHOOD_TESTNET_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_CLEAN_CACHE:-600}
|
||||||
|
- --execution.caching.trie-dirty-cache=${ROBINHOOD_TESTNET_NITRO_ARCHIVE_PEBBLE_HASH_TRIE_DIRTY_CACHE:-1024}
|
||||||
|
- --execution.forwarding-target=https://rpc.testnet.chain.robinhood.com
|
||||||
|
- --execution.rpc.filter-log-cache-size=${ROBINHOOD_TESTNET_NITRO_ARCHIVE_PEBBLE_HASH_FILTER_LOG_CACHE:-32}
|
||||||
|
- --execution.rpc.gas-cap=5500000000
|
||||||
|
- --execution.rpc.log-history=0
|
||||||
|
- --execution.sequencer.enable=false
|
||||||
|
- --http.addr=0.0.0.0
|
||||||
|
- --http.api=eth,net,web3,arb,txpool,debug
|
||||||
|
- --http.corsdomain=*
|
||||||
|
- --http.port=8545
|
||||||
|
- --http.vhosts=*
|
||||||
|
- --metrics
|
||||||
|
- --metrics-server.addr=0.0.0.0
|
||||||
|
- --metrics-server.port=6070
|
||||||
|
- --node.batch-poster.enable=false
|
||||||
|
- --node.feed.input.url=wss://feed.testnet.chain.robinhood.com
|
||||||
|
- --node.sequencer=false
|
||||||
|
- --node.staker.enable=false
|
||||||
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST}
|
||||||
|
- --parent-chain.connection.url=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
||||||
|
- --persistent.chain=/root/.arbitrum/robinhood-testnet-archive
|
||||||
|
- --persistent.db-engine=pebble
|
||||||
|
- --ws.addr=0.0.0.0
|
||||||
|
- --ws.origins=*
|
||||||
|
- --ws.port=8545
|
||||||
|
restart: unless-stopped
|
||||||
|
stop_grace_period: 5m
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${ROBINHOOD_TESTNET_NITRO_ARCHIVE_PEBBLE_HASH_DATA:-robinhood-testnet-nitro-archive-pebble-hash}:/root/.arbitrum
|
||||||
|
- ./arb/robinhood/testnet:/config
|
||||||
|
- /slowdisk:/slowdisk
|
||||||
|
logging: *logging-defaults
|
||||||
|
labels:
|
||||||
|
- prometheus-scrape.enabled=true
|
||||||
|
- prometheus-scrape.port=6070
|
||||||
|
- prometheus-scrape.path=/debug/metrics/prometheus
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.http.middlewares.robinhood-testnet-nitro-archive-pebble-hash-stripprefix.stripprefix.prefixes=/robinhood-testnet-archive
|
||||||
|
- traefik.http.services.robinhood-testnet-nitro-archive-pebble-hash.loadbalancer.server.port=8545
|
||||||
|
- ${NO_SSL:-traefik.http.routers.robinhood-testnet-nitro-archive-pebble-hash.entrypoints=websecure}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.robinhood-testnet-nitro-archive-pebble-hash.tls.certresolver=myresolver}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.robinhood-testnet-nitro-archive-pebble-hash.rule=Host(`$DOMAIN`) && (Path(`/robinhood-testnet-archive`) || Path(`/robinhood-testnet-archive/`))}
|
||||||
|
- ${NO_SSL:+traefik.http.routers.robinhood-testnet-nitro-archive-pebble-hash.rule=Path(`/robinhood-testnet-archive`) || Path(`/robinhood-testnet-archive/`)}
|
||||||
|
- traefik.http.routers.robinhood-testnet-nitro-archive-pebble-hash.middlewares=robinhood-testnet-nitro-archive-pebble-hash-stripprefix, ipallowlist
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
robinhood-testnet-nitro-archive-pebble-hash:
|
||||||
|
|
||||||
|
x-upstreams:
|
||||||
|
- id: $${ID}
|
||||||
|
labels:
|
||||||
|
provider: $${PROVIDER}
|
||||||
|
connection:
|
||||||
|
generic:
|
||||||
|
rpc:
|
||||||
|
url: $${RPC_URL}
|
||||||
|
ws:
|
||||||
|
frameSize: 20Mb
|
||||||
|
msgSize: 50Mb
|
||||||
|
url: $${WS_URL}
|
||||||
|
chain: robinhood-testnet
|
||||||
|
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
|
||||||
|
...
|
||||||
145
arb/nitro/robinhood-testnet-nitro-pruned-pebble-path.yml
Normal file
145
arb/nitro/robinhood-testnet-nitro-pruned-pebble-path.yml
Normal file
@@ -0,0 +1,145 @@
|
|||||||
|
---
|
||||||
|
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:arb/nitro/robinhood-testnet-nitro-pruned-pebble-path.yml
|
||||||
|
#
|
||||||
|
# docker compose up -d
|
||||||
|
#
|
||||||
|
# curl -X POST https://${IP}.traefik.me/robinhood-testnet \
|
||||||
|
# -H "Content-Type: application/json" \
|
||||||
|
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||||
|
|
||||||
|
services:
|
||||||
|
robinhood-testnet:
|
||||||
|
image: ${ROBINHOOD_NITRO_IMAGE:-offchainlabs/nitro-node}:${ROBINHOOD_TESTNET_NITRO_VERSION:-v3.11.4-7d5ac27}
|
||||||
|
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
|
||||||
|
command:
|
||||||
|
- --conf.file=/config/baseConfig.json
|
||||||
|
- --execution.caching.archive=${ROBINHOOD_TESTNET_ARCHIVE_DB:-false}
|
||||||
|
- --execution.caching.database-cache=${ROBINHOOD_TESTNET_NITRO_PRUNED_PEBBLE_PATH_DATABASE_CACHE:-2048}
|
||||||
|
- --execution.caching.snapshot-cache=${ROBINHOOD_TESTNET_NITRO_PRUNED_PEBBLE_PATH_SNAPSHOT_CACHE:-400}
|
||||||
|
- --execution.caching.state-scheme=path
|
||||||
|
- --execution.caching.trie-clean-cache=${ROBINHOOD_TESTNET_NITRO_PRUNED_PEBBLE_PATH_TRIE_CLEAN_CACHE:-600}
|
||||||
|
- --execution.caching.trie-dirty-cache=${ROBINHOOD_TESTNET_NITRO_PRUNED_PEBBLE_PATH_TRIE_DIRTY_CACHE:-1024}
|
||||||
|
- --execution.forwarding-target=https://rpc.testnet.chain.robinhood.com
|
||||||
|
- --execution.rpc.gas-cap=5500000000
|
||||||
|
- --execution.sequencer.enable=false
|
||||||
|
- --http.addr=0.0.0.0
|
||||||
|
- --http.api=eth,net,web3,arb,txpool,debug
|
||||||
|
- --http.corsdomain=*
|
||||||
|
- --http.port=8545
|
||||||
|
- --http.vhosts=*
|
||||||
|
- --metrics
|
||||||
|
- --metrics-server.addr=0.0.0.0
|
||||||
|
- --metrics-server.port=6070
|
||||||
|
- --node.batch-poster.enable=false
|
||||||
|
- --node.feed.input.url=wss://feed.testnet.chain.robinhood.com
|
||||||
|
- --node.sequencer=false
|
||||||
|
- --node.staker.enable=false
|
||||||
|
- --parent-chain.blob-client.beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST}
|
||||||
|
- --parent-chain.blob-client.secondary-beacon-url=${ETHEREUM_SEPOLIA_BEACON_REST_FALLBACK}
|
||||||
|
- --parent-chain.connection.url=${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
||||||
|
- --persistent.chain=/root/.arbitrum/robinhood-testnet
|
||||||
|
- --persistent.db-engine=pebble
|
||||||
|
- --ws.addr=0.0.0.0
|
||||||
|
- --ws.origins=*
|
||||||
|
- --ws.port=8545
|
||||||
|
restart: unless-stopped
|
||||||
|
stop_grace_period: 5m
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${ROBINHOOD_TESTNET_NITRO_PRUNED_PEBBLE_PATH_DATA:-robinhood-testnet-nitro-pruned-pebble-path}:/root/.arbitrum
|
||||||
|
- ./arb/robinhood/testnet:/config
|
||||||
|
- /slowdisk:/slowdisk
|
||||||
|
logging: *logging-defaults
|
||||||
|
labels:
|
||||||
|
- prometheus-scrape.enabled=true
|
||||||
|
- prometheus-scrape.port=6070
|
||||||
|
- prometheus-scrape.path=/debug/metrics/prometheus
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.http.middlewares.robinhood-testnet-nitro-pruned-pebble-path-stripprefix.stripprefix.prefixes=/robinhood-testnet
|
||||||
|
- traefik.http.services.robinhood-testnet-nitro-pruned-pebble-path.loadbalancer.server.port=8545
|
||||||
|
- ${NO_SSL:-traefik.http.routers.robinhood-testnet-nitro-pruned-pebble-path.entrypoints=websecure}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.robinhood-testnet-nitro-pruned-pebble-path.tls.certresolver=myresolver}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.robinhood-testnet-nitro-pruned-pebble-path.rule=Host(`$DOMAIN`) && (Path(`/robinhood-testnet`) || Path(`/robinhood-testnet/`))}
|
||||||
|
- ${NO_SSL:+traefik.http.routers.robinhood-testnet-nitro-pruned-pebble-path.rule=Path(`/robinhood-testnet`) || Path(`/robinhood-testnet/`)}
|
||||||
|
- traefik.http.routers.robinhood-testnet-nitro-pruned-pebble-path.middlewares=robinhood-testnet-nitro-pruned-pebble-path-stripprefix, ipallowlist
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
robinhood-testnet-nitro-pruned-pebble-path:
|
||||||
|
|
||||||
|
x-upstreams:
|
||||||
|
- id: $${ID}
|
||||||
|
labels:
|
||||||
|
provider: $${PROVIDER}
|
||||||
|
connection:
|
||||||
|
generic:
|
||||||
|
rpc:
|
||||||
|
url: $${RPC_URL}
|
||||||
|
ws:
|
||||||
|
frameSize: 20Mb
|
||||||
|
msgSize: 50Mb
|
||||||
|
url: $${WS_URL}
|
||||||
|
chain: robinhood-testnet
|
||||||
|
method-groups:
|
||||||
|
enabled:
|
||||||
|
- debug
|
||||||
|
- filter
|
||||||
|
methods:
|
||||||
|
disabled:
|
||||||
|
# not compatible with path state scheme
|
||||||
|
- name: debug_traceBlockByHash
|
||||||
|
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
|
||||||
|
...
|
||||||
8
arb/robinhood/mainnet/baseConfig.json
Normal file
8
arb/robinhood/mainnet/baseConfig.json
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"chain": {
|
||||||
|
"info-json": "[{\"chain-id\":4663,\"parent-chain-id\":1,\"parent-chain-is-arbitrum\":false,\"chain-name\":\"robinhood\",\"chain-config\":{\"chainId\":4663,\"homesteadBlock\":0,\"daoForkBlock\":null,\"daoForkSupport\":true,\"eip150Block\":0,\"eip150Hash\":\"0x0000000000000000000000000000000000000000000000000000000000000000\",\"eip155Block\":0,\"eip158Block\":0,\"byzantiumBlock\":0,\"constantinopleBlock\":0,\"petersburgBlock\":0,\"istanbulBlock\":0,\"muirGlacierBlock\":0,\"berlinBlock\":0,\"londonBlock\":0,\"clique\":{\"period\":0,\"epoch\":0},\"arbitrum\":{\"EnableArbOS\":true,\"AllowDebugPrecompiles\":false,\"DataAvailabilityCommittee\":false,\"InitialArbOSVersion\":51,\"InitialChainOwner\":\"0xc8451c5DE260E7ea1b879e7994967077e71230Ca\",\"GenesisBlockNum\":0,\"MaxCodeSize\":98304,\"MaxInitCodeSize\":196608}},\"rollup\":{\"bridge\":\"0xDf8755334ce7A73cCF6b581C02eA649AE3E864b3\",\"inbox\":\"0x1A07cc4BD17E0118BdB54D70990D2158AbAD7a2D\",\"sequencer-inbox\":\"0xBd0D173EEb87D57A09521c24388a12789F33ba96\",\"rollup\":\"0x23A19d23e89166adedbDcB432518AB01e4272D94\",\"validator-wallet-creator\":\"0xB7FE37712e46F28C8f22Ec4bAA33A09fb8B52BD0\",\"stake-token\":\"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2\",\"deployed-at\":24994238}}]"
|
||||||
|
},
|
||||||
|
"init": {
|
||||||
|
"genesis-json-file": "/config/robinhood-genesis.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
267
arb/robinhood/mainnet/robinhood-genesis.json
Normal file
267
arb/robinhood/mainnet/robinhood-genesis.json
Normal file
File diff suppressed because one or more lines are too long
5
arb/robinhood/testnet/baseConfig.json
Normal file
5
arb/robinhood/testnet/baseConfig.json
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"chain": {
|
||||||
|
"info-json": "[{\"chain-id\":46630,\"parent-chain-id\":11155111,\"parent-chain-is-arbitrum\":false,\"chain-name\":\"Robinhood Chain Sepolia\",\"chain-config\":{\"chainId\":46630,\"homesteadBlock\":0,\"daoForkBlock\":null,\"daoForkSupport\":true,\"eip150Block\":0,\"eip150Hash\":\"0x0000000000000000000000000000000000000000000000000000000000000000\",\"eip155Block\":0,\"eip158Block\":0,\"byzantiumBlock\":0,\"constantinopleBlock\":0,\"petersburgBlock\":0,\"istanbulBlock\":0,\"muirGlacierBlock\":0,\"berlinBlock\":0,\"londonBlock\":0,\"clique\":{\"period\":0,\"epoch\":0},\"arbitrum\":{\"EnableArbOS\":true,\"AllowDebugPrecompiles\":false,\"DataAvailabilityCommittee\":false,\"InitialArbOSVersion\":51,\"InitialChainOwner\":\"0x7131b1c28Df46d845Ee044f2f79AC19Ba14526a8\",\"GenesisBlockNum\":0,\"MaxCodeSize\":98304,\"MaxInitCodeSize\":196608}},\"rollup\":{\"bridge\":\"0x96295BDad104eaD97cC08797b3dC68efF59CcF30\",\"inbox\":\"0xF2939afA86F6f933A3CE17fCAB007907B6b0B7a4\",\"sequencer-inbox\":\"0xA0D9dB3DC9791D54b5183C1C1866eFe1eCA7D414\",\"rollup\":\"0xdc5F8E399DBd8a9F5F87AeC4C23Beb12431b386D\",\"validator-utils\":\"0x0000000000000000000000000000000000000000\",\"validator-wallet-creator\":\"0xB7FE37712e46F28C8f22Ec4bAA33A09fb8B52BD0\",\"stake-token\":\"0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9\",\"deployed-at\":10204516}}]"
|
||||||
|
}
|
||||||
|
}
|
||||||
183
arc/reth/arc-mainnet-reth-archive-trace.yml
Normal file
183
arc/reth/arc-mainnet-reth-archive-trace.yml
Normal file
@@ -0,0 +1,183 @@
|
|||||||
|
---
|
||||||
|
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:arc/reth/arc-mainnet-reth-archive-trace.yml
|
||||||
|
#
|
||||||
|
# docker compose up -d
|
||||||
|
#
|
||||||
|
# curl -X POST https://${IP}.traefik.me/arc-mainnet-archive \
|
||||||
|
# -H "Content-Type: application/json" \
|
||||||
|
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||||
|
|
||||||
|
services:
|
||||||
|
arc-mainnet-archive-consensus-init:
|
||||||
|
image: ${ARC_CONSENSUS_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-consensus}:${ARC_MAINNET_CONSENSUS_VERSION:-0.8.0}
|
||||||
|
user: 0:0
|
||||||
|
entrypoint: [/usr/local/bin/arc-node-consensus, init]
|
||||||
|
command:
|
||||||
|
- --home=/data/consensus
|
||||||
|
restart: no
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${ARC_MAINNET_RETH_ARCHIVE_TRACE_CONSENSUS_DATA:-arc-mainnet-reth-archive-trace-consensus}:/data/consensus
|
||||||
|
logging: *logging-defaults
|
||||||
|
|
||||||
|
arc-mainnet-archive-sockets-init:
|
||||||
|
image: debian:bookworm-slim
|
||||||
|
entrypoint: [/bin/sh, -c]
|
||||||
|
command: [chown 999:999 /sockets]
|
||||||
|
restart: no
|
||||||
|
depends_on:
|
||||||
|
arc-mainnet-archive-consensus-init:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- arc-mainnet-reth-archive-trace-sockets:/sockets
|
||||||
|
logging: *logging-defaults
|
||||||
|
|
||||||
|
arc-mainnet-archive:
|
||||||
|
image: ${ARC_RETH_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-execution}:${ARC_MAINNET_RETH_VERSION:-0.8.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
|
||||||
|
expose:
|
||||||
|
- 8545
|
||||||
|
- 9001
|
||||||
|
entrypoint: [/usr/local/bin/arc-node-execution, node]
|
||||||
|
command:
|
||||||
|
- --auth-ipc
|
||||||
|
- --auth-ipc.path=/sockets/auth.ipc
|
||||||
|
- --chain=arc-mainnet
|
||||||
|
- --datadir=/data/execution
|
||||||
|
- --disable-discovery
|
||||||
|
- --enable-arc-rpc
|
||||||
|
- --http
|
||||||
|
- --http.addr=0.0.0.0
|
||||||
|
- --http.api=eth,net,web3,txpool,trace,debug
|
||||||
|
- --http.port=8545
|
||||||
|
- --ipcpath=/sockets/reth.ipc
|
||||||
|
- --log.file.directory=/data/execution/logs
|
||||||
|
- --metrics=0.0.0.0:9001
|
||||||
|
- --rpc.forwarder=https://rpc.arc.network/
|
||||||
|
restart: unless-stopped
|
||||||
|
stop_grace_period: 5m
|
||||||
|
depends_on:
|
||||||
|
arc-mainnet-archive-sockets-init:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${ARC_MAINNET_RETH_ARCHIVE_TRACE_EXECUTION_DATA:-arc-mainnet-reth-archive-trace-execution}:/data/execution
|
||||||
|
- /slowdisk:/slowdisk
|
||||||
|
- arc-mainnet-reth-archive-trace-sockets:/sockets
|
||||||
|
logging: *logging-defaults
|
||||||
|
labels:
|
||||||
|
- prometheus-scrape.enabled=true
|
||||||
|
- prometheus-scrape.port=9001
|
||||||
|
- prometheus-scrape.path=/metrics
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.http.middlewares.arc-mainnet-reth-archive-trace-stripprefix.stripprefix.prefixes=/arc-mainnet-archive
|
||||||
|
- traefik.http.services.arc-mainnet-reth-archive-trace.loadbalancer.server.port=8545
|
||||||
|
- ${NO_SSL:-traefik.http.routers.arc-mainnet-reth-archive-trace.entrypoints=websecure}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.arc-mainnet-reth-archive-trace.tls.certresolver=myresolver}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.arc-mainnet-reth-archive-trace.rule=Host(`$DOMAIN`) && (Path(`/arc-mainnet-archive`) || Path(`/arc-mainnet-archive/`))}
|
||||||
|
- ${NO_SSL:+traefik.http.routers.arc-mainnet-reth-archive-trace.rule=Path(`/arc-mainnet-archive`) || Path(`/arc-mainnet-archive/`)}
|
||||||
|
- traefik.http.routers.arc-mainnet-reth-archive-trace.middlewares=arc-mainnet-reth-archive-trace-stripprefix, ipallowlist
|
||||||
|
shm_size: 2gb
|
||||||
|
|
||||||
|
arc-mainnet-archive-node:
|
||||||
|
image: ${ARC_CONSENSUS_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-consensus}:${ARC_MAINNET_CONSENSUS_VERSION:-0.8.0}
|
||||||
|
user: 0:0
|
||||||
|
expose:
|
||||||
|
- 31000
|
||||||
|
- 29000
|
||||||
|
entrypoint: [/usr/local/bin/arc-node-consensus, start]
|
||||||
|
command:
|
||||||
|
- --eth-socket=/sockets/reth.ipc
|
||||||
|
- --execution-persistence-backpressure
|
||||||
|
- --execution-persistence-backpressure-threshold=200
|
||||||
|
- --execution-socket=/sockets/auth.ipc
|
||||||
|
- --follow
|
||||||
|
- --follow.endpoint=https://rpc.arc.network,wss=rpc.arc.network
|
||||||
|
- --follow.endpoint=https://arc.drpc.org,wss=arc.drpc.org
|
||||||
|
- --full
|
||||||
|
- --home=/data/consensus
|
||||||
|
- --metrics=0.0.0.0:29000
|
||||||
|
- --rpc.addr=0.0.0.0:31000
|
||||||
|
restart: unless-stopped
|
||||||
|
stop_grace_period: 5m
|
||||||
|
depends_on:
|
||||||
|
arc-mainnet-archive-consensus-init:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
arc-mainnet-archive:
|
||||||
|
condition: service_started
|
||||||
|
restart: true
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${ARC_MAINNET_RETH_ARCHIVE_TRACE_CONSENSUS_DATA:-arc-mainnet-reth-archive-trace-consensus}:/data/consensus
|
||||||
|
- arc-mainnet-reth-archive-trace-sockets:/sockets
|
||||||
|
logging: *logging-defaults
|
||||||
|
labels:
|
||||||
|
- prometheus-scrape.enabled=true
|
||||||
|
- prometheus-scrape.port=29000
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
arc-mainnet-reth-archive-trace-consensus:
|
||||||
|
arc-mainnet-reth-archive-trace-execution:
|
||||||
|
arc-mainnet-reth-archive-trace-sockets:
|
||||||
|
|
||||||
|
x-ephemeral-volumes:
|
||||||
|
- arc-mainnet-reth-archive-trace-sockets
|
||||||
|
|
||||||
|
x-upstreams:
|
||||||
|
- id: $${ID}
|
||||||
|
labels:
|
||||||
|
provider: $${PROVIDER}
|
||||||
|
connection:
|
||||||
|
generic:
|
||||||
|
rpc:
|
||||||
|
url: $${RPC_URL}
|
||||||
|
chain: arc
|
||||||
|
method-groups:
|
||||||
|
enabled:
|
||||||
|
- debug
|
||||||
|
- filter
|
||||||
|
- trace
|
||||||
|
methods:
|
||||||
|
enabled:
|
||||||
|
- name: txpool_content
|
||||||
|
...
|
||||||
185
arc/reth/arc-mainnet-reth-pruned-trace.yml
Normal file
185
arc/reth/arc-mainnet-reth-pruned-trace.yml
Normal file
@@ -0,0 +1,185 @@
|
|||||||
|
---
|
||||||
|
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:arc/reth/arc-mainnet-reth-pruned-trace.yml
|
||||||
|
#
|
||||||
|
# docker compose up -d
|
||||||
|
#
|
||||||
|
# curl -X POST https://${IP}.traefik.me/arc-mainnet \
|
||||||
|
# -H "Content-Type: application/json" \
|
||||||
|
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||||
|
|
||||||
|
services:
|
||||||
|
arc-mainnet-consensus-init:
|
||||||
|
image: ${ARC_CONSENSUS_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-consensus}:${ARC_MAINNET_CONSENSUS_VERSION:-0.8.0}
|
||||||
|
user: 0:0
|
||||||
|
entrypoint: [/usr/local/bin/arc-node-consensus, init]
|
||||||
|
command:
|
||||||
|
- --home=/data/consensus
|
||||||
|
restart: no
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${ARC_MAINNET_RETH_PRUNED_TRACE_CONSENSUS_DATA:-arc-mainnet-reth-pruned-trace-consensus}:/data/consensus
|
||||||
|
logging: *logging-defaults
|
||||||
|
|
||||||
|
arc-mainnet-sockets-init:
|
||||||
|
image: debian:bookworm-slim
|
||||||
|
entrypoint: [/bin/sh, -c]
|
||||||
|
command: [chown 999:999 /sockets]
|
||||||
|
restart: no
|
||||||
|
depends_on:
|
||||||
|
arc-mainnet-consensus-init:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- arc-mainnet-reth-pruned-trace-sockets:/sockets
|
||||||
|
logging: *logging-defaults
|
||||||
|
|
||||||
|
arc-mainnet:
|
||||||
|
image: ${ARC_RETH_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-execution}:${ARC_MAINNET_RETH_VERSION:-0.8.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
|
||||||
|
expose:
|
||||||
|
- 8545
|
||||||
|
- 9001
|
||||||
|
entrypoint: [/usr/local/bin/arc-node-execution, node]
|
||||||
|
command:
|
||||||
|
- --auth-ipc
|
||||||
|
- --auth-ipc.path=/sockets/auth.ipc
|
||||||
|
- --chain=arc-mainnet
|
||||||
|
- --datadir=/data/execution
|
||||||
|
- --disable-discovery
|
||||||
|
- --enable-arc-rpc
|
||||||
|
- --full
|
||||||
|
- --http
|
||||||
|
- --http.addr=0.0.0.0
|
||||||
|
- --http.api=eth,net,web3,txpool,trace,debug
|
||||||
|
- --http.port=8545
|
||||||
|
- --ipcpath=/sockets/reth.ipc
|
||||||
|
- --log.file.directory=/data/execution/logs
|
||||||
|
- --metrics=0.0.0.0:9001
|
||||||
|
- --prune.block-interval=5000
|
||||||
|
- --rpc.forwarder=https://rpc.arc.network/
|
||||||
|
restart: unless-stopped
|
||||||
|
stop_grace_period: 5m
|
||||||
|
depends_on:
|
||||||
|
arc-mainnet-sockets-init:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${ARC_MAINNET_RETH_PRUNED_TRACE_EXECUTION_DATA:-arc-mainnet-reth-pruned-trace-execution}:/data/execution
|
||||||
|
- /slowdisk:/slowdisk
|
||||||
|
- arc-mainnet-reth-pruned-trace-sockets:/sockets
|
||||||
|
logging: *logging-defaults
|
||||||
|
labels:
|
||||||
|
- prometheus-scrape.enabled=true
|
||||||
|
- prometheus-scrape.port=9001
|
||||||
|
- prometheus-scrape.path=/metrics
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.http.middlewares.arc-mainnet-reth-pruned-trace-stripprefix.stripprefix.prefixes=/arc-mainnet
|
||||||
|
- traefik.http.services.arc-mainnet-reth-pruned-trace.loadbalancer.server.port=8545
|
||||||
|
- ${NO_SSL:-traefik.http.routers.arc-mainnet-reth-pruned-trace.entrypoints=websecure}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.arc-mainnet-reth-pruned-trace.tls.certresolver=myresolver}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.arc-mainnet-reth-pruned-trace.rule=Host(`$DOMAIN`) && (Path(`/arc-mainnet`) || Path(`/arc-mainnet/`))}
|
||||||
|
- ${NO_SSL:+traefik.http.routers.arc-mainnet-reth-pruned-trace.rule=Path(`/arc-mainnet`) || Path(`/arc-mainnet/`)}
|
||||||
|
- traefik.http.routers.arc-mainnet-reth-pruned-trace.middlewares=arc-mainnet-reth-pruned-trace-stripprefix, ipallowlist
|
||||||
|
shm_size: 2gb
|
||||||
|
|
||||||
|
arc-mainnet-node:
|
||||||
|
image: ${ARC_CONSENSUS_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-consensus}:${ARC_MAINNET_CONSENSUS_VERSION:-0.8.0}
|
||||||
|
user: 0:0
|
||||||
|
expose:
|
||||||
|
- 31000
|
||||||
|
- 29000
|
||||||
|
entrypoint: [/usr/local/bin/arc-node-consensus, start]
|
||||||
|
command:
|
||||||
|
- --eth-socket=/sockets/reth.ipc
|
||||||
|
- --execution-persistence-backpressure
|
||||||
|
- --execution-persistence-backpressure-threshold=200
|
||||||
|
- --execution-socket=/sockets/auth.ipc
|
||||||
|
- --follow
|
||||||
|
- --follow.endpoint=https://rpc.arc.network,wss=rpc.arc.network
|
||||||
|
- --follow.endpoint=https://arc.drpc.org,wss=arc.drpc.org
|
||||||
|
- --full
|
||||||
|
- --home=/data/consensus
|
||||||
|
- --metrics=0.0.0.0:29000
|
||||||
|
- --rpc.addr=0.0.0.0:31000
|
||||||
|
restart: unless-stopped
|
||||||
|
stop_grace_period: 5m
|
||||||
|
depends_on:
|
||||||
|
arc-mainnet-consensus-init:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
arc-mainnet:
|
||||||
|
condition: service_started
|
||||||
|
restart: true
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${ARC_MAINNET_RETH_PRUNED_TRACE_CONSENSUS_DATA:-arc-mainnet-reth-pruned-trace-consensus}:/data/consensus
|
||||||
|
- arc-mainnet-reth-pruned-trace-sockets:/sockets
|
||||||
|
logging: *logging-defaults
|
||||||
|
labels:
|
||||||
|
- prometheus-scrape.enabled=true
|
||||||
|
- prometheus-scrape.port=29000
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
arc-mainnet-reth-pruned-trace-consensus:
|
||||||
|
arc-mainnet-reth-pruned-trace-execution:
|
||||||
|
arc-mainnet-reth-pruned-trace-sockets:
|
||||||
|
|
||||||
|
x-ephemeral-volumes:
|
||||||
|
- arc-mainnet-reth-pruned-trace-sockets
|
||||||
|
|
||||||
|
x-upstreams:
|
||||||
|
- id: $${ID}
|
||||||
|
labels:
|
||||||
|
provider: $${PROVIDER}
|
||||||
|
connection:
|
||||||
|
generic:
|
||||||
|
rpc:
|
||||||
|
url: $${RPC_URL}
|
||||||
|
chain: arc
|
||||||
|
method-groups:
|
||||||
|
enabled:
|
||||||
|
- debug
|
||||||
|
- filter
|
||||||
|
- trace
|
||||||
|
methods:
|
||||||
|
enabled:
|
||||||
|
- name: txpool_content
|
||||||
|
...
|
||||||
183
arc/reth/arc-testnet-reth-archive-trace.yml
Normal file
183
arc/reth/arc-testnet-reth-archive-trace.yml
Normal file
@@ -0,0 +1,183 @@
|
|||||||
|
---
|
||||||
|
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:arc/reth/arc-testnet-reth-archive-trace.yml
|
||||||
|
#
|
||||||
|
# docker compose up -d
|
||||||
|
#
|
||||||
|
# curl -X POST https://${IP}.traefik.me/arc-testnet-archive \
|
||||||
|
# -H "Content-Type: application/json" \
|
||||||
|
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||||
|
|
||||||
|
services:
|
||||||
|
arc-testnet-archive-consensus-init:
|
||||||
|
image: ${ARC_CONSENSUS_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-consensus}:${ARC_TESTNET_CONSENSUS_VERSION:-0.8.0}
|
||||||
|
user: 0:0
|
||||||
|
entrypoint: [/usr/local/bin/arc-node-consensus, init]
|
||||||
|
command:
|
||||||
|
- --home=/data/consensus
|
||||||
|
restart: no
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${ARC_TESTNET_RETH_ARCHIVE_TRACE_CONSENSUS_DATA:-arc-testnet-reth-archive-trace-consensus}:/data/consensus
|
||||||
|
logging: *logging-defaults
|
||||||
|
|
||||||
|
arc-testnet-archive-sockets-init:
|
||||||
|
image: debian:bookworm-slim
|
||||||
|
entrypoint: [/bin/sh, -c]
|
||||||
|
command: [chown 999:999 /sockets]
|
||||||
|
restart: no
|
||||||
|
depends_on:
|
||||||
|
arc-testnet-archive-consensus-init:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- arc-testnet-reth-archive-trace-sockets:/sockets
|
||||||
|
logging: *logging-defaults
|
||||||
|
|
||||||
|
arc-testnet-archive:
|
||||||
|
image: ${ARC_RETH_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-execution}:${ARC_TESTNET_RETH_VERSION:-0.8.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
|
||||||
|
expose:
|
||||||
|
- 8545
|
||||||
|
- 9001
|
||||||
|
entrypoint: [/usr/local/bin/arc-node-execution, node]
|
||||||
|
command:
|
||||||
|
- --auth-ipc
|
||||||
|
- --auth-ipc.path=/sockets/auth.ipc
|
||||||
|
- --chain=arc-testnet
|
||||||
|
- --datadir=/data/execution
|
||||||
|
- --disable-discovery
|
||||||
|
- --enable-arc-rpc
|
||||||
|
- --http
|
||||||
|
- --http.addr=0.0.0.0
|
||||||
|
- --http.api=eth,net,web3,txpool,trace,debug
|
||||||
|
- --http.port=8545
|
||||||
|
- --ipcpath=/sockets/reth.ipc
|
||||||
|
- --log.file.directory=/data/execution/logs
|
||||||
|
- --metrics=0.0.0.0:9001
|
||||||
|
- --rpc.forwarder=https://rpc.quicknode.testnet.arc.network/
|
||||||
|
restart: unless-stopped
|
||||||
|
stop_grace_period: 5m
|
||||||
|
depends_on:
|
||||||
|
arc-testnet-archive-sockets-init:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${ARC_TESTNET_RETH_ARCHIVE_TRACE_EXECUTION_DATA:-arc-testnet-reth-archive-trace-execution}:/data/execution
|
||||||
|
- /slowdisk:/slowdisk
|
||||||
|
- arc-testnet-reth-archive-trace-sockets:/sockets
|
||||||
|
logging: *logging-defaults
|
||||||
|
labels:
|
||||||
|
- prometheus-scrape.enabled=true
|
||||||
|
- prometheus-scrape.port=9001
|
||||||
|
- prometheus-scrape.path=/metrics
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.http.middlewares.arc-testnet-reth-archive-trace-stripprefix.stripprefix.prefixes=/arc-testnet-archive
|
||||||
|
- traefik.http.services.arc-testnet-reth-archive-trace.loadbalancer.server.port=8545
|
||||||
|
- ${NO_SSL:-traefik.http.routers.arc-testnet-reth-archive-trace.entrypoints=websecure}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.arc-testnet-reth-archive-trace.tls.certresolver=myresolver}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.arc-testnet-reth-archive-trace.rule=Host(`$DOMAIN`) && (Path(`/arc-testnet-archive`) || Path(`/arc-testnet-archive/`))}
|
||||||
|
- ${NO_SSL:+traefik.http.routers.arc-testnet-reth-archive-trace.rule=Path(`/arc-testnet-archive`) || Path(`/arc-testnet-archive/`)}
|
||||||
|
- traefik.http.routers.arc-testnet-reth-archive-trace.middlewares=arc-testnet-reth-archive-trace-stripprefix, ipallowlist
|
||||||
|
shm_size: 2gb
|
||||||
|
|
||||||
|
arc-testnet-archive-node:
|
||||||
|
image: ${ARC_CONSENSUS_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-consensus}:${ARC_TESTNET_CONSENSUS_VERSION:-0.8.0}
|
||||||
|
user: 0:0
|
||||||
|
expose:
|
||||||
|
- 31000
|
||||||
|
- 29000
|
||||||
|
entrypoint: [/usr/local/bin/arc-node-consensus, start]
|
||||||
|
command:
|
||||||
|
- --eth-socket=/sockets/reth.ipc
|
||||||
|
- --execution-persistence-backpressure
|
||||||
|
- --execution-persistence-backpressure-threshold=200
|
||||||
|
- --execution-socket=/sockets/auth.ipc
|
||||||
|
- --follow
|
||||||
|
- --follow.endpoint=https://rpc.quicknode.testnet.arc.network,wss=rpc.quicknode.testnet.arc.network
|
||||||
|
- --follow.endpoint=https://rpc.blockdaemon.testnet.arc.network,wss=rpc.blockdaemon.testnet.arc.network/websocket
|
||||||
|
- --full
|
||||||
|
- --home=/data/consensus
|
||||||
|
- --metrics=0.0.0.0:29000
|
||||||
|
- --rpc.addr=0.0.0.0:31000
|
||||||
|
restart: unless-stopped
|
||||||
|
stop_grace_period: 5m
|
||||||
|
depends_on:
|
||||||
|
arc-testnet-archive-consensus-init:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
arc-testnet-archive:
|
||||||
|
condition: service_started
|
||||||
|
restart: true
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${ARC_TESTNET_RETH_ARCHIVE_TRACE_CONSENSUS_DATA:-arc-testnet-reth-archive-trace-consensus}:/data/consensus
|
||||||
|
- arc-testnet-reth-archive-trace-sockets:/sockets
|
||||||
|
logging: *logging-defaults
|
||||||
|
labels:
|
||||||
|
- prometheus-scrape.enabled=true
|
||||||
|
- prometheus-scrape.port=29000
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
arc-testnet-reth-archive-trace-consensus:
|
||||||
|
arc-testnet-reth-archive-trace-execution:
|
||||||
|
arc-testnet-reth-archive-trace-sockets:
|
||||||
|
|
||||||
|
x-ephemeral-volumes:
|
||||||
|
- arc-testnet-reth-archive-trace-sockets
|
||||||
|
|
||||||
|
x-upstreams:
|
||||||
|
- id: $${ID}
|
||||||
|
labels:
|
||||||
|
provider: $${PROVIDER}
|
||||||
|
connection:
|
||||||
|
generic:
|
||||||
|
rpc:
|
||||||
|
url: $${RPC_URL}
|
||||||
|
chain: arc-testnet
|
||||||
|
method-groups:
|
||||||
|
enabled:
|
||||||
|
- debug
|
||||||
|
- filter
|
||||||
|
- trace
|
||||||
|
methods:
|
||||||
|
enabled:
|
||||||
|
- name: txpool_content
|
||||||
|
...
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -20,7 +20,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
# ...
|
# ...
|
||||||
# IP=$(curl ipinfo.io/ip)
|
# IP=$(curl ipinfo.io/ip)
|
||||||
# DOMAIN=${IP}.traefik.me
|
# DOMAIN=${IP}.traefik.me
|
||||||
# COMPOSE_FILE=base.yml:rpc.yml:arc/arc/arc-testnet-arc-full.yml
|
# COMPOSE_FILE=base.yml:rpc.yml:arc/reth/arc-testnet-reth-pruned-trace.yml
|
||||||
#
|
#
|
||||||
# docker compose up -d
|
# docker compose up -d
|
||||||
#
|
#
|
||||||
@@ -29,42 +29,23 @@ x-logging-defaults: &logging-defaults
|
|||||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
arc-testnet-snapshots:
|
|
||||||
image: ${ARC_ARC_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-execution}:${ARC_TESTNET_ARC_VERSION:-0.7.2}
|
|
||||||
user: 0:0
|
|
||||||
entrypoint: [/usr/local/bin/arc-snapshots, download]
|
|
||||||
command:
|
|
||||||
- --chain=arc-testnet
|
|
||||||
- --consensus-path=/data/consensus
|
|
||||||
- --execution-path=/data/execution
|
|
||||||
restart: no
|
|
||||||
networks:
|
|
||||||
- chains
|
|
||||||
volumes:
|
|
||||||
- ${ARC_TESTNET_ARC_FULL_CONSENSUS_DATA:-arc-testnet-arc-full-consensus}:/data/consensus
|
|
||||||
- ${ARC_TESTNET_ARC_FULL_EXECUTION_DATA:-arc-testnet-arc-full-execution}:/data/execution
|
|
||||||
logging: *logging-defaults
|
|
||||||
|
|
||||||
arc-testnet-consensus-init:
|
arc-testnet-consensus-init:
|
||||||
image: ${ARC_CONSENSUS_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-consensus}:${ARC_TESTNET_CONSENSUS_VERSION:-0.7.2}
|
image: ${ARC_CONSENSUS_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-consensus}:${ARC_TESTNET_CONSENSUS_VERSION:-0.8.0}
|
||||||
user: 0:0
|
user: 0:0
|
||||||
entrypoint: [/usr/local/bin/arc-node-consensus, init]
|
entrypoint: [/usr/local/bin/arc-node-consensus, init]
|
||||||
command:
|
command:
|
||||||
- --home=/data/consensus
|
- --home=/data/consensus
|
||||||
restart: no
|
restart: no
|
||||||
depends_on:
|
|
||||||
arc-testnet-snapshots:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
networks:
|
networks:
|
||||||
- chains
|
- chains
|
||||||
volumes:
|
volumes:
|
||||||
- ${ARC_TESTNET_ARC_FULL_CONSENSUS_DATA:-arc-testnet-arc-full-consensus}:/data/consensus
|
- ${ARC_TESTNET_RETH_PRUNED_TRACE_CONSENSUS_DATA:-arc-testnet-reth-pruned-trace-consensus}:/data/consensus
|
||||||
logging: *logging-defaults
|
logging: *logging-defaults
|
||||||
|
|
||||||
arc-testnet-sockets-init:
|
arc-testnet-sockets-init:
|
||||||
image: debian:bookworm-slim
|
image: debian:bookworm-slim
|
||||||
entrypoint: [/bin/sh, -c]
|
entrypoint: [/bin/sh, -c]
|
||||||
command: [rm -f /sockets/*.ipc && chown 999:999 /sockets]
|
command: [chown 999:999 /sockets]
|
||||||
restart: no
|
restart: no
|
||||||
depends_on:
|
depends_on:
|
||||||
arc-testnet-consensus-init:
|
arc-testnet-consensus-init:
|
||||||
@@ -72,11 +53,11 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- chains
|
- chains
|
||||||
volumes:
|
volumes:
|
||||||
- arc-testnet-arc-full-sockets:/sockets
|
- arc-testnet-reth-pruned-trace-sockets:/sockets
|
||||||
logging: *logging-defaults
|
logging: *logging-defaults
|
||||||
|
|
||||||
arc-testnet:
|
arc-testnet:
|
||||||
image: ${ARC_ARC_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-execution}:${ARC_TESTNET_ARC_VERSION:-0.7.2}
|
image: ${ARC_RETH_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-execution}:${ARC_TESTNET_RETH_VERSION:-0.8.0}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -90,6 +71,7 @@ services:
|
|||||||
net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets
|
net.ipv4.tcp_max_tw_buckets: 2000000 # Allow more TIME_WAIT sockets
|
||||||
ulimits:
|
ulimits:
|
||||||
nofile: 1048576 # Max open files (for RPC/WS connections)
|
nofile: 1048576 # Max open files (for RPC/WS connections)
|
||||||
|
memlock: -1 # Disable memory locking limits (for in-memory DBs like MDBX)
|
||||||
user: 0:0
|
user: 0:0
|
||||||
expose:
|
expose:
|
||||||
- 8545
|
- 8545
|
||||||
@@ -110,6 +92,7 @@ services:
|
|||||||
- --ipcpath=/sockets/reth.ipc
|
- --ipcpath=/sockets/reth.ipc
|
||||||
- --log.file.directory=/data/execution/logs
|
- --log.file.directory=/data/execution/logs
|
||||||
- --metrics=0.0.0.0:9001
|
- --metrics=0.0.0.0:9001
|
||||||
|
- --prune.block-interval=5000
|
||||||
- --rpc.forwarder=https://rpc.quicknode.testnet.arc.network/
|
- --rpc.forwarder=https://rpc.quicknode.testnet.arc.network/
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
stop_grace_period: 5m
|
stop_grace_period: 5m
|
||||||
@@ -119,25 +102,26 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- chains
|
- chains
|
||||||
volumes:
|
volumes:
|
||||||
- ${ARC_TESTNET_ARC_FULL_EXECUTION_DATA:-arc-testnet-arc-full-execution}:/data/execution
|
- ${ARC_TESTNET_RETH_PRUNED_TRACE_EXECUTION_DATA:-arc-testnet-reth-pruned-trace-execution}:/data/execution
|
||||||
- /slowdisk:/slowdisk
|
- /slowdisk:/slowdisk
|
||||||
- arc-testnet-arc-full-sockets:/sockets
|
- arc-testnet-reth-pruned-trace-sockets:/sockets
|
||||||
logging: *logging-defaults
|
logging: *logging-defaults
|
||||||
labels:
|
labels:
|
||||||
- prometheus-scrape.enabled=true
|
- prometheus-scrape.enabled=true
|
||||||
- prometheus-scrape.port=9001
|
- prometheus-scrape.port=9001
|
||||||
- prometheus-scrape.path=/metrics
|
- prometheus-scrape.path=/metrics
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.http.middlewares.arc-testnet-arc-full-stripprefix.stripprefix.prefixes=/arc-testnet
|
- traefik.http.middlewares.arc-testnet-reth-pruned-trace-stripprefix.stripprefix.prefixes=/arc-testnet
|
||||||
- traefik.http.services.arc-testnet-arc-full.loadbalancer.server.port=8545
|
- traefik.http.services.arc-testnet-reth-pruned-trace.loadbalancer.server.port=8545
|
||||||
- ${NO_SSL:-traefik.http.routers.arc-testnet-arc-full.entrypoints=websecure}
|
- ${NO_SSL:-traefik.http.routers.arc-testnet-reth-pruned-trace.entrypoints=websecure}
|
||||||
- ${NO_SSL:-traefik.http.routers.arc-testnet-arc-full.tls.certresolver=myresolver}
|
- ${NO_SSL:-traefik.http.routers.arc-testnet-reth-pruned-trace.tls.certresolver=myresolver}
|
||||||
- ${NO_SSL:-traefik.http.routers.arc-testnet-arc-full.rule=Host(`$DOMAIN`) && (Path(`/arc-testnet`) || Path(`/arc-testnet/`))}
|
- ${NO_SSL:-traefik.http.routers.arc-testnet-reth-pruned-trace.rule=Host(`$DOMAIN`) && (Path(`/arc-testnet`) || Path(`/arc-testnet/`))}
|
||||||
- ${NO_SSL:+traefik.http.routers.arc-testnet-arc-full.rule=Path(`/arc-testnet`) || Path(`/arc-testnet/`)}
|
- ${NO_SSL:+traefik.http.routers.arc-testnet-reth-pruned-trace.rule=Path(`/arc-testnet`) || Path(`/arc-testnet/`)}
|
||||||
- traefik.http.routers.arc-testnet-arc-full.middlewares=arc-testnet-arc-full-stripprefix, ipallowlist
|
- traefik.http.routers.arc-testnet-reth-pruned-trace.middlewares=arc-testnet-reth-pruned-trace-stripprefix, ipallowlist
|
||||||
|
shm_size: 2gb
|
||||||
|
|
||||||
arc-testnet-node:
|
arc-testnet-node:
|
||||||
image: ${ARC_CONSENSUS_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-consensus}:${ARC_TESTNET_CONSENSUS_VERSION:-0.7.2}
|
image: ${ARC_CONSENSUS_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-consensus}:${ARC_TESTNET_CONSENSUS_VERSION:-0.8.0}
|
||||||
user: 0:0
|
user: 0:0
|
||||||
expose:
|
expose:
|
||||||
- 31000
|
- 31000
|
||||||
@@ -146,12 +130,11 @@ services:
|
|||||||
command:
|
command:
|
||||||
- --eth-socket=/sockets/reth.ipc
|
- --eth-socket=/sockets/reth.ipc
|
||||||
- --execution-persistence-backpressure
|
- --execution-persistence-backpressure
|
||||||
- --execution-persistence-backpressure-threshold=50
|
- --execution-persistence-backpressure-threshold=200
|
||||||
- --execution-socket=/sockets/auth.ipc
|
- --execution-socket=/sockets/auth.ipc
|
||||||
- --follow
|
- --follow
|
||||||
- --follow.endpoint=https://rpc.blockdaemon.testnet.arc.network,wss=rpc.blockdaemon.testnet.arc.network/websocket
|
|
||||||
- --follow.endpoint=https://rpc.drpc.testnet.arc.network,wss=rpc.drpc.testnet.arc.network
|
|
||||||
- --follow.endpoint=https://rpc.quicknode.testnet.arc.network,wss=rpc.quicknode.testnet.arc.network
|
- --follow.endpoint=https://rpc.quicknode.testnet.arc.network,wss=rpc.quicknode.testnet.arc.network
|
||||||
|
- --follow.endpoint=https://rpc.blockdaemon.testnet.arc.network,wss=rpc.blockdaemon.testnet.arc.network/websocket
|
||||||
- --full
|
- --full
|
||||||
- --home=/data/consensus
|
- --home=/data/consensus
|
||||||
- --metrics=0.0.0.0:29000
|
- --metrics=0.0.0.0:29000
|
||||||
@@ -167,17 +150,20 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- chains
|
- chains
|
||||||
volumes:
|
volumes:
|
||||||
- ${ARC_TESTNET_ARC_FULL_CONSENSUS_DATA:-arc-testnet-arc-full-consensus}:/data/consensus
|
- ${ARC_TESTNET_RETH_PRUNED_TRACE_CONSENSUS_DATA:-arc-testnet-reth-pruned-trace-consensus}:/data/consensus
|
||||||
- arc-testnet-arc-full-sockets:/sockets
|
- arc-testnet-reth-pruned-trace-sockets:/sockets
|
||||||
logging: *logging-defaults
|
logging: *logging-defaults
|
||||||
labels:
|
labels:
|
||||||
- prometheus-scrape.enabled=true
|
- prometheus-scrape.enabled=true
|
||||||
- prometheus-scrape.port=29000
|
- prometheus-scrape.port=29000
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
arc-testnet-arc-full-consensus:
|
arc-testnet-reth-pruned-trace-consensus:
|
||||||
arc-testnet-arc-full-execution:
|
arc-testnet-reth-pruned-trace-execution:
|
||||||
arc-testnet-arc-full-sockets:
|
arc-testnet-reth-pruned-trace-sockets:
|
||||||
|
|
||||||
|
x-ephemeral-volumes:
|
||||||
|
- arc-testnet-reth-pruned-trace-sockets
|
||||||
|
|
||||||
x-upstreams:
|
x-upstreams:
|
||||||
- id: $${ID}
|
- id: $${ID}
|
||||||
185
arc/reth/arc-testnet-reth-pruned.yml
Normal file
185
arc/reth/arc-testnet-reth-pruned.yml
Normal file
@@ -0,0 +1,185 @@
|
|||||||
|
---
|
||||||
|
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:arc/reth/arc-testnet-reth-pruned.yml
|
||||||
|
#
|
||||||
|
# docker compose up -d
|
||||||
|
#
|
||||||
|
# curl -X POST https://${IP}.traefik.me/arc-testnet \
|
||||||
|
# -H "Content-Type: application/json" \
|
||||||
|
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||||
|
|
||||||
|
services:
|
||||||
|
arc-testnet-consensus-init:
|
||||||
|
image: ${ARC_CONSENSUS_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-consensus}:${ARC_TESTNET_CONSENSUS_VERSION:-0.8.0}
|
||||||
|
user: 0:0
|
||||||
|
entrypoint: [/usr/local/bin/arc-node-consensus, init]
|
||||||
|
command:
|
||||||
|
- --home=/data/consensus
|
||||||
|
restart: no
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${ARC_TESTNET_RETH_PRUNED_CONSENSUS_DATA:-arc-testnet-reth-pruned-consensus}:/data/consensus
|
||||||
|
logging: *logging-defaults
|
||||||
|
|
||||||
|
arc-testnet-sockets-init:
|
||||||
|
image: debian:bookworm-slim
|
||||||
|
entrypoint: [/bin/sh, -c]
|
||||||
|
command: [chown 999:999 /sockets]
|
||||||
|
restart: no
|
||||||
|
depends_on:
|
||||||
|
arc-testnet-consensus-init:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- arc-testnet-reth-pruned-sockets:/sockets
|
||||||
|
logging: *logging-defaults
|
||||||
|
|
||||||
|
arc-testnet:
|
||||||
|
image: ${ARC_RETH_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-execution}:${ARC_TESTNET_RETH_VERSION:-0.8.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
|
||||||
|
expose:
|
||||||
|
- 8545
|
||||||
|
- 9001
|
||||||
|
entrypoint: [/usr/local/bin/arc-node-execution, node]
|
||||||
|
command:
|
||||||
|
- --auth-ipc
|
||||||
|
- --auth-ipc.path=/sockets/auth.ipc
|
||||||
|
- --chain=arc-testnet
|
||||||
|
- --datadir=/data/execution
|
||||||
|
- --disable-discovery
|
||||||
|
- --enable-arc-rpc
|
||||||
|
- --full
|
||||||
|
- --http
|
||||||
|
- --http.addr=0.0.0.0
|
||||||
|
- --http.api=eth,net,web3,txpool,trace,debug
|
||||||
|
- --http.port=8545
|
||||||
|
- --ipcpath=/sockets/reth.ipc
|
||||||
|
- --log.file.directory=/data/execution/logs
|
||||||
|
- --metrics=0.0.0.0:9001
|
||||||
|
- --prune.block-interval=5000
|
||||||
|
- --rpc.forwarder=https://rpc.quicknode.testnet.arc.network/
|
||||||
|
restart: unless-stopped
|
||||||
|
stop_grace_period: 5m
|
||||||
|
depends_on:
|
||||||
|
arc-testnet-sockets-init:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${ARC_TESTNET_RETH_PRUNED_EXECUTION_DATA:-arc-testnet-reth-pruned-execution}:/data/execution
|
||||||
|
- /slowdisk:/slowdisk
|
||||||
|
- arc-testnet-reth-pruned-sockets:/sockets
|
||||||
|
logging: *logging-defaults
|
||||||
|
labels:
|
||||||
|
- prometheus-scrape.enabled=true
|
||||||
|
- prometheus-scrape.port=9001
|
||||||
|
- prometheus-scrape.path=/metrics
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.http.middlewares.arc-testnet-reth-pruned-stripprefix.stripprefix.prefixes=/arc-testnet
|
||||||
|
- traefik.http.services.arc-testnet-reth-pruned.loadbalancer.server.port=8545
|
||||||
|
- ${NO_SSL:-traefik.http.routers.arc-testnet-reth-pruned.entrypoints=websecure}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.arc-testnet-reth-pruned.tls.certresolver=myresolver}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.arc-testnet-reth-pruned.rule=Host(`$DOMAIN`) && (Path(`/arc-testnet`) || Path(`/arc-testnet/`))}
|
||||||
|
- ${NO_SSL:+traefik.http.routers.arc-testnet-reth-pruned.rule=Path(`/arc-testnet`) || Path(`/arc-testnet/`)}
|
||||||
|
- traefik.http.routers.arc-testnet-reth-pruned.middlewares=arc-testnet-reth-pruned-stripprefix, ipallowlist
|
||||||
|
shm_size: 2gb
|
||||||
|
|
||||||
|
arc-testnet-node:
|
||||||
|
image: ${ARC_CONSENSUS_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-consensus}:${ARC_TESTNET_CONSENSUS_VERSION:-0.8.0}
|
||||||
|
user: 0:0
|
||||||
|
expose:
|
||||||
|
- 31000
|
||||||
|
- 29000
|
||||||
|
entrypoint: [/usr/local/bin/arc-node-consensus, start]
|
||||||
|
command:
|
||||||
|
- --eth-socket=/sockets/reth.ipc
|
||||||
|
- --execution-persistence-backpressure
|
||||||
|
- --execution-persistence-backpressure-threshold=200
|
||||||
|
- --execution-socket=/sockets/auth.ipc
|
||||||
|
- --follow
|
||||||
|
- --follow.endpoint=https://rpc.quicknode.testnet.arc.network,wss=rpc.quicknode.testnet.arc.network
|
||||||
|
- --follow.endpoint=https://rpc.blockdaemon.testnet.arc.network,wss=rpc.blockdaemon.testnet.arc.network/websocket
|
||||||
|
- --full
|
||||||
|
- --home=/data/consensus
|
||||||
|
- --metrics=0.0.0.0:29000
|
||||||
|
- --rpc.addr=0.0.0.0:31000
|
||||||
|
restart: unless-stopped
|
||||||
|
stop_grace_period: 5m
|
||||||
|
depends_on:
|
||||||
|
arc-testnet-consensus-init:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
arc-testnet:
|
||||||
|
condition: service_started
|
||||||
|
restart: true
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${ARC_TESTNET_RETH_PRUNED_CONSENSUS_DATA:-arc-testnet-reth-pruned-consensus}:/data/consensus
|
||||||
|
- arc-testnet-reth-pruned-sockets:/sockets
|
||||||
|
logging: *logging-defaults
|
||||||
|
labels:
|
||||||
|
- prometheus-scrape.enabled=true
|
||||||
|
- prometheus-scrape.port=29000
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
arc-testnet-reth-pruned-consensus:
|
||||||
|
arc-testnet-reth-pruned-execution:
|
||||||
|
arc-testnet-reth-pruned-sockets:
|
||||||
|
|
||||||
|
x-ephemeral-volumes:
|
||||||
|
- arc-testnet-reth-pruned-sockets
|
||||||
|
|
||||||
|
x-upstreams:
|
||||||
|
- id: $${ID}
|
||||||
|
labels:
|
||||||
|
provider: $${PROVIDER}
|
||||||
|
connection:
|
||||||
|
generic:
|
||||||
|
rpc:
|
||||||
|
url: $${RPC_URL}
|
||||||
|
chain: arc-testnet
|
||||||
|
method-groups:
|
||||||
|
enabled:
|
||||||
|
- debug
|
||||||
|
- filter
|
||||||
|
- trace
|
||||||
|
methods:
|
||||||
|
enabled:
|
||||||
|
- name: txpool_content
|
||||||
|
...
|
||||||
@@ -2,5 +2,18 @@
|
|||||||
"state-sync-enabled": false,
|
"state-sync-enabled": false,
|
||||||
"pruning-enabled": false,
|
"pruning-enabled": false,
|
||||||
"rpc-gas-cap": 2500000000,
|
"rpc-gas-cap": 2500000000,
|
||||||
"eth-rpc-gas-limit": 2500000000
|
"eth-rpc-gas-limit": 2500000000,
|
||||||
|
"eth-apis": [
|
||||||
|
"eth",
|
||||||
|
"eth-filter",
|
||||||
|
"net",
|
||||||
|
"web3",
|
||||||
|
"internal-eth",
|
||||||
|
"internal-blockchain",
|
||||||
|
"internal-transaction",
|
||||||
|
"debug",
|
||||||
|
"debug-tracer",
|
||||||
|
"debug-file-tracer",
|
||||||
|
"debug-handler"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,19 @@
|
|||||||
{
|
{
|
||||||
"rpc-gas-cap": 2500000000,
|
"rpc-gas-cap": 2500000000,
|
||||||
"eth-rpc-gas-limit": 2500000000
|
"eth-rpc-gas-limit": 2500000000,
|
||||||
}
|
"state-sync-enabled": true,
|
||||||
|
"state-sync-skip-resume": true,
|
||||||
|
"eth-apis": [
|
||||||
|
"eth",
|
||||||
|
"eth-filter",
|
||||||
|
"net",
|
||||||
|
"web3",
|
||||||
|
"internal-eth",
|
||||||
|
"internal-blockchain",
|
||||||
|
"internal-transaction",
|
||||||
|
"debug",
|
||||||
|
"debug-tracer",
|
||||||
|
"debug-file-tracer",
|
||||||
|
"debug-handler"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
avalanche-fuji-archive:
|
avalanche-fuji-archive:
|
||||||
image: ${AVALANCHE_GO_IMAGE:-avaplatform/avalanchego}:${AVALANCHE_FUJI_GO_VERSION:-v1.14.2}
|
image: ${AVALANCHE_GO_IMAGE:-avaplatform/avalanchego}:${AVALANCHE_FUJI_GO_VERSION:-v1.15.0-fuji}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -87,6 +87,7 @@ services:
|
|||||||
- traefik.http.routers.avalanche-fuji-go-archive-leveldb.service=avalanche-fuji-go-archive-leveldb
|
- traefik.http.routers.avalanche-fuji-go-archive-leveldb.service=avalanche-fuji-go-archive-leveldb
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-fuji-go-archive-leveldb-ws.entrypoints=websecure}
|
- ${NO_SSL:-traefik.http.routers.avalanche-fuji-go-archive-leveldb-ws.entrypoints=websecure}
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-fuji-go-archive-leveldb-ws.tls.certresolver=myresolver}
|
- ${NO_SSL:-traefik.http.routers.avalanche-fuji-go-archive-leveldb-ws.tls.certresolver=myresolver}
|
||||||
|
# case-insensitive Upgrade: python websocket-client sends "WebSocket" (capital W)
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-fuji-go-archive-leveldb-ws.rule=Host(`$DOMAIN`) && (Path(`/avalanche-fuji-archive`) || Path(`/avalanche-fuji-archive/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
- ${NO_SSL:-traefik.http.routers.avalanche-fuji-go-archive-leveldb-ws.rule=Host(`$DOMAIN`) && (Path(`/avalanche-fuji-archive`) || Path(`/avalanche-fuji-archive/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
||||||
- ${NO_SSL:+traefik.http.routers.avalanche-fuji-go-archive-leveldb-ws.rule=(Path(`/avalanche-fuji-archive`) || Path(`/avalanche-fuji-archive/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
- ${NO_SSL:+traefik.http.routers.avalanche-fuji-go-archive-leveldb-ws.rule=(Path(`/avalanche-fuji-archive`) || Path(`/avalanche-fuji-archive/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
||||||
- traefik.http.routers.avalanche-fuji-go-archive-leveldb-ws.middlewares=avalanche-fuji-go-archive-leveldb-stripprefix, avalanche-fuji-go-archive-leveldb-set-ws-path, ipallowlist
|
- traefik.http.routers.avalanche-fuji-go-archive-leveldb-ws.middlewares=avalanche-fuji-go-archive-leveldb-stripprefix, avalanche-fuji-go-archive-leveldb-set-ws-path, ipallowlist
|
||||||
@@ -106,7 +107,7 @@ x-upstreams:
|
|||||||
frameSize: 20Mb
|
frameSize: 20Mb
|
||||||
msgSize: 50Mb
|
msgSize: 50Mb
|
||||||
url: $${WS_URL}
|
url: $${WS_URL}
|
||||||
chain: avalanche
|
chain: avalanche-fuji
|
||||||
method-groups:
|
method-groups:
|
||||||
enabled:
|
enabled:
|
||||||
- debug
|
- debug
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
avalanche-fuji:
|
avalanche-fuji:
|
||||||
image: ${AVALANCHE_GO_IMAGE:-avaplatform/avalanchego}:${AVALANCHE_FUJI_GO_VERSION:-v1.14.2}
|
image: ${AVALANCHE_GO_IMAGE:-avaplatform/avalanchego}:${AVALANCHE_FUJI_GO_VERSION:-v1.15.0-fuji}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -87,6 +87,7 @@ services:
|
|||||||
- traefik.http.routers.avalanche-fuji-go-pruned-leveldb.service=avalanche-fuji-go-pruned-leveldb
|
- traefik.http.routers.avalanche-fuji-go-pruned-leveldb.service=avalanche-fuji-go-pruned-leveldb
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-fuji-go-pruned-leveldb-ws.entrypoints=websecure}
|
- ${NO_SSL:-traefik.http.routers.avalanche-fuji-go-pruned-leveldb-ws.entrypoints=websecure}
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-fuji-go-pruned-leveldb-ws.tls.certresolver=myresolver}
|
- ${NO_SSL:-traefik.http.routers.avalanche-fuji-go-pruned-leveldb-ws.tls.certresolver=myresolver}
|
||||||
|
# case-insensitive Upgrade: python websocket-client sends "WebSocket" (capital W)
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-fuji-go-pruned-leveldb-ws.rule=Host(`$DOMAIN`) && (Path(`/avalanche-fuji`) || Path(`/avalanche-fuji/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
- ${NO_SSL:-traefik.http.routers.avalanche-fuji-go-pruned-leveldb-ws.rule=Host(`$DOMAIN`) && (Path(`/avalanche-fuji`) || Path(`/avalanche-fuji/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
||||||
- ${NO_SSL:+traefik.http.routers.avalanche-fuji-go-pruned-leveldb-ws.rule=(Path(`/avalanche-fuji`) || Path(`/avalanche-fuji/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
- ${NO_SSL:+traefik.http.routers.avalanche-fuji-go-pruned-leveldb-ws.rule=(Path(`/avalanche-fuji`) || Path(`/avalanche-fuji/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
||||||
- traefik.http.routers.avalanche-fuji-go-pruned-leveldb-ws.middlewares=avalanche-fuji-go-pruned-leveldb-stripprefix, avalanche-fuji-go-pruned-leveldb-set-ws-path, ipallowlist
|
- traefik.http.routers.avalanche-fuji-go-pruned-leveldb-ws.middlewares=avalanche-fuji-go-pruned-leveldb-stripprefix, avalanche-fuji-go-pruned-leveldb-set-ws-path, ipallowlist
|
||||||
@@ -106,7 +107,7 @@ x-upstreams:
|
|||||||
frameSize: 20Mb
|
frameSize: 20Mb
|
||||||
msgSize: 50Mb
|
msgSize: 50Mb
|
||||||
url: $${WS_URL}
|
url: $${WS_URL}
|
||||||
chain: avalanche
|
chain: avalanche-fuji
|
||||||
method-groups:
|
method-groups:
|
||||||
enabled:
|
enabled:
|
||||||
- debug
|
- debug
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
avalanche-fuji:
|
avalanche-fuji:
|
||||||
image: ${AVALANCHE_GO_IMAGE:-avaplatform/avalanchego}:${AVALANCHE_FUJI_GO_VERSION:-v1.14.2}
|
image: ${AVALANCHE_GO_IMAGE:-avaplatform/avalanchego}:${AVALANCHE_FUJI_GO_VERSION:-v1.15.0-fuji}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -87,6 +87,7 @@ services:
|
|||||||
- traefik.http.routers.avalanche-fuji-go-pruned-leveldb.service=avalanche-fuji-go-pruned-leveldb
|
- traefik.http.routers.avalanche-fuji-go-pruned-leveldb.service=avalanche-fuji-go-pruned-leveldb
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-fuji-go-pruned-leveldb-ws.entrypoints=websecure}
|
- ${NO_SSL:-traefik.http.routers.avalanche-fuji-go-pruned-leveldb-ws.entrypoints=websecure}
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-fuji-go-pruned-leveldb-ws.tls.certresolver=myresolver}
|
- ${NO_SSL:-traefik.http.routers.avalanche-fuji-go-pruned-leveldb-ws.tls.certresolver=myresolver}
|
||||||
|
# case-insensitive Upgrade: python websocket-client sends "WebSocket" (capital W)
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-fuji-go-pruned-leveldb-ws.rule=Host(`$DOMAIN`) && (Path(`/avalanche-fuji`) || Path(`/avalanche-fuji/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
- ${NO_SSL:-traefik.http.routers.avalanche-fuji-go-pruned-leveldb-ws.rule=Host(`$DOMAIN`) && (Path(`/avalanche-fuji`) || Path(`/avalanche-fuji/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
||||||
- ${NO_SSL:+traefik.http.routers.avalanche-fuji-go-pruned-leveldb-ws.rule=(Path(`/avalanche-fuji`) || Path(`/avalanche-fuji/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
- ${NO_SSL:+traefik.http.routers.avalanche-fuji-go-pruned-leveldb-ws.rule=(Path(`/avalanche-fuji`) || Path(`/avalanche-fuji/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
||||||
- traefik.http.routers.avalanche-fuji-go-pruned-leveldb-ws.middlewares=avalanche-fuji-go-pruned-leveldb-stripprefix, avalanche-fuji-go-pruned-leveldb-set-ws-path, ipallowlist
|
- traefik.http.routers.avalanche-fuji-go-pruned-leveldb-ws.middlewares=avalanche-fuji-go-pruned-leveldb-stripprefix, avalanche-fuji-go-pruned-leveldb-set-ws-path, ipallowlist
|
||||||
@@ -106,7 +107,7 @@ x-upstreams:
|
|||||||
frameSize: 20Mb
|
frameSize: 20Mb
|
||||||
msgSize: 50Mb
|
msgSize: 50Mb
|
||||||
url: $${WS_URL}
|
url: $${WS_URL}
|
||||||
chain: avalanche
|
chain: avalanche-fuji
|
||||||
method-groups:
|
method-groups:
|
||||||
enabled:
|
enabled:
|
||||||
- debug
|
- debug
|
||||||
|
|||||||
@@ -1,118 +0,0 @@
|
|||||||
---
|
|
||||||
x-logging-defaults: &logging-defaults
|
|
||||||
driver: json-file
|
|
||||||
options:
|
|
||||||
max-size: "10m"
|
|
||||||
max-file: "3"
|
|
||||||
|
|
||||||
# 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:avalanche/go/avalanche-fuji-go-pruned-pebbledb.yml
|
|
||||||
#
|
|
||||||
# docker compose up -d
|
|
||||||
#
|
|
||||||
# curl -X POST https://${IP}.traefik.me/avalanche-fuji \
|
|
||||||
# -H "Content-Type: application/json" \
|
|
||||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
|
||||||
|
|
||||||
services:
|
|
||||||
avalanche-fuji:
|
|
||||||
image: ${AVALANCHE_GO_IMAGE:-avaplatform/avalanchego}:${AVALANCHE_FUJI_GO_VERSION:-v1.14.2}
|
|
||||||
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:
|
|
||||||
- 10350:10350
|
|
||||||
- 10350:10350/udp
|
|
||||||
expose:
|
|
||||||
- 9650
|
|
||||||
entrypoint: [/bin/sh, -c, mkdir -p /root/.avalanchego/offline-pruning && exec /avalanchego/build/avalanchego "$@", --]
|
|
||||||
command:
|
|
||||||
- --chain-config-dir=/config/prune
|
|
||||||
- --db-type=pebbledb
|
|
||||||
- --http-allowed-hosts=*
|
|
||||||
- --http-host=
|
|
||||||
- --network-id=fuji
|
|
||||||
- --public-ip=${IP}
|
|
||||||
- --staking-port=10350
|
|
||||||
restart: unless-stopped
|
|
||||||
stop_grace_period: 5m
|
|
||||||
networks:
|
|
||||||
- chains
|
|
||||||
volumes:
|
|
||||||
- ${AVALANCHE_FUJI_GO_PRUNED_PEBBLEDB_DATA:-avalanche-fuji-go-pruned-pebbledb}:/root/.avalanchego
|
|
||||||
- ./avalanche/fuji:/config
|
|
||||||
- /slowdisk:/slowdisk
|
|
||||||
logging: *logging-defaults
|
|
||||||
labels:
|
|
||||||
- prometheus-scrape.enabled=false
|
|
||||||
- traefik.enable=true
|
|
||||||
- traefik.http.middlewares.avalanche-fuji-go-pruned-pebbledb-set-path.replacepath.path=/ext/bc/C/rpc
|
|
||||||
- traefik.http.middlewares.avalanche-fuji-go-pruned-pebbledb-stripprefix.stripprefix.prefixes=/avalanche-fuji
|
|
||||||
- traefik.http.services.avalanche-fuji-go-pruned-pebbledb.loadbalancer.server.port=9650
|
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-fuji-go-pruned-pebbledb.entrypoints=websecure}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-fuji-go-pruned-pebbledb.tls.certresolver=myresolver}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-fuji-go-pruned-pebbledb.rule=Host(`$DOMAIN`) && (Path(`/avalanche-fuji`) || Path(`/avalanche-fuji/`))}
|
|
||||||
- ${NO_SSL:+traefik.http.routers.avalanche-fuji-go-pruned-pebbledb.rule=Path(`/avalanche-fuji`) || Path(`/avalanche-fuji/`)}
|
|
||||||
- traefik.http.routers.avalanche-fuji-go-pruned-pebbledb.middlewares=avalanche-fuji-go-pruned-pebbledb-stripprefix, avalanche-fuji-go-pruned-pebbledb-set-path, ipallowlist
|
|
||||||
- traefik.http.routers.avalanche-fuji-go-pruned-pebbledb.priority=50 # gets any request that is not GET with UPGRADE header
|
|
||||||
- traefik.http.routers.avalanche-fuji-go-pruned-pebbledb-ws.priority=100 # answers GET requests first
|
|
||||||
- traefik.http.middlewares.avalanche-fuji-go-pruned-pebbledb-set-ws-path.replacepath.path=/ext/bc/C/ws
|
|
||||||
- traefik.http.services.avalanche-fuji-go-pruned-pebbledb-ws.loadbalancer.server.port=9650
|
|
||||||
- traefik.http.routers.avalanche-fuji-go-pruned-pebbledb-ws.service=avalanche-fuji-go-pruned-pebbledb-ws
|
|
||||||
- traefik.http.routers.avalanche-fuji-go-pruned-pebbledb.service=avalanche-fuji-go-pruned-pebbledb
|
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-fuji-go-pruned-pebbledb-ws.entrypoints=websecure}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-fuji-go-pruned-pebbledb-ws.tls.certresolver=myresolver}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-fuji-go-pruned-pebbledb-ws.rule=Host(`$DOMAIN`) && (Path(`/avalanche-fuji`) || Path(`/avalanche-fuji/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
|
||||||
- ${NO_SSL:+traefik.http.routers.avalanche-fuji-go-pruned-pebbledb-ws.rule=(Path(`/avalanche-fuji`) || Path(`/avalanche-fuji/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
|
||||||
- traefik.http.routers.avalanche-fuji-go-pruned-pebbledb-ws.middlewares=avalanche-fuji-go-pruned-pebbledb-stripprefix, avalanche-fuji-go-pruned-pebbledb-set-ws-path, ipallowlist
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
avalanche-fuji-go-pruned-pebbledb:
|
|
||||||
|
|
||||||
x-upstreams:
|
|
||||||
- id: $${ID}
|
|
||||||
labels:
|
|
||||||
provider: $${PROVIDER}
|
|
||||||
connection:
|
|
||||||
generic:
|
|
||||||
rpc:
|
|
||||||
url: $${RPC_URL}
|
|
||||||
ws:
|
|
||||||
frameSize: 20Mb
|
|
||||||
msgSize: 50Mb
|
|
||||||
url: $${WS_URL}
|
|
||||||
chain: avalanche
|
|
||||||
method-groups:
|
|
||||||
enabled:
|
|
||||||
- debug
|
|
||||||
- filter
|
|
||||||
methods:
|
|
||||||
disabled:
|
|
||||||
enabled:
|
|
||||||
- name: txpool_content # TODO: should be disabled for rollup nodes
|
|
||||||
...
|
|
||||||
@@ -1,118 +0,0 @@
|
|||||||
---
|
|
||||||
x-logging-defaults: &logging-defaults
|
|
||||||
driver: json-file
|
|
||||||
options:
|
|
||||||
max-size: "10m"
|
|
||||||
max-file: "3"
|
|
||||||
|
|
||||||
# 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:avalanche/go/avalanche-fuji-go-pruned-pebbledb.yml
|
|
||||||
#
|
|
||||||
# docker compose up -d
|
|
||||||
#
|
|
||||||
# curl -X POST https://${IP}.traefik.me/avalanche-fuji \
|
|
||||||
# -H "Content-Type: application/json" \
|
|
||||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
|
||||||
|
|
||||||
services:
|
|
||||||
avalanche-fuji:
|
|
||||||
image: ${AVALANCHE_GO_IMAGE:-avaplatform/avalanchego}:${AVALANCHE_FUJI_GO_VERSION:-v1.14.2}
|
|
||||||
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:
|
|
||||||
- 10350:10350
|
|
||||||
- 10350:10350/udp
|
|
||||||
expose:
|
|
||||||
- 9650
|
|
||||||
entrypoint: [/avalanchego/build/avalanchego]
|
|
||||||
command:
|
|
||||||
- --chain-config-dir=/config/pruned
|
|
||||||
- --db-type=pebbledb
|
|
||||||
- --http-allowed-hosts=*
|
|
||||||
- --http-host=
|
|
||||||
- --network-id=fuji
|
|
||||||
- --public-ip=${IP}
|
|
||||||
- --staking-port=10350
|
|
||||||
restart: unless-stopped
|
|
||||||
stop_grace_period: 5m
|
|
||||||
networks:
|
|
||||||
- chains
|
|
||||||
volumes:
|
|
||||||
- ${AVALANCHE_FUJI_GO_PRUNED_PEBBLEDB_DATA:-avalanche-fuji-go-pruned-pebbledb}:/root/.avalanchego
|
|
||||||
- ./avalanche/fuji:/config
|
|
||||||
- /slowdisk:/slowdisk
|
|
||||||
logging: *logging-defaults
|
|
||||||
labels:
|
|
||||||
- prometheus-scrape.enabled=false
|
|
||||||
- traefik.enable=true
|
|
||||||
- traefik.http.middlewares.avalanche-fuji-go-pruned-pebbledb-set-path.replacepath.path=/ext/bc/C/rpc
|
|
||||||
- traefik.http.middlewares.avalanche-fuji-go-pruned-pebbledb-stripprefix.stripprefix.prefixes=/avalanche-fuji
|
|
||||||
- traefik.http.services.avalanche-fuji-go-pruned-pebbledb.loadbalancer.server.port=9650
|
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-fuji-go-pruned-pebbledb.entrypoints=websecure}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-fuji-go-pruned-pebbledb.tls.certresolver=myresolver}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-fuji-go-pruned-pebbledb.rule=Host(`$DOMAIN`) && (Path(`/avalanche-fuji`) || Path(`/avalanche-fuji/`))}
|
|
||||||
- ${NO_SSL:+traefik.http.routers.avalanche-fuji-go-pruned-pebbledb.rule=Path(`/avalanche-fuji`) || Path(`/avalanche-fuji/`)}
|
|
||||||
- traefik.http.routers.avalanche-fuji-go-pruned-pebbledb.middlewares=avalanche-fuji-go-pruned-pebbledb-stripprefix, avalanche-fuji-go-pruned-pebbledb-set-path, ipallowlist
|
|
||||||
- traefik.http.routers.avalanche-fuji-go-pruned-pebbledb.priority=50 # gets any request that is not GET with UPGRADE header
|
|
||||||
- traefik.http.routers.avalanche-fuji-go-pruned-pebbledb-ws.priority=100 # answers GET requests first
|
|
||||||
- traefik.http.middlewares.avalanche-fuji-go-pruned-pebbledb-set-ws-path.replacepath.path=/ext/bc/C/ws
|
|
||||||
- traefik.http.services.avalanche-fuji-go-pruned-pebbledb-ws.loadbalancer.server.port=9650
|
|
||||||
- traefik.http.routers.avalanche-fuji-go-pruned-pebbledb-ws.service=avalanche-fuji-go-pruned-pebbledb-ws
|
|
||||||
- traefik.http.routers.avalanche-fuji-go-pruned-pebbledb.service=avalanche-fuji-go-pruned-pebbledb
|
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-fuji-go-pruned-pebbledb-ws.entrypoints=websecure}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-fuji-go-pruned-pebbledb-ws.tls.certresolver=myresolver}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-fuji-go-pruned-pebbledb-ws.rule=Host(`$DOMAIN`) && (Path(`/avalanche-fuji`) || Path(`/avalanche-fuji/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
|
||||||
- ${NO_SSL:+traefik.http.routers.avalanche-fuji-go-pruned-pebbledb-ws.rule=(Path(`/avalanche-fuji`) || Path(`/avalanche-fuji/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
|
||||||
- traefik.http.routers.avalanche-fuji-go-pruned-pebbledb-ws.middlewares=avalanche-fuji-go-pruned-pebbledb-stripprefix, avalanche-fuji-go-pruned-pebbledb-set-ws-path, ipallowlist
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
avalanche-fuji-go-pruned-pebbledb:
|
|
||||||
|
|
||||||
x-upstreams:
|
|
||||||
- id: $${ID}
|
|
||||||
labels:
|
|
||||||
provider: $${PROVIDER}
|
|
||||||
connection:
|
|
||||||
generic:
|
|
||||||
rpc:
|
|
||||||
url: $${RPC_URL}
|
|
||||||
ws:
|
|
||||||
frameSize: 20Mb
|
|
||||||
msgSize: 50Mb
|
|
||||||
url: $${WS_URL}
|
|
||||||
chain: avalanche
|
|
||||||
method-groups:
|
|
||||||
enabled:
|
|
||||||
- debug
|
|
||||||
- filter
|
|
||||||
methods:
|
|
||||||
disabled:
|
|
||||||
enabled:
|
|
||||||
- name: txpool_content # TODO: should be disabled for rollup nodes
|
|
||||||
...
|
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -87,6 +87,7 @@ services:
|
|||||||
- traefik.http.routers.avalanche-mainnet-go-archive-leveldb.service=avalanche-mainnet-go-archive-leveldb
|
- traefik.http.routers.avalanche-mainnet-go-archive-leveldb.service=avalanche-mainnet-go-archive-leveldb
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-archive-leveldb-ws.entrypoints=websecure}
|
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-archive-leveldb-ws.entrypoints=websecure}
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-archive-leveldb-ws.tls.certresolver=myresolver}
|
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-archive-leveldb-ws.tls.certresolver=myresolver}
|
||||||
|
# case-insensitive Upgrade: python websocket-client sends "WebSocket" (capital W)
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-archive-leveldb-ws.rule=Host(`$DOMAIN`) && (Path(`/avalanche-mainnet-archive`) || Path(`/avalanche-mainnet-archive/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-archive-leveldb-ws.rule=Host(`$DOMAIN`) && (Path(`/avalanche-mainnet-archive`) || Path(`/avalanche-mainnet-archive/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
||||||
- ${NO_SSL:+traefik.http.routers.avalanche-mainnet-go-archive-leveldb-ws.rule=(Path(`/avalanche-mainnet-archive`) || Path(`/avalanche-mainnet-archive/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
- ${NO_SSL:+traefik.http.routers.avalanche-mainnet-go-archive-leveldb-ws.rule=(Path(`/avalanche-mainnet-archive`) || Path(`/avalanche-mainnet-archive/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
||||||
- traefik.http.routers.avalanche-mainnet-go-archive-leveldb-ws.middlewares=avalanche-mainnet-go-archive-leveldb-stripprefix, avalanche-mainnet-go-archive-leveldb-set-ws-path, ipallowlist
|
- traefik.http.routers.avalanche-mainnet-go-archive-leveldb-ws.middlewares=avalanche-mainnet-go-archive-leveldb-stripprefix, avalanche-mainnet-go-archive-leveldb-set-ws-path, ipallowlist
|
||||||
|
|||||||
120
avalanche/go/avalanche-mainnet-go-firewood-firewood.yml
Normal file
120
avalanche/go/avalanche-mainnet-go-firewood-firewood.yml
Normal file
@@ -0,0 +1,120 @@
|
|||||||
|
---
|
||||||
|
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:avalanche/go/avalanche-mainnet-go-firewood-firewood.yml
|
||||||
|
#
|
||||||
|
# docker compose up -d
|
||||||
|
#
|
||||||
|
# curl -X POST https://${IP}.traefik.me/avalanche-mainnet-firewood \
|
||||||
|
# -H "Content-Type: application/json" \
|
||||||
|
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||||
|
|
||||||
|
services:
|
||||||
|
avalanche-mainnet-firewood:
|
||||||
|
image: ${AVALANCHE_GO_IMAGE:-avaplatform/avalanchego}:${AVALANCHE_MAINNET_GO_VERSION:-v1.14.2}
|
||||||
|
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:
|
||||||
|
- 13144:13144
|
||||||
|
- 13144:13144/udp
|
||||||
|
expose:
|
||||||
|
- 9650
|
||||||
|
entrypoint: [/avalanchego/build/avalanchego]
|
||||||
|
command:
|
||||||
|
- --chain-config-dir=/config/firewood
|
||||||
|
- --coreth-state-scheme=firewood
|
||||||
|
- --db-type=firewood
|
||||||
|
- --http-allowed-hosts=*
|
||||||
|
- --http-host=
|
||||||
|
- --network-id=mainnet
|
||||||
|
- --public-ip=${IP}
|
||||||
|
- --staking-port=13144
|
||||||
|
restart: unless-stopped
|
||||||
|
stop_grace_period: 5m
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${AVALANCHE_MAINNET_GO_FIREWOOD_FIREWOOD_DATA:-avalanche-mainnet-go-firewood-firewood}:/root/.avalanchego
|
||||||
|
- ./avalanche/mainnet:/config
|
||||||
|
- /slowdisk:/slowdisk
|
||||||
|
logging: *logging-defaults
|
||||||
|
labels:
|
||||||
|
- prometheus-scrape.enabled=false
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.http.middlewares.avalanche-mainnet-go-firewood-firewood-set-path.replacepath.path=/ext/bc/C/rpc
|
||||||
|
- traefik.http.middlewares.avalanche-mainnet-go-firewood-firewood-stripprefix.stripprefix.prefixes=/avalanche-mainnet-firewood
|
||||||
|
- traefik.http.services.avalanche-mainnet-go-firewood-firewood.loadbalancer.server.port=9650
|
||||||
|
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-firewood-firewood.entrypoints=websecure}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-firewood-firewood.tls.certresolver=myresolver}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-firewood-firewood.rule=Host(`$DOMAIN`) && (Path(`/avalanche-mainnet-firewood`) || Path(`/avalanche-mainnet-firewood/`))}
|
||||||
|
- ${NO_SSL:+traefik.http.routers.avalanche-mainnet-go-firewood-firewood.rule=Path(`/avalanche-mainnet-firewood`) || Path(`/avalanche-mainnet-firewood/`)}
|
||||||
|
- traefik.http.routers.avalanche-mainnet-go-firewood-firewood.middlewares=avalanche-mainnet-go-firewood-firewood-stripprefix, avalanche-mainnet-go-firewood-firewood-set-path, ipallowlist
|
||||||
|
- traefik.http.routers.avalanche-mainnet-go-firewood-firewood.priority=50 # gets any request that is not GET with UPGRADE header
|
||||||
|
- traefik.http.routers.avalanche-mainnet-go-firewood-firewood-ws.priority=100 # answers GET requests first
|
||||||
|
- traefik.http.middlewares.avalanche-mainnet-go-firewood-firewood-set-ws-path.replacepath.path=/ext/bc/C/ws
|
||||||
|
- traefik.http.services.avalanche-mainnet-go-firewood-firewood-ws.loadbalancer.server.port=9650
|
||||||
|
- traefik.http.routers.avalanche-mainnet-go-firewood-firewood-ws.service=avalanche-mainnet-go-firewood-firewood-ws
|
||||||
|
- traefik.http.routers.avalanche-mainnet-go-firewood-firewood.service=avalanche-mainnet-go-firewood-firewood
|
||||||
|
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-firewood-firewood-ws.entrypoints=websecure}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-firewood-firewood-ws.tls.certresolver=myresolver}
|
||||||
|
# case-insensitive Upgrade: python websocket-client sends "WebSocket" (capital W)
|
||||||
|
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-firewood-firewood-ws.rule=Host(`$DOMAIN`) && (Path(`/avalanche-mainnet-firewood`) || Path(`/avalanche-mainnet-firewood/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
||||||
|
- ${NO_SSL:+traefik.http.routers.avalanche-mainnet-go-firewood-firewood-ws.rule=(Path(`/avalanche-mainnet-firewood`) || Path(`/avalanche-mainnet-firewood/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
||||||
|
- traefik.http.routers.avalanche-mainnet-go-firewood-firewood-ws.middlewares=avalanche-mainnet-go-firewood-firewood-stripprefix, avalanche-mainnet-go-firewood-firewood-set-ws-path, ipallowlist
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
avalanche-mainnet-go-firewood-firewood:
|
||||||
|
|
||||||
|
x-upstreams:
|
||||||
|
- id: $${ID}
|
||||||
|
labels:
|
||||||
|
provider: $${PROVIDER}
|
||||||
|
connection:
|
||||||
|
generic:
|
||||||
|
rpc:
|
||||||
|
url: $${RPC_URL}
|
||||||
|
ws:
|
||||||
|
frameSize: 20Mb
|
||||||
|
msgSize: 50Mb
|
||||||
|
url: $${WS_URL}
|
||||||
|
chain: avalanche
|
||||||
|
method-groups:
|
||||||
|
enabled:
|
||||||
|
- debug
|
||||||
|
- filter
|
||||||
|
methods:
|
||||||
|
disabled:
|
||||||
|
enabled:
|
||||||
|
- name: txpool_content # TODO: should be disabled for rollup nodes
|
||||||
|
...
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -87,6 +87,7 @@ services:
|
|||||||
- traefik.http.routers.avalanche-mainnet-go-pruned-leveldb.service=avalanche-mainnet-go-pruned-leveldb
|
- traefik.http.routers.avalanche-mainnet-go-pruned-leveldb.service=avalanche-mainnet-go-pruned-leveldb
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-pruned-leveldb-ws.entrypoints=websecure}
|
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-pruned-leveldb-ws.entrypoints=websecure}
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-pruned-leveldb-ws.tls.certresolver=myresolver}
|
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-pruned-leveldb-ws.tls.certresolver=myresolver}
|
||||||
|
# case-insensitive Upgrade: python websocket-client sends "WebSocket" (capital W)
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-pruned-leveldb-ws.rule=Host(`$DOMAIN`) && (Path(`/avalanche-mainnet`) || Path(`/avalanche-mainnet/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-pruned-leveldb-ws.rule=Host(`$DOMAIN`) && (Path(`/avalanche-mainnet`) || Path(`/avalanche-mainnet/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
||||||
- ${NO_SSL:+traefik.http.routers.avalanche-mainnet-go-pruned-leveldb-ws.rule=(Path(`/avalanche-mainnet`) || Path(`/avalanche-mainnet/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
- ${NO_SSL:+traefik.http.routers.avalanche-mainnet-go-pruned-leveldb-ws.rule=(Path(`/avalanche-mainnet`) || Path(`/avalanche-mainnet/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
||||||
- traefik.http.routers.avalanche-mainnet-go-pruned-leveldb-ws.middlewares=avalanche-mainnet-go-pruned-leveldb-stripprefix, avalanche-mainnet-go-pruned-leveldb-set-ws-path, ipallowlist
|
- traefik.http.routers.avalanche-mainnet-go-pruned-leveldb-ws.middlewares=avalanche-mainnet-go-pruned-leveldb-stripprefix, avalanche-mainnet-go-pruned-leveldb-set-ws-path, ipallowlist
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -87,6 +87,7 @@ services:
|
|||||||
- traefik.http.routers.avalanche-mainnet-go-pruned-leveldb.service=avalanche-mainnet-go-pruned-leveldb
|
- traefik.http.routers.avalanche-mainnet-go-pruned-leveldb.service=avalanche-mainnet-go-pruned-leveldb
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-pruned-leveldb-ws.entrypoints=websecure}
|
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-pruned-leveldb-ws.entrypoints=websecure}
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-pruned-leveldb-ws.tls.certresolver=myresolver}
|
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-pruned-leveldb-ws.tls.certresolver=myresolver}
|
||||||
|
# case-insensitive Upgrade: python websocket-client sends "WebSocket" (capital W)
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-pruned-leveldb-ws.rule=Host(`$DOMAIN`) && (Path(`/avalanche-mainnet`) || Path(`/avalanche-mainnet/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-pruned-leveldb-ws.rule=Host(`$DOMAIN`) && (Path(`/avalanche-mainnet`) || Path(`/avalanche-mainnet/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
||||||
- ${NO_SSL:+traefik.http.routers.avalanche-mainnet-go-pruned-leveldb-ws.rule=(Path(`/avalanche-mainnet`) || Path(`/avalanche-mainnet/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
- ${NO_SSL:+traefik.http.routers.avalanche-mainnet-go-pruned-leveldb-ws.rule=(Path(`/avalanche-mainnet`) || Path(`/avalanche-mainnet/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
||||||
- traefik.http.routers.avalanche-mainnet-go-pruned-leveldb-ws.middlewares=avalanche-mainnet-go-pruned-leveldb-stripprefix, avalanche-mainnet-go-pruned-leveldb-set-ws-path, ipallowlist
|
- traefik.http.routers.avalanche-mainnet-go-pruned-leveldb-ws.middlewares=avalanche-mainnet-go-pruned-leveldb-stripprefix, avalanche-mainnet-go-pruned-leveldb-set-ws-path, ipallowlist
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -87,6 +87,7 @@ services:
|
|||||||
- traefik.http.routers.avalanche-mainnet-go-pruned-pebbledb.service=avalanche-mainnet-go-pruned-pebbledb
|
- traefik.http.routers.avalanche-mainnet-go-pruned-pebbledb.service=avalanche-mainnet-go-pruned-pebbledb
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-pruned-pebbledb-ws.entrypoints=websecure}
|
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-pruned-pebbledb-ws.entrypoints=websecure}
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-pruned-pebbledb-ws.tls.certresolver=myresolver}
|
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-pruned-pebbledb-ws.tls.certresolver=myresolver}
|
||||||
|
# case-insensitive Upgrade: python websocket-client sends "WebSocket" (capital W)
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-pruned-pebbledb-ws.rule=Host(`$DOMAIN`) && (Path(`/avalanche-mainnet`) || Path(`/avalanche-mainnet/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-pruned-pebbledb-ws.rule=Host(`$DOMAIN`) && (Path(`/avalanche-mainnet`) || Path(`/avalanche-mainnet/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
||||||
- ${NO_SSL:+traefik.http.routers.avalanche-mainnet-go-pruned-pebbledb-ws.rule=(Path(`/avalanche-mainnet`) || Path(`/avalanche-mainnet/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
- ${NO_SSL:+traefik.http.routers.avalanche-mainnet-go-pruned-pebbledb-ws.rule=(Path(`/avalanche-mainnet`) || Path(`/avalanche-mainnet/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
||||||
- traefik.http.routers.avalanche-mainnet-go-pruned-pebbledb-ws.middlewares=avalanche-mainnet-go-pruned-pebbledb-stripprefix, avalanche-mainnet-go-pruned-pebbledb-set-ws-path, ipallowlist
|
- traefik.http.routers.avalanche-mainnet-go-pruned-pebbledb-ws.middlewares=avalanche-mainnet-go-pruned-pebbledb-stripprefix, avalanche-mainnet-go-pruned-pebbledb-set-ws-path, ipallowlist
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -87,6 +87,7 @@ services:
|
|||||||
- traefik.http.routers.avalanche-mainnet-go-pruned-pebbledb.service=avalanche-mainnet-go-pruned-pebbledb
|
- traefik.http.routers.avalanche-mainnet-go-pruned-pebbledb.service=avalanche-mainnet-go-pruned-pebbledb
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-pruned-pebbledb-ws.entrypoints=websecure}
|
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-pruned-pebbledb-ws.entrypoints=websecure}
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-pruned-pebbledb-ws.tls.certresolver=myresolver}
|
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-pruned-pebbledb-ws.tls.certresolver=myresolver}
|
||||||
|
# case-insensitive Upgrade: python websocket-client sends "WebSocket" (capital W)
|
||||||
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-pruned-pebbledb-ws.rule=Host(`$DOMAIN`) && (Path(`/avalanche-mainnet`) || Path(`/avalanche-mainnet/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
- ${NO_SSL:-traefik.http.routers.avalanche-mainnet-go-pruned-pebbledb-ws.rule=Host(`$DOMAIN`) && (Path(`/avalanche-mainnet`) || Path(`/avalanche-mainnet/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
||||||
- ${NO_SSL:+traefik.http.routers.avalanche-mainnet-go-pruned-pebbledb-ws.rule=(Path(`/avalanche-mainnet`) || Path(`/avalanche-mainnet/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
- ${NO_SSL:+traefik.http.routers.avalanche-mainnet-go-pruned-pebbledb-ws.rule=(Path(`/avalanche-mainnet`) || Path(`/avalanche-mainnet/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
||||||
- traefik.http.routers.avalanche-mainnet-go-pruned-pebbledb-ws.middlewares=avalanche-mainnet-go-pruned-pebbledb-stripprefix, avalanche-mainnet-go-pruned-pebbledb-set-ws-path, ipallowlist
|
- traefik.http.routers.avalanche-mainnet-go-pruned-pebbledb-ws.middlewares=avalanche-mainnet-go-pruned-pebbledb-stripprefix, avalanche-mainnet-go-pruned-pebbledb-set-ws-path, ipallowlist
|
||||||
|
|||||||
@@ -1,4 +1,17 @@
|
|||||||
{
|
{
|
||||||
"state-sync-enabled": false,
|
"state-sync-enabled": false,
|
||||||
"pruning-enabled": false
|
"pruning-enabled": false,
|
||||||
|
"eth-apis": [
|
||||||
|
"eth",
|
||||||
|
"eth-filter",
|
||||||
|
"net",
|
||||||
|
"web3",
|
||||||
|
"internal-eth",
|
||||||
|
"internal-blockchain",
|
||||||
|
"internal-transaction",
|
||||||
|
"debug",
|
||||||
|
"debug-tracer",
|
||||||
|
"debug-file-tracer",
|
||||||
|
"debug-handler"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
29
avalanche/mainnet/firewood/C/config.json
Normal file
29
avalanche/mainnet/firewood/C/config.json
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
"rpc-gas-cap": 2500000000,
|
||||||
|
"rpc-tx-fee-cap": 100,
|
||||||
|
"eth-rpc-gas-limit": 2500000000,
|
||||||
|
"local-txs-enabled": false,
|
||||||
|
"pruning-enabled": false,
|
||||||
|
"api-max-duration": 0,
|
||||||
|
"api-max-blocks-per-request": 0,
|
||||||
|
"allow-unfinalized-queries": false,
|
||||||
|
"log-level": "info",
|
||||||
|
"state-sync-enabled": true,
|
||||||
|
"state-sync-skip-resume": true,
|
||||||
|
"state-scheme": "firewood",
|
||||||
|
"populate-missing-tries": null,
|
||||||
|
"snapshot-cache": 0,
|
||||||
|
"eth-apis": [
|
||||||
|
"eth",
|
||||||
|
"eth-filter",
|
||||||
|
"net",
|
||||||
|
"web3",
|
||||||
|
"internal-eth",
|
||||||
|
"internal-blockchain",
|
||||||
|
"internal-transaction",
|
||||||
|
"debug",
|
||||||
|
"debug-tracer",
|
||||||
|
"debug-file-tracer",
|
||||||
|
"debug-handler"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,23 +1,6 @@
|
|||||||
{
|
{
|
||||||
"snowman-api-enabled": false,
|
|
||||||
"coreth-admin-api-enabled": false,
|
|
||||||
"net-api-enabled": true,
|
|
||||||
"rpc-gas-cap": 2500000000,
|
"rpc-gas-cap": 2500000000,
|
||||||
"rpc-tx-fee-cap": 100,
|
|
||||||
"eth-rpc-gas-limit": 2500000000,
|
"eth-rpc-gas-limit": 2500000000,
|
||||||
"eth-api-enabled": true,
|
|
||||||
"personal-api-enabled": false,
|
|
||||||
"tx-pool-api-enabled": false,
|
|
||||||
"debug-api-enabled": false,
|
|
||||||
"web3-api-enabled": true,
|
|
||||||
"local-txs-enabled": false,
|
|
||||||
"pruning-enabled": true,
|
|
||||||
"api-max-duration": 0,
|
|
||||||
"api-max-blocks-per-request": 0,
|
|
||||||
"allow-unfinalized-queries": false,
|
|
||||||
"log-level": "info",
|
|
||||||
"state-sync-enabled": false,
|
|
||||||
"state-sync-skip-resume": true,
|
|
||||||
"offline-pruning-enabled": true,
|
"offline-pruning-enabled": true,
|
||||||
"offline-pruning-data-directory": "/root/.avalanchego/offline-pruning"
|
"offline-pruning-data-directory": "/root/.avalanchego/offline-pruning"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,21 +1,26 @@
|
|||||||
{
|
{
|
||||||
"snowman-api-enabled": false,
|
|
||||||
"coreth-admin-api-enabled": false,
|
|
||||||
"net-api-enabled": true,
|
|
||||||
"rpc-gas-cap": 2500000000,
|
"rpc-gas-cap": 2500000000,
|
||||||
"rpc-tx-fee-cap": 100,
|
"rpc-tx-fee-cap": 100,
|
||||||
"eth-rpc-gas-limit": 2500000000,
|
"eth-rpc-gas-limit": 2500000000,
|
||||||
"eth-api-enabled": true,
|
|
||||||
"personal-api-enabled": false,
|
|
||||||
"tx-pool-api-enabled": false,
|
|
||||||
"debug-api-enabled": false,
|
|
||||||
"web3-api-enabled": true,
|
|
||||||
"local-txs-enabled": false,
|
"local-txs-enabled": false,
|
||||||
"pruning-enabled": true,
|
"pruning-enabled": true,
|
||||||
"api-max-duration": 0,
|
"api-max-duration": 0,
|
||||||
"api-max-blocks-per-request": 0,
|
"api-max-blocks-per-request": 0,
|
||||||
"allow-unfinalized-queries": false,
|
"allow-unfinalized-queries": false,
|
||||||
"log-level": "info",
|
"log-level": "info",
|
||||||
"state-sync-enabled": false,
|
"state-sync-enabled": true,
|
||||||
"state-sync-skip-resume": true
|
"state-sync-skip-resume": true,
|
||||||
}
|
"eth-apis": [
|
||||||
|
"eth",
|
||||||
|
"eth-filter",
|
||||||
|
"net",
|
||||||
|
"web3",
|
||||||
|
"internal-eth",
|
||||||
|
"internal-blockchain",
|
||||||
|
"internal-transaction",
|
||||||
|
"debug",
|
||||||
|
"debug-tracer",
|
||||||
|
"debug-file-tracer",
|
||||||
|
"debug-handler"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|||||||
112
aztec/aztec/aztec-mainnet-aztec-pruned.yml
Normal file
112
aztec/aztec/aztec-mainnet-aztec-pruned.yml
Normal file
@@ -0,0 +1,112 @@
|
|||||||
|
---
|
||||||
|
x-logging-defaults: &logging-defaults
|
||||||
|
driver: json-file
|
||||||
|
options:
|
||||||
|
max-size: "512m"
|
||||||
|
max-file: "2"
|
||||||
|
# Aztec full node. See https://docs.aztec.network/network/setup/running_a_node
|
||||||
|
# Admin port (8880) is not exposed; use docker exec for admin API.
|
||||||
|
|
||||||
|
# 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:aztec/aztec/aztec-mainnet-aztec-pruned.yml
|
||||||
|
#
|
||||||
|
# docker compose up -d
|
||||||
|
#
|
||||||
|
# curl -X POST https://${IP}.traefik.me/aztec-mainnet-pruned \
|
||||||
|
# -H "Content-Type: application/json" \
|
||||||
|
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||||
|
|
||||||
|
services:
|
||||||
|
aztec-mainnet-pruned:
|
||||||
|
image: ${AZTEC_AZTEC_IMAGE:-aztecprotocol/aztec}:${AZTEC_MAINNET_AZTEC_VERSION:-5.0.1}
|
||||||
|
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:
|
||||||
|
- 13840:13840
|
||||||
|
- 13840:13840/udp
|
||||||
|
expose:
|
||||||
|
- 8545
|
||||||
|
environment:
|
||||||
|
AZTEC_ADMIN_PORT: '8880'
|
||||||
|
AZTEC_PORT: '8545'
|
||||||
|
DATA_DIRECTORY: /var/lib/data
|
||||||
|
ETHEREUM_DEBUG_HOSTS: ${ETHEREUM_MAINNET_DEBUG_HOSTS:-${ETHEREUM_MAINNET_EXECUTION_RPC}}
|
||||||
|
ETHEREUM_HOSTS: ${ETHEREUM_MAINNET_EXECUTION_RPC}
|
||||||
|
L1_CONSENSUS_HOST_URLS: ${ETHEREUM_MAINNET_BEACON_REST}
|
||||||
|
LOG_LEVEL: ${AZTEC_LOG_LEVEL:-info}
|
||||||
|
P2P_IP: ${IP}
|
||||||
|
P2P_PORT: '13840'
|
||||||
|
entrypoint: [node, --no-warnings, /usr/src/yarn-project/aztec/dest/bin/index.js, start]
|
||||||
|
command:
|
||||||
|
- --node
|
||||||
|
- --network=mainnet
|
||||||
|
restart: unless-stopped
|
||||||
|
stop_grace_period: 5m
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${AZTEC_MAINNET_AZTEC_PRUNED_DATA:-aztec-mainnet-aztec-pruned}:/var/lib/data
|
||||||
|
- /slowdisk:/slowdisk
|
||||||
|
logging: *logging-defaults
|
||||||
|
labels:
|
||||||
|
- prometheus-scrape.enabled=false
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.http.middlewares.aztec-mainnet-aztec-pruned-stripprefix.stripprefix.prefixes=/aztec-mainnet-pruned
|
||||||
|
- traefik.http.services.aztec-mainnet-aztec-pruned.loadbalancer.server.port=8545
|
||||||
|
- ${NO_SSL:-traefik.http.routers.aztec-mainnet-aztec-pruned.entrypoints=websecure}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.aztec-mainnet-aztec-pruned.tls.certresolver=myresolver}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.aztec-mainnet-aztec-pruned.rule=Host(`$DOMAIN`) && (Path(`/aztec-mainnet-pruned`) || Path(`/aztec-mainnet-pruned/`))}
|
||||||
|
- ${NO_SSL:+traefik.http.routers.aztec-mainnet-aztec-pruned.rule=Path(`/aztec-mainnet-pruned`) || Path(`/aztec-mainnet-pruned/`)}
|
||||||
|
- traefik.http.routers.aztec-mainnet-aztec-pruned.middlewares=aztec-mainnet-aztec-pruned-stripprefix, ipallowlist
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
aztec-mainnet-aztec-pruned:
|
||||||
|
|
||||||
|
x-upstreams:
|
||||||
|
- id: $${ID}
|
||||||
|
labels:
|
||||||
|
provider: $${PROVIDER}
|
||||||
|
connection:
|
||||||
|
generic:
|
||||||
|
rpc:
|
||||||
|
url: $${RPC_URL}
|
||||||
|
ws:
|
||||||
|
frameSize: 20Mb
|
||||||
|
msgSize: 50Mb
|
||||||
|
url: $${WS_URL}
|
||||||
|
chain: aztec-mainnet
|
||||||
|
method-groups:
|
||||||
|
enabled:
|
||||||
|
- debug
|
||||||
|
- filter
|
||||||
|
methods:
|
||||||
|
disabled:
|
||||||
|
enabled:
|
||||||
|
- name: txpool_content # TODO: should be disabled for rollup nodes
|
||||||
|
...
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
x-logging-defaults: &logging-defaults
|
x-logging-defaults: &logging-defaults
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "512m"
|
||||||
max-file: "3"
|
max-file: "2"
|
||||||
# Aztec full node. See https://docs.aztec.network/network/setup/running_a_node
|
# Aztec full node. See https://docs.aztec.network/network/setup/running_a_node
|
||||||
# Admin port (8880) is not exposed; use docker exec for admin API.
|
# Admin port (8880) is not exposed; use docker exec for admin API.
|
||||||
|
|
||||||
@@ -32,7 +32,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
aztec-testnet-pruned:
|
aztec-testnet-pruned:
|
||||||
image: ${AZTEC_AZTEC_IMAGE:-aztecprotocol/aztec}:${AZTEC_TESTNET_AZTEC_VERSION:-5.0.0-rc.1}
|
image: ${AZTEC_AZTEC_IMAGE:-aztecprotocol/aztec}:${AZTEC_TESTNET_AZTEC_VERSION:-5.0.1}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
@@ -56,6 +56,7 @@ services:
|
|||||||
AZTEC_ADMIN_PORT: '8880'
|
AZTEC_ADMIN_PORT: '8880'
|
||||||
AZTEC_PORT: '8545'
|
AZTEC_PORT: '8545'
|
||||||
DATA_DIRECTORY: /var/lib/data
|
DATA_DIRECTORY: /var/lib/data
|
||||||
|
ETHEREUM_DEBUG_HOSTS: ${ETHEREUM_SEPOLIA_DEBUG_HOSTS:-${ETHEREUM_SEPOLIA_EXECUTION_RPC}}
|
||||||
ETHEREUM_HOSTS: ${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
ETHEREUM_HOSTS: ${ETHEREUM_SEPOLIA_EXECUTION_RPC}
|
||||||
L1_CONSENSUS_HOST_URLS: ${ETHEREUM_SEPOLIA_BEACON_REST}
|
L1_CONSENSUS_HOST_URLS: ${ETHEREUM_SEPOLIA_BEACON_REST}
|
||||||
LOG_LEVEL: ${AZTEC_LOG_LEVEL:-info}
|
LOG_LEVEL: ${AZTEC_LOG_LEVEL:-info}
|
||||||
|
|||||||
128
babylon/babylond/babylon-mainnet-babylond-pruned.yml
Normal file
128
babylon/babylond/babylon-mainnet-babylond-pruned.yml
Normal file
@@ -0,0 +1,128 @@
|
|||||||
|
---
|
||||||
|
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:babylon/babylond/babylon-mainnet-babylond-pruned.yml
|
||||||
|
#
|
||||||
|
# docker compose up -d
|
||||||
|
#
|
||||||
|
# curl -X POST https://${IP}.traefik.me/babylon-mainnet-pruned \
|
||||||
|
# -H "Content-Type: application/json" \
|
||||||
|
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||||
|
|
||||||
|
services:
|
||||||
|
babylon-mainnet-pruned:
|
||||||
|
build:
|
||||||
|
context: ./babylon
|
||||||
|
dockerfile: cometbft.Dockerfile
|
||||||
|
args:
|
||||||
|
CL_IMAGE: ${BABYLON_BABYLOND_IMAGE:-babylonlabs/babylond}
|
||||||
|
CL_VERSION: ${BABYLON_MAINNET_BABYLOND_VERSION:-v4.4.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)
|
||||||
|
user: root
|
||||||
|
ports:
|
||||||
|
- 10871:10871
|
||||||
|
- 10871:10871/udp
|
||||||
|
expose:
|
||||||
|
- 26657
|
||||||
|
- 26660
|
||||||
|
- 9090
|
||||||
|
- 1317
|
||||||
|
environment:
|
||||||
|
- CHAIN_ID=bbn-1
|
||||||
|
- GENESIS_URL=https://raw.githubusercontent.com/babylonlabs-io/networks/main/bbn-1/network-artifacts/genesis.json
|
||||||
|
- IP=${IP}
|
||||||
|
- MIN_GAS=0.002ubbn
|
||||||
|
- MONIKER=d${DOMAIN:-local}
|
||||||
|
- P2P_PORT=10871
|
||||||
|
- SEEDS=42fad8afbf7dfca51020c3c6e1a487ce17c4c218@babylon-seed-1.nodes.guru:55706,ade4d8bc8cbe014af6ebdf3cb7b1e9ad36f412c0@seeds.polkachu.com:20656
|
||||||
|
- STATESYNC_RPC=https://babylon-rpc.polkachu.com:443
|
||||||
|
- WASM_SNAPSHOT_URL=https://snapshots.polkachu.com/wasm/babylon/babylon_wasmonly.tar.lz4
|
||||||
|
restart: unless-stopped
|
||||||
|
stop_grace_period: 5m
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${BABYLON_MAINNET_BABYLOND_PRUNED_DATA:-babylon-mainnet-babylond-pruned}:/root/.babylond
|
||||||
|
- /slowdisk:/slowdisk
|
||||||
|
logging: *logging-defaults
|
||||||
|
labels:
|
||||||
|
- prometheus-scrape.enabled=true
|
||||||
|
- prometheus-scrape.port=26660
|
||||||
|
- prometheus-scrape.path=/metrics
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.http.middlewares.babylon-mainnet-babylond-pruned-stripprefix.stripprefix.prefixes=/babylon-mainnet-pruned
|
||||||
|
- traefik.http.services.babylon-mainnet-babylond-pruned.loadbalancer.server.port=26657
|
||||||
|
- ${NO_SSL:-traefik.http.routers.babylon-mainnet-babylond-pruned.entrypoints=websecure}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.babylon-mainnet-babylond-pruned.tls.certresolver=myresolver}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.babylon-mainnet-babylond-pruned.rule=Host(`$DOMAIN`) && (Path(`/babylon-mainnet-pruned`) || Path(`/babylon-mainnet-pruned/`))}
|
||||||
|
- ${NO_SSL:+traefik.http.routers.babylon-mainnet-babylond-pruned.rule=Path(`/babylon-mainnet-pruned`) || Path(`/babylon-mainnet-pruned/`)}
|
||||||
|
- traefik.http.routers.babylon-mainnet-babylond-pruned.middlewares=babylon-mainnet-babylond-pruned-stripprefix, ipallowlist
|
||||||
|
- traefik.http.routers.babylon-mainnet-babylond-pruned.priority=50 # gets any request that is not GET with UPGRADE header
|
||||||
|
- traefik.http.routers.babylon-mainnet-babylond-pruned-ws.priority=100 # answers GET requests first
|
||||||
|
- traefik.http.middlewares.babylon-mainnet-babylond-pruned-set-ws-path.replacepath.path=/websocket
|
||||||
|
- traefik.http.services.babylon-mainnet-babylond-pruned-ws.loadbalancer.server.port=26657
|
||||||
|
- traefik.http.routers.babylon-mainnet-babylond-pruned-ws.service=babylon-mainnet-babylond-pruned-ws
|
||||||
|
- traefik.http.routers.babylon-mainnet-babylond-pruned.service=babylon-mainnet-babylond-pruned
|
||||||
|
- ${NO_SSL:-traefik.http.routers.babylon-mainnet-babylond-pruned-ws.entrypoints=websecure}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.babylon-mainnet-babylond-pruned-ws.tls.certresolver=myresolver}
|
||||||
|
# case-insensitive Upgrade: python websocket-client sends "WebSocket" (capital W)
|
||||||
|
- ${NO_SSL:-traefik.http.routers.babylon-mainnet-babylond-pruned-ws.rule=Host(`$DOMAIN`) && (Path(`/babylon-mainnet-pruned`) || Path(`/babylon-mainnet-pruned/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
||||||
|
- ${NO_SSL:+traefik.http.routers.babylon-mainnet-babylond-pruned-ws.rule=(Path(`/babylon-mainnet-pruned`) || Path(`/babylon-mainnet-pruned/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
||||||
|
- traefik.http.routers.babylon-mainnet-babylond-pruned-ws.middlewares=babylon-mainnet-babylond-pruned-stripprefix, babylon-mainnet-babylond-pruned-set-ws-path, ipallowlist
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
babylon-mainnet-babylond-pruned:
|
||||||
|
|
||||||
|
x-upstreams:
|
||||||
|
- id: $${ID}
|
||||||
|
labels:
|
||||||
|
provider: $${PROVIDER}
|
||||||
|
connection:
|
||||||
|
generic:
|
||||||
|
rpc:
|
||||||
|
url: $${RPC_URL}
|
||||||
|
ws:
|
||||||
|
frameSize: 20Mb
|
||||||
|
msgSize: 50Mb
|
||||||
|
url: $${WS_URL}
|
||||||
|
chain: babylon
|
||||||
|
method-groups:
|
||||||
|
enabled:
|
||||||
|
- debug
|
||||||
|
- filter
|
||||||
|
methods:
|
||||||
|
disabled:
|
||||||
|
enabled:
|
||||||
|
- name: txpool_content # TODO: should be disabled for rollup nodes
|
||||||
|
...
|
||||||
11
babylon/cometbft.Dockerfile
Normal file
11
babylon/cometbft.Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
ARG CL_IMAGE
|
||||||
|
ARG CL_VERSION
|
||||||
|
FROM ${CL_IMAGE}:${CL_VERSION}
|
||||||
|
# Layer the shared CometBFT bootstrap lib + the chain init.sh onto the upstream
|
||||||
|
# babylond binary image (alpine-based, has sh+apk; runs nonroot by default — the compose
|
||||||
|
# sets user: root so init.sh can apk-add curl and write the /root home).
|
||||||
|
USER root
|
||||||
|
COPY ./scripts/cometbft-common.sh /usr/local/bin/cometbft-common.sh
|
||||||
|
COPY ./scripts/init.sh /usr/local/bin/init.sh
|
||||||
|
RUN chmod +x /usr/local/bin/init.sh /usr/local/bin/cometbft-common.sh
|
||||||
|
ENTRYPOINT ["init.sh"]
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user