Compare commits
1 Commits
865f80c56d
...
issue-502
| Author | SHA1 | Date | |
|---|---|---|---|
| 89ab8bd3ac |
@@ -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.11.0-a618155}
|
image: ${ALEPHZERO_NITRO_IMAGE:-offchainlabs/nitro-node}:${ALEPHZERO_MAINNET_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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.da.anytrust.enable=true
|
- --node.data-availability.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.enable=true
|
- --node.data-availability.rest-aggregator.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.urls=https://das.alephzero.raas.gelato.cloud
|
- --node.data-availability.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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${ALEPHZERO_NITRO_IMAGE:-offchainlabs/nitro-node}:${ALEPHZERO_MAINNET_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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.da.anytrust.enable=true
|
- --node.data-availability.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.enable=true
|
- --node.data-availability.rest-aggregator.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.urls=https://das.alephzero.raas.gelato.cloud
|
- --node.data-availability.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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${ALEPHZERO_NITRO_IMAGE:-offchainlabs/nitro-node}:${ALEPHZERO_SEPOLIA_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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.da.anytrust.enable=true
|
- --node.data-availability.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.enable=true
|
- --node.data-availability.rest-aggregator.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.urls=https://das.alephzero-testnet.gelato.digital
|
- --node.data-availability.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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${ALEPHZERO_NITRO_IMAGE:-offchainlabs/nitro-node}:${ALEPHZERO_SEPOLIA_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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.da.anytrust.enable=true
|
- --node.data-availability.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.enable=true
|
- --node.data-availability.rest-aggregator.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.urls=https://das.alephzero-testnet.gelato.digital
|
- --node.data-availability.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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_NOVA_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_NOVA_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_NOVA_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_NOVA_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_NOVA_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_NOVA_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_ONE_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_ONE_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_ONE_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_ONE_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_ONE_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_ONE_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_ONE_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_SEPOLIA_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_SEPOLIA_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_SEPOLIA_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_SEPOLIA_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${ARBITRUM_NITRO_IMAGE:-offchainlabs/nitro-node}:${ARBITRUM_SEPOLIA_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${CONNEXT_NITRO_IMAGE:-offchainlabs/nitro-node}:${CONNEXT_SEPOLIA_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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.da.anytrust.enable=true
|
- --node.data-availability.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.enable=true
|
- --node.data-availability.rest-aggregator.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.urls=https://das.connext-sepolia.gelato.digital
|
- --node.data-availability.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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${CONNEXT_NITRO_IMAGE:-offchainlabs/nitro-node}:${CONNEXT_SEPOLIA_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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.da.anytrust.enable=true
|
- --node.data-availability.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.enable=true
|
- --node.data-availability.rest-aggregator.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.urls=https://das.connext-sepolia.gelato.digital
|
- --node.data-availability.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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${EVERCLEAR_NITRO_IMAGE:-offchainlabs/nitro-node}:${EVERCLEAR_MAINNET_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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.da.anytrust.enable=true
|
- --node.data-availability.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.enable=true
|
- --node.data-availability.rest-aggregator.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.urls=https://das.everclear.raas.gelato.cloud
|
- --node.data-availability.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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${EVERCLEAR_NITRO_IMAGE:-offchainlabs/nitro-node}:${EVERCLEAR_MAINNET_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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.da.anytrust.enable=true
|
- --node.data-availability.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.enable=true
|
- --node.data-availability.rest-aggregator.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.urls=https://das.everclear.raas.gelato.cloud
|
- --node.data-availability.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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${OPENCAMPUSCODEX_NITRO_IMAGE:-offchainlabs/nitro-node}:${OPENCAMPUSCODEX_SEPOLIA_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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.da.anytrust.enable=true
|
- --node.data-availability.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.enable=true
|
- --node.data-availability.rest-aggregator.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.urls=https://das.open-campus-codex.gelato.digital
|
- --node.data-availability.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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${OPENCAMPUSCODEX_NITRO_IMAGE:-offchainlabs/nitro-node}:${OPENCAMPUSCODEX_SEPOLIA_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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.da.anytrust.enable=true
|
- --node.data-availability.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.enable=true
|
- --node.data-availability.rest-aggregator.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.urls=https://das.open-campus-codex.gelato.digital
|
- --node.data-availability.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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${PLAYBLOCK_NITRO_IMAGE:-offchainlabs/nitro-node}:${PLAYBLOCK_MAINNET_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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.da.anytrust.enable=true
|
- --node.data-availability.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.enable=true
|
- --node.data-availability.rest-aggregator.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.urls=https://das.playblock.io
|
- --node.data-availability.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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${PLAYBLOCK_NITRO_IMAGE:-offchainlabs/nitro-node}:${PLAYBLOCK_MAINNET_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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.da.anytrust.enable=true
|
- --node.data-availability.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.enable=true
|
- --node.data-availability.rest-aggregator.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.urls=https://das.playblock.io
|
- --node.data-availability.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
|
||||||
|
|||||||
@@ -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.da.anytrust.enable=true
|
- --node.data-availability.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.enable=true
|
- --node.data-availability.rest-aggregator.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.urls=https://das-plume-mainnet-1.t.conduit.xyz
|
- --node.data-availability.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
|
||||||
|
|||||||
@@ -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.da.anytrust.enable=true
|
- --node.data-availability.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.enable=true
|
- --node.data-availability.rest-aggregator.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.urls=https://das-plume-mainnet-1.t.conduit.xyz
|
- --node.data-availability.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
|
||||||
|
|||||||
@@ -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.da.anytrust.enable=true
|
- --node.data-availability.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.enable=true
|
- --node.data-availability.rest-aggregator.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.urls=https://das-plume-mainnet-1.t.conduit.xyz
|
- --node.data-availability.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
|
||||||
|
|||||||
@@ -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.da.anytrust.enable=true
|
- --node.data-availability.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.enable=true
|
- --node.data-availability.rest-aggregator.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.urls=https://das-plume-mainnet-1.t.conduit.xyz
|
- --node.data-availability.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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${PLUME_NITRO_IMAGE:-offchainlabs/nitro-node}:${PLUME_TESTNET_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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.da.anytrust.enable=true
|
- --node.data-availability.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.enable=true
|
- --node.data-availability.rest-aggregator.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.urls=https://das-plume-testnet-1.t.conduit.xyz
|
- --node.data-availability.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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${PLUME_NITRO_IMAGE:-offchainlabs/nitro-node}:${PLUME_TESTNET_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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.da.anytrust.enable=true
|
- --node.data-availability.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.enable=true
|
- --node.data-availability.rest-aggregator.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.urls=https://das-plume-testnet-1.t.conduit.xyz
|
- --node.data-availability.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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${PLUME_NITRO_IMAGE:-offchainlabs/nitro-node}:${PLUME_TESTNET_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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.da.anytrust.enable=true
|
- --node.data-availability.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.enable=true
|
- --node.data-availability.rest-aggregator.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.urls=https://das-plume-testnet-1.t.conduit.xyz
|
- --node.data-availability.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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${PLUME_NITRO_IMAGE:-offchainlabs/nitro-node}:${PLUME_TESTNET_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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.da.anytrust.enable=true
|
- --node.data-availability.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.enable=true
|
- --node.data-availability.rest-aggregator.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.urls=https://das-plume-testnet-1.t.conduit.xyz
|
- --node.data-availability.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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${REAL_NITRO_IMAGE:-offchainlabs/nitro-node}:${REAL_MAINNET_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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.da.anytrust.enable=true
|
- --node.data-availability.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.enable=true
|
- --node.data-availability.rest-aggregator.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.urls=https://das.realforreal.gelato.digital
|
- --node.data-availability.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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${REAL_NITRO_IMAGE:-offchainlabs/nitro-node}:${REAL_MAINNET_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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.da.anytrust.enable=true
|
- --node.data-availability.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.enable=true
|
- --node.data-availability.rest-aggregator.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.urls=https://das.realforreal.gelato.digital
|
- --node.data-availability.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
|
||||||
|
|||||||
@@ -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.11.0-a618155}
|
image: ${REAL_NITRO_IMAGE:-offchainlabs/nitro-node}:${REAL_MAINNET_NITRO_VERSION:-v3.10.1-d7f07be}
|
||||||
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.da.anytrust.enable=true
|
- --node.data-availability.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.enable=true
|
- --node.data-availability.rest-aggregator.enable=true
|
||||||
- --node.da.anytrust.rest-aggregator.urls=https://das.realforreal.gelato.digital
|
- --node.data-availability.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
|
||||||
|
|||||||
@@ -1,144 +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: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.1-8512b8c}
|
|
||||||
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.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
|
|
||||||
...
|
|
||||||
@@ -1,144 +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: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.1-8512b8c}
|
|
||||||
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.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
|
|
||||||
...
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
File diff suppressed because one or more lines are too long
@@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
"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}}]"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -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/reth/arc-testnet-reth-pruned-trace.yml
|
# COMPOSE_FILE=base.yml:rpc.yml:arc/arc/arc-testnet-arc-full.yml
|
||||||
#
|
#
|
||||||
# docker compose up -d
|
# docker compose up -d
|
||||||
#
|
#
|
||||||
@@ -29,6 +29,22 @@ 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.7.2}
|
||||||
user: 0:0
|
user: 0:0
|
||||||
@@ -36,10 +52,13 @@ services:
|
|||||||
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_RETH_PRUNED_TRACE_CONSENSUS_DATA:-arc-testnet-reth-pruned-trace-consensus}:/data/consensus
|
- ${ARC_TESTNET_ARC_FULL_CONSENSUS_DATA:-arc-testnet-arc-full-consensus}:/data/consensus
|
||||||
logging: *logging-defaults
|
logging: *logging-defaults
|
||||||
|
|
||||||
arc-testnet-sockets-init:
|
arc-testnet-sockets-init:
|
||||||
@@ -53,11 +72,11 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- chains
|
- chains
|
||||||
volumes:
|
volumes:
|
||||||
- arc-testnet-reth-pruned-trace-sockets:/sockets
|
- arc-testnet-arc-full-sockets:/sockets
|
||||||
logging: *logging-defaults
|
logging: *logging-defaults
|
||||||
|
|
||||||
arc-testnet:
|
arc-testnet:
|
||||||
image: ${ARC_RETH_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-execution}:${ARC_TESTNET_RETH_VERSION:-0.7.2}
|
image: ${ARC_ARC_IMAGE:-docker.cloudsmith.io/circle/arc-network/arc-execution}:${ARC_TESTNET_ARC_VERSION:-0.7.2}
|
||||||
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
|
||||||
@@ -71,7 +90,6 @@ 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
|
||||||
@@ -101,23 +119,22 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- chains
|
- chains
|
||||||
volumes:
|
volumes:
|
||||||
- ${ARC_TESTNET_RETH_PRUNED_TRACE_EXECUTION_DATA:-arc-testnet-reth-pruned-trace-execution}:/data/execution
|
- ${ARC_TESTNET_ARC_FULL_EXECUTION_DATA:-arc-testnet-arc-full-execution}:/data/execution
|
||||||
- /slowdisk:/slowdisk
|
- /slowdisk:/slowdisk
|
||||||
- arc-testnet-reth-pruned-trace-sockets:/sockets
|
- arc-testnet-arc-full-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-reth-pruned-trace-stripprefix.stripprefix.prefixes=/arc-testnet
|
- traefik.http.middlewares.arc-testnet-arc-full-stripprefix.stripprefix.prefixes=/arc-testnet
|
||||||
- traefik.http.services.arc-testnet-reth-pruned-trace.loadbalancer.server.port=8545
|
- traefik.http.services.arc-testnet-arc-full.loadbalancer.server.port=8545
|
||||||
- ${NO_SSL:-traefik.http.routers.arc-testnet-reth-pruned-trace.entrypoints=websecure}
|
- ${NO_SSL:-traefik.http.routers.arc-testnet-arc-full.entrypoints=websecure}
|
||||||
- ${NO_SSL:-traefik.http.routers.arc-testnet-reth-pruned-trace.tls.certresolver=myresolver}
|
- ${NO_SSL:-traefik.http.routers.arc-testnet-arc-full.tls.certresolver=myresolver}
|
||||||
- ${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=Host(`$DOMAIN`) && (Path(`/arc-testnet`) || Path(`/arc-testnet/`))}
|
||||||
- ${NO_SSL:+traefik.http.routers.arc-testnet-reth-pruned-trace.rule=Path(`/arc-testnet`) || Path(`/arc-testnet/`)}
|
- ${NO_SSL:+traefik.http.routers.arc-testnet-arc-full.rule=Path(`/arc-testnet`) || Path(`/arc-testnet/`)}
|
||||||
- traefik.http.routers.arc-testnet-reth-pruned-trace.middlewares=arc-testnet-reth-pruned-trace-stripprefix, ipallowlist
|
- traefik.http.routers.arc-testnet-arc-full.middlewares=arc-testnet-arc-full-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.7.2}
|
||||||
@@ -150,17 +167,17 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- chains
|
- chains
|
||||||
volumes:
|
volumes:
|
||||||
- ${ARC_TESTNET_RETH_PRUNED_TRACE_CONSENSUS_DATA:-arc-testnet-reth-pruned-trace-consensus}:/data/consensus
|
- ${ARC_TESTNET_ARC_FULL_CONSENSUS_DATA:-arc-testnet-arc-full-consensus}:/data/consensus
|
||||||
- arc-testnet-reth-pruned-trace-sockets:/sockets
|
- arc-testnet-arc-full-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-reth-pruned-trace-consensus:
|
arc-testnet-arc-full-consensus:
|
||||||
arc-testnet-reth-pruned-trace-execution:
|
arc-testnet-arc-full-execution:
|
||||||
arc-testnet-reth-pruned-trace-sockets:
|
arc-testnet-arc-full-sockets:
|
||||||
|
|
||||||
x-upstreams:
|
x-upstreams:
|
||||||
- id: $${ID}
|
- id: $${ID}
|
||||||
@@ -1,180 +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: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.7.2}
|
|
||||||
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: [rm -f /sockets/*.ipc && 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.7.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)
|
|
||||||
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.7.2}
|
|
||||||
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=50
|
|
||||||
- --execution-socket=/sockets/auth.ipc
|
|
||||||
- --follow
|
|
||||||
- --follow.endpoint=https://arc.drpc.org,wss=arc.drpc.org
|
|
||||||
- --follow.endpoint=https://rpc.arc.network,wss=rpc.arc.network
|
|
||||||
- --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-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
|
|
||||||
...
|
|
||||||
@@ -1,181 +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: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.7.2}
|
|
||||||
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: [rm -f /sockets/*.ipc && 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.7.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)
|
|
||||||
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
|
|
||||||
- --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.7.2}
|
|
||||||
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=50
|
|
||||||
- --execution-socket=/sockets/auth.ipc
|
|
||||||
- --follow
|
|
||||||
- --follow.endpoint=https://arc.drpc.org,wss=arc.drpc.org
|
|
||||||
- --follow.endpoint=https://rpc.arc.network,wss=rpc.arc.network
|
|
||||||
- --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-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
|
|
||||||
...
|
|
||||||
@@ -1,181 +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: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.7.2}
|
|
||||||
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: [rm -f /sockets/*.ipc && 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.7.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)
|
|
||||||
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.7.2}
|
|
||||||
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=50
|
|
||||||
- --execution-socket=/sockets/auth.ipc
|
|
||||||
- --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
|
|
||||||
- --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-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
|
|
||||||
...
|
|
||||||
@@ -1,127 +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: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.3.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}
|
|
||||||
- ${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
|
|
||||||
...
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
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"]
|
|
||||||
@@ -1,223 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
# cometbft-common.sh — reusable CometBFT-node bootstrap helpers (family C).
|
|
||||||
#
|
|
||||||
# Source this from a chain-specific init.sh. It encapsulates the operations every
|
|
||||||
# CometBFT-consensus node needs (init, fetch config artifacts, patch config.toml /
|
|
||||||
# app.toml, seed priv_validator_state), extracted verbatim from the proven berachain
|
|
||||||
# beacon-kit entrypoint so callers inherit known-good behavior.
|
|
||||||
#
|
|
||||||
# Each function takes explicit arguments (paths/values) — it is binary-agnostic. The
|
|
||||||
# caller owns the binary name, the `<binary> init` invocation, the artifact URLs, and
|
|
||||||
# the final `exec <binary> start ...`. EL-driven chains (beacon-kit, morph) also call
|
|
||||||
# the JWT / engine-dial helpers; pure-consensus chains (gaiad) skip them.
|
|
||||||
#
|
|
||||||
# Conventions: POSIX sh (alpine). Config dir is conventionally $HOME_DIR/config.
|
|
||||||
# Used by: morph-node, gaiad (cosmos batch), and any future family-C chain.
|
|
||||||
# beacon-kit (berachain) keeps its own bespoke init.sh on purpose — do not retrofit it.
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
ct_log() { echo "[cometbft-init] $*"; }
|
|
||||||
|
|
||||||
# Ensure curl exists (alpine base images often omit it). Idempotent.
|
|
||||||
ct_require_curl() {
|
|
||||||
if ! command -v curl >/dev/null 2>&1; then
|
|
||||||
ct_log "installing curl"
|
|
||||||
apk add --no-cache curl
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# ct_fetch URL DEST [required]
|
|
||||||
# Download URL -> DEST. If the 3rd arg is "required", a failure is fatal;
|
|
||||||
# otherwise a missing/failed fetch is logged and skipped (returns 0).
|
|
||||||
ct_fetch() {
|
|
||||||
_url="$1"; _dest="$2"; _req="${3:-optional}"
|
|
||||||
[ -n "$_url" ] || { [ "$_req" = required ] && { ct_log "FATAL: empty URL for $_dest"; exit 1; }; return 0; }
|
|
||||||
if curl -fsSL "$_url" -o "$_dest"; then
|
|
||||||
ct_log "fetched $_url -> $_dest"
|
|
||||||
else
|
|
||||||
if [ "$_req" = required ]; then
|
|
||||||
ct_log "FATAL: failed to fetch required $_url"; exit 1
|
|
||||||
fi
|
|
||||||
ct_log "skip: could not fetch optional $_url"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# ct_patch_p2p CONFIG_TOML IP P2P_PORT
|
|
||||||
# Bind p2p to 0.0.0.0:PORT and advertise IP:PORT (only within the [p2p] section).
|
|
||||||
ct_patch_p2p() {
|
|
||||||
_cfg="$1"; _ip="$2"; _port="$3"
|
|
||||||
[ -f "$_cfg" ] || { ct_log "patch_p2p: $_cfg missing, skipping"; return 0; }
|
|
||||||
_laddr="tcp:\\/\\/0\\.0\\.0\\.0\\:${_port}"
|
|
||||||
sed -i "/^\[p2p\]/,/^\[/{s|^laddr = .*|laddr = \"$_laddr\"|}" "$_cfg"
|
|
||||||
sed -i "/^\[p2p\]/,/^\[/{s|^external_address = .*|external_address = \"${_ip}:${_port}\"|}" "$_cfg"
|
|
||||||
}
|
|
||||||
|
|
||||||
# ct_merge_seeds CONFIG_TOML CONFIGURED_SEEDS [SEEDS_URL]
|
|
||||||
# Merge operator-configured seeds with an optional official seed list (1 entry per
|
|
||||||
# line, first line skipped like the berachain cl-seeds.txt header), dedupe, write.
|
|
||||||
ct_merge_seeds() {
|
|
||||||
_cfg="$1"; _seeds="$2"; _url="$3"
|
|
||||||
[ -f "$_cfg" ] || return 0
|
|
||||||
if [ -n "$_url" ]; then
|
|
||||||
_official=$(curl -f -s "$_url" | tail -n +2 | tr '\n' ',' | sed 's/,$//' || true)
|
|
||||||
if [ -n "$_official" ]; then
|
|
||||||
ct_log "merging official seeds from $_url"
|
|
||||||
_seeds=$(echo "${_seeds},${_official}" | tr ',' '\n' | sed '/^$/d' | sort -u | paste -sd,)
|
|
||||||
else
|
|
||||||
ct_log "no official seeds fetched from $_url (continuing with configured)"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
if [ -n "$_seeds" ]; then
|
|
||||||
sed -i "s/^seeds = \".*\"/seeds = \"${_seeds}\"/" "$_cfg"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# ct_set_persistent_peers CONFIG_TOML PEERS
|
|
||||||
# Handles both cometbft-classic `persistent_peers` (underscore) and forks that use
|
|
||||||
# `persistent-peers` (hyphen, e.g. sei) — patches whichever key is present.
|
|
||||||
ct_set_persistent_peers() {
|
|
||||||
_cfg="$1"; _peers="$2"
|
|
||||||
[ -f "$_cfg" ] || return 0
|
|
||||||
[ -n "$_peers" ] || return 0
|
|
||||||
sed -i "s/^persistent_peers = \".*\"/persistent_peers = \"${_peers}\"/" "$_cfg"
|
|
||||||
sed -i "s/^persistent-peers = \".*\"/persistent-peers = \"${_peers}\"/" "$_cfg"
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
# ct_set_moniker CONFIG_TOML MONIKER
|
|
||||||
ct_set_moniker() {
|
|
||||||
_cfg="$1"; _mon="$2"
|
|
||||||
[ -f "$_cfg" ] || return 0
|
|
||||||
[ -n "$_mon" ] && sed -i "s/^moniker = \".*\"/moniker = \"$_mon\"/" "$_cfg"
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
# ct_set_addrbook CONFIG_DIR ADDRBOOK_URL
|
|
||||||
# Optional: cosmos chains often seed an addrbook.json for faster peer discovery.
|
|
||||||
ct_set_addrbook() {
|
|
||||||
_dir="$1"; _url="$2"
|
|
||||||
[ -n "$_url" ] || return 0
|
|
||||||
ct_fetch "$_url" "$_dir/addrbook.json" optional
|
|
||||||
}
|
|
||||||
|
|
||||||
# ct_write_jwt CONFIG_DIR [JWT_SRC]
|
|
||||||
# EL-driven chains: copy the shared engine JWT (default /jwtsecret) into the config
|
|
||||||
# dir as jwt.hex so the CL can authenticate to the EL engine API.
|
|
||||||
ct_write_jwt() {
|
|
||||||
_dir="$1"; _src="${2:-/jwtsecret}"
|
|
||||||
[ -f "$_src" ] || { ct_log "write_jwt: $_src missing, skipping"; return 0; }
|
|
||||||
cat "$_src" > "$_dir/jwt.hex"
|
|
||||||
}
|
|
||||||
|
|
||||||
# ct_set_rpc_dial_url APP_TOML AUTH_RPC
|
|
||||||
# beacon-kit / app.toml-style EL engine endpoint (e.g. http://<el>:8551).
|
|
||||||
ct_set_rpc_dial_url() {
|
|
||||||
_app="$1"; _rpc="$2"
|
|
||||||
[ -f "$_app" ] || return 0
|
|
||||||
[ -n "$_rpc" ] && sed -i "s|^rpc-dial-url = \".*\"|rpc-dial-url = \"$_rpc\"|" "$_app"
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
# ct_seed_priv_validator_state HOME_DIR
|
|
||||||
# Ensure data/priv_validator_state.json exists (cometbft refuses to start without it
|
|
||||||
# when one is present in config/). Mirrors the berachain init.sh behavior.
|
|
||||||
ct_seed_priv_validator_state() {
|
|
||||||
_home="$1"
|
|
||||||
if [ -e "$_home/config/priv_validator_state.json" ] && [ ! -e "$_home/data/priv_validator_state.json" ]; then
|
|
||||||
mkdir -p "$_home/data"
|
|
||||||
cp "$_home/config/priv_validator_state.json" "$_home/data/priv_validator_state.json"
|
|
||||||
fi
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
# ct_apk PKG...
|
|
||||||
# Install alpine packages idempotently (most cosmos init scripts need curl, some jq).
|
|
||||||
ct_apk() {
|
|
||||||
apk add --no-cache "$@"
|
|
||||||
}
|
|
||||||
|
|
||||||
# ct_localize_home CONFIG_DIR
|
|
||||||
# Rewrite `~/` to `/root/` in config.toml + app.toml. Cosmos `init` writes home-relative
|
|
||||||
# paths; the container runs as root with a static home, so make paths absolute.
|
|
||||||
ct_localize_home() {
|
|
||||||
_dir="$1"
|
|
||||||
[ -f "$_dir/config.toml" ] && sed -i 's|~/|/root/|g' "$_dir/config.toml"
|
|
||||||
[ -f "$_dir/app.toml" ] && sed -i 's|~/|/root/|g' "$_dir/app.toml"
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
# ct_set_min_gas_prices APP_TOML PRICE
|
|
||||||
# Cosmos chains reject txs (and sometimes refuse to start) with an empty
|
|
||||||
# minimum-gas-prices. PRICE e.g. "0.01usei", "0.0025uatom", "0.01hqq".
|
|
||||||
ct_set_min_gas_prices() {
|
|
||||||
_app="$1"; _price="$2"
|
|
||||||
[ -f "$_app" ] || return 0
|
|
||||||
[ -n "$_price" ] || return 0
|
|
||||||
sed -i "s/minimum-gas-prices = \"\"/minimum-gas-prices = \"${_price}\"/g" "$_app"
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
# ct_configure_statesync CONFIG_TOML RPC_SERVERS [TRUST_OFFSET]
|
|
||||||
# Enable cometbft state-sync so a fresh node bootstraps near chainhead instead of
|
|
||||||
# replaying from genesis — the single biggest lever for "can't keep it at chainhead"
|
|
||||||
# chains. RPC_SERVERS = comma list of trusted RPC endpoints (>=2 recommended; a single
|
|
||||||
# endpoint is duplicated). TRUST_OFFSET = blocks below head to trust (default 2000).
|
|
||||||
# Requires jq + curl. No-op (logged) if head height can't be fetched.
|
|
||||||
ct_configure_statesync() {
|
|
||||||
_cfg="$1"; _rpc="$2"; _offset="${3:-2000}"
|
|
||||||
[ -f "$_cfg" ] || return 0
|
|
||||||
# NEVER re-arm statesync on a node that already has application state (a restored
|
|
||||||
# snapshot or a prior sync). Re-statesyncing over it leaves a broken/partial datadir and,
|
|
||||||
# for wasm chains, drops the wasm files -> startup panic. _cfg is $HOME/config/config.toml,
|
|
||||||
# so application state lives at $HOME/data/application.db.
|
|
||||||
_home=$(dirname "$(dirname "$_cfg")")
|
|
||||||
if [ -e "$_home/data/application.db" ]; then
|
|
||||||
ct_log "statesync: existing data dir, skipping"
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
[ -n "$_rpc" ] || { ct_log "statesync: no RPC servers given, skipping"; return 0; }
|
|
||||||
_primary=$(echo "$_rpc" | cut -d, -f1)
|
|
||||||
_latest=$(curl -s "$_primary/block" | jq -r '.result.block.header.height // .block.header.height' 2>/dev/null || true)
|
|
||||||
if [ -z "$_latest" ] || [ "$_latest" = null ]; then
|
|
||||||
ct_log "statesync: could not read head height from $_primary, skipping"; return 0
|
|
||||||
fi
|
|
||||||
_trust_h=$((_latest - _offset))
|
|
||||||
_trust_hash=$(curl -s "$_primary/block?height=$_trust_h" | jq -r '.result.block_id.hash // .block_id.hash' 2>/dev/null || true)
|
|
||||||
[ -n "$_trust_hash" ] && [ "$_trust_hash" != null ] || { ct_log "statesync: no trust hash, skipping"; return 0; }
|
|
||||||
# second server defaults to the first (cometbft wants >=2 for light-client cross-check)
|
|
||||||
echo "$_rpc" | grep -q ',' || _rpc="$_rpc,$_rpc"
|
|
||||||
ct_log "statesync: enable trust_height=$_trust_h trust_hash=$_trust_hash"
|
|
||||||
# Patch ONLY the [statesync] section. CometBFT config.toml uses underscore keys
|
|
||||||
# (rpc_servers/trust_height/trust_hash); tolerate hyphen variants with [_-].
|
|
||||||
sed -i.bak -E "/^\[statesync\]/,/^\[/{
|
|
||||||
s|^([[:space:]]*enable[[:space:]]*=[[:space:]]*).*|\1true|
|
|
||||||
s|^([[:space:]]*rpc[_-]servers[[:space:]]*=[[:space:]]*).*|\1\"$_rpc\"|
|
|
||||||
s|^([[:space:]]*trust[_-]height[[:space:]]*=[[:space:]]*).*|\1$_trust_h|
|
|
||||||
s|^([[:space:]]*trust[_-]hash[[:space:]]*=[[:space:]]*).*|\1\"$_trust_hash\"|
|
|
||||||
}" "$_cfg"
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
# ct_ensure_wasm HOME_DIR WASM_SNAPSHOT_URL
|
|
||||||
# CosmWasm + IBC 08-wasm bytecode are FILES on disk that state-sync does NOT restore, so
|
|
||||||
# a state-synced wasm chain panics at startup ("wasmlckeeper failed initialize pinned codes
|
|
||||||
# / Error opening Wasm file"). Seed them from a wasm-only snapshot (e.g. polkachu
|
|
||||||
# cosmos_wasmonly.tar.lz4) when the wasm dir is missing/empty. No-op if URL unset or wasm
|
|
||||||
# already present. Best-effort (logs on failure); the fully robust path for wasm chains is a
|
|
||||||
# FULL snapshot restore. Requires lz4 + tar (installed here).
|
|
||||||
ct_ensure_wasm() {
|
|
||||||
_home="$1"; _url="$2"
|
|
||||||
[ -n "$_url" ] || return 0
|
|
||||||
if [ -d "$_home/wasm" ] && [ -n "$(ls -A "$_home/wasm" 2>/dev/null)" ]; then
|
|
||||||
return 0 # wasm already present
|
|
||||||
fi
|
|
||||||
ct_log "wasm: empty, fetching snapshot $_url"
|
|
||||||
ct_apk lz4 tar
|
|
||||||
if curl -sL "$_url" | lz4 -dc | tar -xf - -C "$_home"; then
|
|
||||||
ct_log "wasm: extracted into $_home"
|
|
||||||
else
|
|
||||||
ct_log "WARN wasm: fetch/extract failed ($_url)"
|
|
||||||
fi
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
@@ -1,48 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
# babylon-genesis (babylond) entrypoint — family C, pure CometBFT (no EL). Thin: sources the
|
|
||||||
# shared cometbft-common.sh and orchestrates init + statesync bootstrap + start.
|
|
||||||
# Genesis replay is impractical; statesync near head with the current binary.
|
|
||||||
# Serves CometBFT RPC :26657 (the dshackle upstream).
|
|
||||||
set -e
|
|
||||||
. /usr/local/bin/cometbft-common.sh
|
|
||||||
|
|
||||||
HOME_DIR="/root/.babylond"
|
|
||||||
CONFIG_DIR="$HOME_DIR/config"
|
|
||||||
CHAIN_ID="${CHAIN_ID:-bbn-1}"
|
|
||||||
GENESIS_URL="${GENESIS_URL:-https://raw.githubusercontent.com/babylonlabs-io/networks/main/bbn-1/network-artifacts/genesis.json}"
|
|
||||||
STATESYNC_RPC="${STATESYNC_RPC:-https://babylon-rpc.polkachu.com:443}"
|
|
||||||
MIN_GAS="${MIN_GAS:-0.002ubbn}"
|
|
||||||
MONIKER="${MONIKER:-rpc-node}"
|
|
||||||
|
|
||||||
ct_apk curl jq
|
|
||||||
|
|
||||||
if babylond init "$MONIKER" --chain-id "$CHAIN_ID" --home "$HOME_DIR" >/dev/null 2>&1; then
|
|
||||||
ct_log "fresh init; fetching genesis"
|
|
||||||
ct_fetch "$GENESIS_URL" "$CONFIG_DIR/genesis.json" required
|
|
||||||
ct_localize_home "$CONFIG_DIR"
|
|
||||||
ct_set_min_gas_prices "$CONFIG_DIR/app.toml" "$MIN_GAS"
|
|
||||||
else
|
|
||||||
ct_log "already initialized, continuing"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Serve RPC on all interfaces (dshackle/traefik upstream); default is 127.0.0.1.
|
|
||||||
sed -i '/^\[rpc\]/,/^\[/{s|^laddr = .*|laddr = "tcp://0.0.0.0:26657"|}' "$CONFIG_DIR/config.toml"
|
|
||||||
|
|
||||||
# Babylon Genesis block time (9200ms) — required for consensus.
|
|
||||||
sed -i 's|^timeout_commit = .*|timeout_commit = "9200ms"|' "$CONFIG_DIR/config.toml"
|
|
||||||
|
|
||||||
# BTC checkpointing network params only — no bitcoind needed for an RPC replica.
|
|
||||||
sed -i '/^\[btc-config\]/,/^\[/{s|^network = .*|network = "mainnet"|}' "$CONFIG_DIR/app.toml"
|
|
||||||
|
|
||||||
# Recommended for pruned RPC nodes (reduces memory pressure).
|
|
||||||
sed -i 's|^iavl-cache-size = .*|iavl-cache-size = 0|' "$CONFIG_DIR/app.toml"
|
|
||||||
|
|
||||||
ct_patch_p2p "$CONFIG_DIR/config.toml" "$IP" "${P2P_PORT:-26656}"
|
|
||||||
ct_merge_seeds "$CONFIG_DIR/config.toml" "$SEEDS"
|
|
||||||
ct_set_persistent_peers "$CONFIG_DIR/config.toml" "$PERSISTENT_PEERS"
|
|
||||||
ct_set_moniker "$CONFIG_DIR/config.toml" "$MONIKER"
|
|
||||||
ct_configure_statesync "$CONFIG_DIR/config.toml" "$STATESYNC_RPC"
|
|
||||||
ct_ensure_wasm "$HOME_DIR" "$WASM_SNAPSHOT_URL"
|
|
||||||
ct_seed_priv_validator_state "$HOME_DIR"
|
|
||||||
|
|
||||||
exec babylond start --home "$HOME_DIR" --minimum-gas-prices "$MIN_GAS" "$@"
|
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
bitcoin-mainnet:
|
bitcoin-mainnet:
|
||||||
image: ${BITCOIN_BITCOIND_IMAGE:-bitcoin/bitcoin}:${BITCOIN_MAINNET_BITCOIND_VERSION:-31.0}
|
image: ${BITCOIN_BITCOIND_IMAGE:-lncm/bitcoind}:${BITCOIN_MAINNET_BITCOIND_VERSION:-v28.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
|
||||||
@@ -57,20 +57,14 @@ services:
|
|||||||
entrypoint: [bitcoind]
|
entrypoint: [bitcoind]
|
||||||
command:
|
command:
|
||||||
- -datadir=/data
|
- -datadir=/data
|
||||||
- -dbcache=4096
|
|
||||||
- -disablewallet=1
|
|
||||||
- -externalip=${IP}
|
- -externalip=${IP}
|
||||||
- -maxconnections=64
|
|
||||||
- -port=12518
|
- -port=12518
|
||||||
- -printtoconsole
|
- -printtoconsole
|
||||||
- -rpcallowip=::/0
|
- -rpcallowip=::/0
|
||||||
- -rpcauth=username:0b6623bdebb516ced10631668833e42a$$c478b38890678c51b9f013174a20addb317c2046b68c05e0250ff86e31a505f7
|
- -rpcauth=username:0b6623bdebb516ced10631668833e42a$$c478b38890678c51b9f013174a20addb317c2046b68c05e0250ff86e31a505f7
|
||||||
- -rpcbind=0.0.0.0
|
- -rpcbind=0.0.0.0
|
||||||
- -rpcport=8545
|
- -rpcport=8545
|
||||||
- -rpcthreads=16
|
|
||||||
- -rpcworkqueue=512
|
|
||||||
- -server
|
- -server
|
||||||
- -txindex=1
|
|
||||||
- -zmqpubhashblock=tcp://0.0.0.0:28332
|
- -zmqpubhashblock=tcp://0.0.0.0:28332
|
||||||
- -zmqpubhashtx=tcp://0.0.0.0:28333
|
- -zmqpubhashtx=tcp://0.0.0.0:28333
|
||||||
- -zmqpubrawblock=tcp://0.0.0.0:28334
|
- -zmqpubrawblock=tcp://0.0.0.0:28334
|
||||||
@@ -123,8 +117,40 @@ services:
|
|||||||
- ${NO_SSL:+traefik.http.routers.bitcoin-mainnet-bitcoind-full-rawtx.rule=PathPrefix(`/bitcoin-mainnet/rawtx`)}
|
- ${NO_SSL:+traefik.http.routers.bitcoin-mainnet-bitcoind-full-rawtx.rule=PathPrefix(`/bitcoin-mainnet/rawtx`)}
|
||||||
- traefik.http.routers.bitcoin-mainnet-bitcoind-full-rawtx.middlewares=bitcoin-mainnet-bitcoind-full-stripprefix, ipallowlist
|
- traefik.http.routers.bitcoin-mainnet-bitcoind-full-rawtx.middlewares=bitcoin-mainnet-bitcoind-full-stripprefix, ipallowlist
|
||||||
|
|
||||||
|
bitcoin-mainnet-indexer:
|
||||||
|
image: blockstream/esplora
|
||||||
|
expose:
|
||||||
|
- 3000 # HTTP
|
||||||
|
- 50001 # RPC (electrum)
|
||||||
|
environment:
|
||||||
|
- ELECTRS_DAEMON_P2P_ADDR=bitcoin-mainnet:12518
|
||||||
|
- ELECTRS_DAEMON_RPC_ADDR=bitcoin-mainnet:8545
|
||||||
|
- ELECTRS_DB_DIR=/data/electrs
|
||||||
|
- ELECTRS_ELECTRUM_RPC_ADDR=0.0.0.0:50001
|
||||||
|
- ELECTRS_HTTP_ADDR=0.0.0.0:3000
|
||||||
|
- ELECTRS_JSONRPC_IMPORT=true
|
||||||
|
- ELECTRS_NETWORK=bitcoin
|
||||||
|
- ELECTRS_RPC_PASS=password
|
||||||
|
- ELECTRS_RPC_USER=username
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${BITCOIN_MAINNET_BITCOIND_FULL__ESPLORA_DATA:-bitcoin-mainnet-bitcoind-full_esplora}:/data
|
||||||
|
logging: *logging-defaults
|
||||||
|
labels:
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.http.routers.bitcoin-mainnet-bitcoind-full-esplora.service=bitcoin-mainnet-bitcoind-full-esplora
|
||||||
|
- traefik.http.middlewares.bitcoin-mainnet-bitcoind-full-esplora-stripprefix.stripprefix.prefixes=/bitcoin-mainnet
|
||||||
|
- traefik.http.services.bitcoin-mainnet-bitcoind-full-esplora.loadbalancer.server.port=3000
|
||||||
|
- ${NO_SSL:-traefik.http.routers.bitcoin-mainnet-bitcoind-full-esplora.entrypoints=websecure}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.bitcoin-mainnet-bitcoind-full-esplora.tls.certresolver=myresolver}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.bitcoin-mainnet-bitcoind-full-esplora.rule=Host(`$DOMAIN`) && (PathPrefix(`bitcoin-mainnet/address`) || PathPrefix(`bitcoin-mainnet/tx`) || PathPrefix(`bitcoin-mainnet/block`) || PathPrefix(`bitcoin-mainnet/blocks`) || PathPrefix(`bitcoin-mainnet/mempool`) || PathPrefix(`bitcoin-mainnet/fee-estimates`) || PathPrefix(`bitcoin-mainnet/scripthash`) || PathPrefix(`bitcoin-mainnet/asset`))}
|
||||||
|
- ${NO_SSL:+traefik.http.routers.bitcoin-mainnet-bitcoind-full-esplora.rule=PathPrefix(`bitcoin-mainnet/address`) || PathPrefix(`bitcoin-mainnet/tx`) || PathPrefix(`bitcoin-mainnet/block`) || PathPrefix(`bitcoin-mainnet/blocks`) || PathPrefix(`bitcoin-mainnet/mempool`) || PathPrefix(`bitcoin-mainnet/fee-estimates`) || PathPrefix(`bitcoin-mainnet/scripthash`) || PathPrefix(`bitcoin-mainnet/asset`))}
|
||||||
|
- traefik.http.routers.bitcoin-mainnet-bitcoind-full-esplora.middlewares=bitcoin-mainnet-bitcoind-full-esplora-stripprefix, ipallowlist
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
bitcoin-mainnet-bitcoind-full:
|
bitcoin-mainnet-bitcoind-full:
|
||||||
|
bitcoin-mainnet-bitcoind-full_esplora:
|
||||||
|
|
||||||
x-upstreams:
|
x-upstreams:
|
||||||
- id: $${ID}
|
- id: $${ID}
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
bitcoin-testnet:
|
bitcoin-testnet:
|
||||||
image: ${BITCOIN_BITCOIND_IMAGE:-bitcoin/bitcoin}:${BITCOIN_TESTNET_BITCOIND_VERSION:-31.0}
|
image: ${BITCOIN_BITCOIND_IMAGE:-lncm/bitcoind}:${BITCOIN_TESTNET_BITCOIND_VERSION:-v28.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
|
||||||
@@ -57,21 +57,15 @@ services:
|
|||||||
entrypoint: [bitcoind]
|
entrypoint: [bitcoind]
|
||||||
command:
|
command:
|
||||||
- -datadir=/data
|
- -datadir=/data
|
||||||
- -dbcache=4096
|
|
||||||
- -disablewallet=1
|
|
||||||
- -externalip=${IP}
|
- -externalip=${IP}
|
||||||
- -maxconnections=64
|
|
||||||
- -port=13668
|
- -port=13668
|
||||||
- -printtoconsole
|
- -printtoconsole
|
||||||
- -rpcallowip=::/0
|
- -rpcallowip=::/0
|
||||||
- -rpcauth=username:0b6623bdebb516ced10631668833e42a$$c478b38890678c51b9f013174a20addb317c2046b68c05e0250ff86e31a505f7
|
- -rpcauth=username:0b6623bdebb516ced10631668833e42a$$c478b38890678c51b9f013174a20addb317c2046b68c05e0250ff86e31a505f7
|
||||||
- -rpcbind=0.0.0.0
|
- -rpcbind=0.0.0.0
|
||||||
- -rpcport=8545
|
- -rpcport=8545
|
||||||
- -rpcthreads=16
|
|
||||||
- -rpcworkqueue=512
|
|
||||||
- -server
|
- -server
|
||||||
- -testnet
|
- -testnet
|
||||||
- -txindex=1
|
|
||||||
- -zmqpubhashblock=tcp://0.0.0.0:28332
|
- -zmqpubhashblock=tcp://0.0.0.0:28332
|
||||||
- -zmqpubhashtx=tcp://0.0.0.0:28333
|
- -zmqpubhashtx=tcp://0.0.0.0:28333
|
||||||
- -zmqpubrawblock=tcp://0.0.0.0:28334
|
- -zmqpubrawblock=tcp://0.0.0.0:28334
|
||||||
@@ -124,8 +118,40 @@ services:
|
|||||||
- ${NO_SSL:+traefik.http.routers.bitcoin-testnet-bitcoind-full-rawtx.rule=PathPrefix(`/bitcoin-testnet/rawtx`)}
|
- ${NO_SSL:+traefik.http.routers.bitcoin-testnet-bitcoind-full-rawtx.rule=PathPrefix(`/bitcoin-testnet/rawtx`)}
|
||||||
- traefik.http.routers.bitcoin-testnet-bitcoind-full-rawtx.middlewares=bitcoin-testnet-bitcoind-full-stripprefix, ipallowlist
|
- traefik.http.routers.bitcoin-testnet-bitcoind-full-rawtx.middlewares=bitcoin-testnet-bitcoind-full-stripprefix, ipallowlist
|
||||||
|
|
||||||
|
bitcoin-testnet-indexer:
|
||||||
|
image: blockstream/esplora
|
||||||
|
expose:
|
||||||
|
- 3000 # HTTP
|
||||||
|
- 50001 # RPC (electrum)
|
||||||
|
environment:
|
||||||
|
- ELECTRS_DAEMON_P2P_ADDR=bitcoin-testnet:13668
|
||||||
|
- ELECTRS_DAEMON_RPC_ADDR=bitcoin-testnet:8545
|
||||||
|
- ELECTRS_DB_DIR=/data/electrs
|
||||||
|
- ELECTRS_ELECTRUM_RPC_ADDR=0.0.0.0:50001
|
||||||
|
- ELECTRS_HTTP_ADDR=0.0.0.0:3000
|
||||||
|
- ELECTRS_JSONRPC_IMPORT=true
|
||||||
|
- ELECTRS_NETWORK=bitcoin-testnet
|
||||||
|
- ELECTRS_RPC_PASS=password
|
||||||
|
- ELECTRS_RPC_USER=username
|
||||||
|
networks:
|
||||||
|
- chains
|
||||||
|
volumes:
|
||||||
|
- ${BITCOIN_TESTNET_BITCOIND_FULL__ESPLORA_DATA:-bitcoin-testnet-bitcoind-full_esplora}:/data
|
||||||
|
logging: *logging-defaults
|
||||||
|
labels:
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.http.routers.bitcoin-testnet-bitcoind-full-esplora.service=bitcoin-testnet-bitcoind-full-esplora
|
||||||
|
- traefik.http.middlewares.bitcoin-testnet-bitcoind-full-esplora-stripprefix.stripprefix.prefixes=/bitcoin-testnet
|
||||||
|
- traefik.http.services.bitcoin-testnet-bitcoind-full-esplora.loadbalancer.server.port=3000
|
||||||
|
- ${NO_SSL:-traefik.http.routers.bitcoin-testnet-bitcoind-full-esplora.entrypoints=websecure}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.bitcoin-testnet-bitcoind-full-esplora.tls.certresolver=myresolver}
|
||||||
|
- ${NO_SSL:-traefik.http.routers.bitcoin-testnet-bitcoind-full-esplora.rule=Host(`$DOMAIN`) && (PathPrefix(`bitcoin-testnet/address`) || PathPrefix(`bitcoin-testnet/tx`) || PathPrefix(`bitcoin-testnet/block`) || PathPrefix(`bitcoin-testnet/blocks`) || PathPrefix(`bitcoin-testnet/mempool`) || PathPrefix(`bitcoin-testnet/fee-estimates`) || PathPrefix(`bitcoin-testnet/scripthash`) || PathPrefix(`bitcoin-testnet/asset`))}
|
||||||
|
- ${NO_SSL:+traefik.http.routers.bitcoin-testnet-bitcoind-full-esplora.rule=PathPrefix(`bitcoin-testnet/address`) || PathPrefix(`bitcoin-testnet/tx`) || PathPrefix(`bitcoin-testnet/block`) || PathPrefix(`bitcoin-testnet/blocks`) || PathPrefix(`bitcoin-testnet/mempool`) || PathPrefix(`bitcoin-testnet/fee-estimates`) || PathPrefix(`bitcoin-testnet/scripthash`) || PathPrefix(`bitcoin-testnet/asset`))}
|
||||||
|
- traefik.http.routers.bitcoin-testnet-bitcoind-full-esplora.middlewares=bitcoin-testnet-bitcoind-full-esplora-stripprefix, ipallowlist
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
bitcoin-testnet-bitcoind-full:
|
bitcoin-testnet-bitcoind-full:
|
||||||
|
bitcoin-testnet-bitcoind-full_esplora:
|
||||||
|
|
||||||
x-upstreams:
|
x-upstreams:
|
||||||
- id: $${ID}
|
- id: $${ID}
|
||||||
|
|||||||
@@ -10,12 +10,10 @@ fi
|
|||||||
RPC_URL=$1
|
RPC_URL=$1
|
||||||
shift
|
shift
|
||||||
|
|
||||||
# Check for --starknet / --aztec / --cosmos / --ripple / --bitcoin flag
|
# Check for --starknet / --aztec / --cosmos flag
|
||||||
is_starknet=false
|
is_starknet=false
|
||||||
is_aztec=false
|
is_aztec=false
|
||||||
is_cosmos=false
|
is_cosmos=false
|
||||||
is_ripple=false
|
|
||||||
is_bitcoin=false
|
|
||||||
if [ "$1" == "--starknet" ]; then
|
if [ "$1" == "--starknet" ]; then
|
||||||
is_starknet=true
|
is_starknet=true
|
||||||
shift
|
shift
|
||||||
@@ -25,12 +23,6 @@ elif [ "$1" == "--aztec" ]; then
|
|||||||
elif [ "$1" == "--cosmos" ]; then
|
elif [ "$1" == "--cosmos" ]; then
|
||||||
is_cosmos=true
|
is_cosmos=true
|
||||||
shift
|
shift
|
||||||
elif [ "$1" == "--ripple" ]; then
|
|
||||||
is_ripple=true
|
|
||||||
shift
|
|
||||||
elif [ "$1" == "--bitcoin" ]; then
|
|
||||||
is_bitcoin=true
|
|
||||||
shift
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
REF=""
|
REF=""
|
||||||
@@ -67,73 +59,6 @@ if $is_cosmos; then
|
|||||||
echo "online"; exit 0
|
echo "online"; exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# XRPL rippled: server_info — server_state full/proposing + fresh validated ledger = online.
|
|
||||||
# Short-circuits here; the EVM/starknet/aztec block-comparison path below is not used.
|
|
||||||
if $is_ripple; then
|
|
||||||
status=$(curl -L --ipv4 -m $timeout -s -X POST -H "Content-Type: application/json" --data '{"method":"server_info"}' "$RPC_URL")
|
|
||||||
if [ $? -ne 0 ] || [ -z "$status" ]; then echo "error"; exit 1; fi
|
|
||||||
server_state=$(echo "$status" | jq -r '.result.info.server_state // .info.server_state' 2>/dev/null)
|
|
||||||
ledger_age=$(echo "$status" | jq -r '.result.info.validated_ledger.age // .info.validated_ledger.age' 2>/dev/null)
|
|
||||||
node_seq=$(echo "$status" | jq -r '.result.info.validated_ledger.seq // .info.validated_ledger.seq' 2>/dev/null)
|
|
||||||
if [ -z "$server_state" ] || [ "$server_state" = "null" ]; then echo "error"; exit 1; fi
|
|
||||||
case "$server_state" in
|
|
||||||
connected|syncing|tracking)
|
|
||||||
echo "syncing"; exit 1 ;;
|
|
||||||
full|proposing)
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo "error"; exit 1 ;;
|
|
||||||
esac
|
|
||||||
if [ -z "$ledger_age" ] || [ "$ledger_age" = "null" ] || [ "$ledger_age" -gt 20 ] 2>/dev/null; then
|
|
||||||
echo "behind"; exit 1
|
|
||||||
fi
|
|
||||||
if [ -n "$ref" ]; then
|
|
||||||
ref_status=$($BASEPATH/multicurl.sh -L --ipv4 -m $timeout -s -X POST -H "Content-Type: application/json" --data '{"method":"server_info"}' $ref)
|
|
||||||
ref_seq=$(echo "$ref_status" | jq -r '.result.info.validated_ledger.seq // .info.validated_ledger.seq' 2>/dev/null)
|
|
||||||
if [ -n "$ref_seq" ] && [ "$ref_seq" != "null" ] && [ "$ref_seq" -gt 0 ] 2>/dev/null && [ -n "$node_seq" ] && [ "$node_seq" != "null" ]; then
|
|
||||||
lag=$(( ref_seq - node_seq ))
|
|
||||||
lo=${LAGGING_LAG:-5}; hi=${SYNCING_LAG:-10}
|
|
||||||
if [ "$lo" -gt "$hi" ]; then tmp=$lo; lo=$hi; hi=$tmp; fi
|
|
||||||
if [ "$lag" -le "$lo" ]; then
|
|
||||||
echo "online"; exit 0
|
|
||||||
elif [ "$lag" -le "$hi" ]; then
|
|
||||||
echo "lagging"; exit 0
|
|
||||||
else
|
|
||||||
echo "syncing"; exit 1
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
echo "online"; exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Bitcoin-family (bitcoind/dogecoind): getblockchaininfo — initialblockdownload=true means syncing.
|
|
||||||
# Short-circuits here; the EVM/starknet/aztec block-comparison path below is not used.
|
|
||||||
if $is_bitcoin; then
|
|
||||||
status=$(curl -L --ipv4 -m $timeout -s -u username:password -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"1.0","id":1,"method":"getblockchaininfo","params":[]}' "$RPC_URL")
|
|
||||||
if [ $? -ne 0 ] || [ -z "$status" ]; then echo "error"; exit 1; fi
|
|
||||||
ibd=$(echo "$status" | jq -r '.result.initialblockdownload' 2>/dev/null)
|
|
||||||
node_height=$(echo "$status" | jq -r '.result.blocks' 2>/dev/null)
|
|
||||||
if [ -z "$node_height" ] || [ "$node_height" = "null" ]; then echo "error"; exit 1; fi
|
|
||||||
if [ "$ibd" = "true" ]; then echo "syncing"; exit 1; fi
|
|
||||||
if [ -n "$ref" ]; then
|
|
||||||
ref_status=$($BASEPATH/multicurl.sh -L --ipv4 -m $timeout -s -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"1.0","id":1,"method":"getblockcount","params":[]}' $ref)
|
|
||||||
ref_height=$(echo "$ref_status" | jq -r '.result' 2>/dev/null)
|
|
||||||
if [ -n "$ref_height" ] && [ "$ref_height" != "null" ] && [ "$ref_height" -gt 0 ] 2>/dev/null; then
|
|
||||||
lag=$(( ref_height - node_height ))
|
|
||||||
lo=${LAGGING_LAG:-2}; hi=${SYNCING_LAG:-6}
|
|
||||||
if [ "$lo" -gt "$hi" ]; then tmp=$lo; lo=$hi; hi=$tmp; fi
|
|
||||||
if [ "$lag" -le "$lo" ]; then
|
|
||||||
echo "online"; exit 0
|
|
||||||
elif [ "$lag" -le "$hi" ]; then
|
|
||||||
echo "lagging"; exit 0
|
|
||||||
else
|
|
||||||
echo "syncing"; exit 1
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
echo "online"; exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
response_file=$(mktemp)
|
response_file=$(mktemp)
|
||||||
|
|
||||||
# Use appropriate RPC method based on chain type
|
# Use appropriate RPC method based on chain type
|
||||||
|
|||||||
@@ -828,40 +828,6 @@
|
|||||||
"real-mainnet-nitro-pruned-pebble-path"
|
"real-mainnet-nitro-pruned-pebble-path"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"chain": "mainnet",
|
|
||||||
"client": "nitro",
|
|
||||||
"compose_file": "arb/nitro/robinhood-mainnet-nitro-pruned-pebble-path",
|
|
||||||
"features": [
|
|
||||||
"path",
|
|
||||||
"pebble"
|
|
||||||
],
|
|
||||||
"network": "robinhood",
|
|
||||||
"node": null,
|
|
||||||
"relay": null,
|
|
||||||
"stack": "arb",
|
|
||||||
"type": "pruned",
|
|
||||||
"volumes": [
|
|
||||||
"robinhood-mainnet-nitro-pruned-pebble-path"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"chain": "testnet",
|
|
||||||
"client": "nitro",
|
|
||||||
"compose_file": "arb/nitro/robinhood-testnet-nitro-pruned-pebble-path",
|
|
||||||
"features": [
|
|
||||||
"path",
|
|
||||||
"pebble"
|
|
||||||
],
|
|
||||||
"network": "robinhood",
|
|
||||||
"node": null,
|
|
||||||
"relay": null,
|
|
||||||
"stack": "arb",
|
|
||||||
"type": "pruned",
|
|
||||||
"volumes": [
|
|
||||||
"robinhood-testnet-nitro-pruned-pebble-path"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"chain": "sepolia",
|
"chain": "sepolia",
|
||||||
"client": "nitro-erigon",
|
"client": "nitro-erigon",
|
||||||
@@ -910,76 +876,20 @@
|
|||||||
"arbitrum-sepolia-nitro-erigon-pruned-trace"
|
"arbitrum-sepolia-nitro-erigon-pruned-trace"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"chain": "mainnet",
|
|
||||||
"client": "reth",
|
|
||||||
"compose_file": "arc/reth/arc-mainnet-reth-archive-trace",
|
|
||||||
"features": [
|
|
||||||
"trace"
|
|
||||||
],
|
|
||||||
"network": "arc",
|
|
||||||
"node": "malachite",
|
|
||||||
"relay": null,
|
|
||||||
"stack": null,
|
|
||||||
"type": "archive",
|
|
||||||
"volumes": [
|
|
||||||
"arc-mainnet-reth-archive-trace-consensus",
|
|
||||||
"arc-mainnet-reth-archive-trace-execution",
|
|
||||||
"arc-mainnet-reth-archive-trace-sockets"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"chain": "mainnet",
|
|
||||||
"client": "reth",
|
|
||||||
"compose_file": "arc/reth/arc-mainnet-reth-pruned-trace",
|
|
||||||
"features": [
|
|
||||||
"trace"
|
|
||||||
],
|
|
||||||
"network": "arc",
|
|
||||||
"node": "malachite",
|
|
||||||
"relay": null,
|
|
||||||
"stack": null,
|
|
||||||
"type": "pruned",
|
|
||||||
"volumes": [
|
|
||||||
"arc-mainnet-reth-pruned-trace-consensus",
|
|
||||||
"arc-mainnet-reth-pruned-trace-execution",
|
|
||||||
"arc-mainnet-reth-pruned-trace-sockets"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"chain": "testnet",
|
"chain": "testnet",
|
||||||
"client": "reth",
|
"client": "arc",
|
||||||
"compose_file": "arc/reth/arc-testnet-reth-archive-trace",
|
"compose_file": "arc/arc/arc-testnet-arc-full",
|
||||||
"features": [
|
"features": [],
|
||||||
"trace"
|
|
||||||
],
|
|
||||||
"network": "arc",
|
"network": "arc",
|
||||||
"node": "malachite",
|
"node": "malachite",
|
||||||
"relay": null,
|
"relay": null,
|
||||||
"stack": null,
|
"stack": null,
|
||||||
"type": "archive",
|
"type": "full",
|
||||||
"volumes": [
|
"volumes": [
|
||||||
"arc-testnet-reth-archive-trace-consensus",
|
"arc-testnet-arc-full-consensus",
|
||||||
"arc-testnet-reth-archive-trace-execution",
|
"arc-testnet-arc-full-execution",
|
||||||
"arc-testnet-reth-archive-trace-sockets"
|
"arc-testnet-arc-full-sockets"
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"chain": "testnet",
|
|
||||||
"client": "reth",
|
|
||||||
"compose_file": "arc/reth/arc-testnet-reth-pruned-trace",
|
|
||||||
"features": [
|
|
||||||
"trace"
|
|
||||||
],
|
|
||||||
"network": "arc",
|
|
||||||
"node": "malachite",
|
|
||||||
"relay": null,
|
|
||||||
"stack": null,
|
|
||||||
"type": "pruned",
|
|
||||||
"volumes": [
|
|
||||||
"arc-testnet-reth-pruned-trace-consensus",
|
|
||||||
"arc-testnet-reth-pruned-trace-execution",
|
|
||||||
"arc-testnet-reth-pruned-trace-sockets"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -1106,20 +1016,6 @@
|
|||||||
"aztec-testnet-aztec-pruned"
|
"aztec-testnet-aztec-pruned"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"chain": "mainnet",
|
|
||||||
"client": "babylond",
|
|
||||||
"compose_file": "babylon/babylond/babylon-mainnet-babylond-pruned",
|
|
||||||
"features": [],
|
|
||||||
"network": "babylon",
|
|
||||||
"node": null,
|
|
||||||
"relay": null,
|
|
||||||
"stack": null,
|
|
||||||
"type": "pruned",
|
|
||||||
"volumes": [
|
|
||||||
"babylon-mainnet-babylond-pruned"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"chain": "bepolia",
|
"chain": "bepolia",
|
||||||
"client": "geth",
|
"client": "geth",
|
||||||
@@ -1272,12 +1168,13 @@
|
|||||||
"compose_file": "bitcoin/bitcoind/bitcoin-mainnet-bitcoind-full",
|
"compose_file": "bitcoin/bitcoind/bitcoin-mainnet-bitcoind-full",
|
||||||
"features": [],
|
"features": [],
|
||||||
"network": "bitcoin",
|
"network": "bitcoin",
|
||||||
"node": null,
|
"node": "esplora",
|
||||||
"relay": null,
|
"relay": null,
|
||||||
"stack": null,
|
"stack": null,
|
||||||
"type": "full",
|
"type": "full",
|
||||||
"volumes": [
|
"volumes": [
|
||||||
"bitcoin-mainnet-bitcoind-full"
|
"bitcoin-mainnet-bitcoind-full",
|
||||||
|
"bitcoin-mainnet-bitcoind-full_esplora"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -1286,12 +1183,13 @@
|
|||||||
"compose_file": "bitcoin/bitcoind/bitcoin-testnet-bitcoind-full",
|
"compose_file": "bitcoin/bitcoind/bitcoin-testnet-bitcoind-full",
|
||||||
"features": [],
|
"features": [],
|
||||||
"network": "bitcoin",
|
"network": "bitcoin",
|
||||||
"node": null,
|
"node": "esplora",
|
||||||
"relay": null,
|
"relay": null,
|
||||||
"stack": null,
|
"stack": null,
|
||||||
"type": "full",
|
"type": "full",
|
||||||
"volumes": [
|
"volumes": [
|
||||||
"bitcoin-testnet-bitcoind-full"
|
"bitcoin-testnet-bitcoind-full",
|
||||||
|
"bitcoin-testnet-bitcoind-full_esplora"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -1932,34 +1830,6 @@
|
|||||||
"cronos-zkevm-testnet-external-node-pruned_db"
|
"cronos-zkevm-testnet-external-node-pruned_db"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"chain": "mainnet",
|
|
||||||
"client": "dashd",
|
|
||||||
"compose_file": "dash/dashd/dash-mainnet-dashd-full",
|
|
||||||
"features": [],
|
|
||||||
"network": "dash",
|
|
||||||
"node": null,
|
|
||||||
"relay": null,
|
|
||||||
"stack": null,
|
|
||||||
"type": "full",
|
|
||||||
"volumes": [
|
|
||||||
"dash-mainnet-dashd-full"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"chain": "mainnet",
|
|
||||||
"client": "digibyted",
|
|
||||||
"compose_file": "digibyte/digibyted/digibyte-mainnet-digibyted-full",
|
|
||||||
"features": [],
|
|
||||||
"network": "digibyte",
|
|
||||||
"node": null,
|
|
||||||
"relay": null,
|
|
||||||
"stack": null,
|
|
||||||
"type": "full",
|
|
||||||
"volumes": [
|
|
||||||
"digibyte-mainnet-digibyted-full"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"chain": "mainnet",
|
"chain": "mainnet",
|
||||||
"client": "dogecoind",
|
"client": "dogecoind",
|
||||||
@@ -3407,54 +3277,6 @@
|
|||||||
"immutable-zkevm-testnet-geth-pruned-pebble-path"
|
"immutable-zkevm-testnet-geth-pruned-pebble-path"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"chain": "mainnet",
|
|
||||||
"client": "aldaba",
|
|
||||||
"compose_file": "jovay/aldaba/jovay-mainnet-aldaba-pruned",
|
|
||||||
"features": [],
|
|
||||||
"network": "jovay",
|
|
||||||
"node": "conf",
|
|
||||||
"relay": null,
|
|
||||||
"stack": null,
|
|
||||||
"type": "pruned",
|
|
||||||
"volumes": [
|
|
||||||
"jovay-mainnet-aldaba-pruned",
|
|
||||||
"jovay-mainnet-aldaba-pruned_conf",
|
|
||||||
"jovay-mainnet-aldaba-pruned_log"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"chain": "sepolia",
|
|
||||||
"client": "aldaba",
|
|
||||||
"compose_file": "jovay/aldaba/jovay-sepolia-aldaba-pruned",
|
|
||||||
"features": [],
|
|
||||||
"network": "jovay",
|
|
||||||
"node": "conf",
|
|
||||||
"relay": null,
|
|
||||||
"stack": null,
|
|
||||||
"type": "pruned",
|
|
||||||
"volumes": [
|
|
||||||
"jovay-sepolia-aldaba-pruned",
|
|
||||||
"jovay-sepolia-aldaba-pruned_conf",
|
|
||||||
"jovay-sepolia-aldaba-pruned_log"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"chain": "mainnet",
|
|
||||||
"client": "go",
|
|
||||||
"compose_file": "kite/go/kite-mainnet-go-pruned-leveldb",
|
|
||||||
"features": [
|
|
||||||
"leveldb"
|
|
||||||
],
|
|
||||||
"network": "kite",
|
|
||||||
"node": null,
|
|
||||||
"relay": null,
|
|
||||||
"stack": null,
|
|
||||||
"type": "pruned",
|
|
||||||
"volumes": [
|
|
||||||
"kite-mainnet-go-pruned-leveldb"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"chain": "mainnet",
|
"chain": "mainnet",
|
||||||
"client": "external-node",
|
"client": "external-node",
|
||||||
@@ -7941,22 +7763,6 @@
|
|||||||
"ripple-mainnet-rippled-pruned-nudb"
|
"ripple-mainnet-rippled-pruned-nudb"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"chain": "testnet",
|
|
||||||
"client": "rippled",
|
|
||||||
"compose_file": "ripple/rippled/ripple-testnet-rippled-pruned-nudb",
|
|
||||||
"features": [
|
|
||||||
"nudb"
|
|
||||||
],
|
|
||||||
"network": "ripple",
|
|
||||||
"node": null,
|
|
||||||
"relay": null,
|
|
||||||
"stack": null,
|
|
||||||
"type": "pruned",
|
|
||||||
"volumes": [
|
|
||||||
"ripple-testnet-rippled-pruned-nudb"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"chain": "mainnet",
|
"chain": "mainnet",
|
||||||
"client": "ronin",
|
"client": "ronin",
|
||||||
@@ -8519,36 +8325,6 @@
|
|||||||
"starknet-sepolia-pathfinder-pruned"
|
"starknet-sepolia-pathfinder-pruned"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"chain": "mainnet",
|
|
||||||
"client": "tacchaind",
|
|
||||||
"compose_file": "tac/tacchaind/tac-mainnet-tacchaind-pruned",
|
|
||||||
"features": [],
|
|
||||||
"network": "tac",
|
|
||||||
"node": "config",
|
|
||||||
"relay": null,
|
|
||||||
"stack": null,
|
|
||||||
"type": "pruned",
|
|
||||||
"volumes": [
|
|
||||||
"tac-mainnet-tacchaind-pruned",
|
|
||||||
"tac-mainnet-tacchaind-pruned_config"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"chain": "spb",
|
|
||||||
"client": "tacchaind",
|
|
||||||
"compose_file": "tac/tacchaind/tac-spb-tacchaind-pruned",
|
|
||||||
"features": [],
|
|
||||||
"network": "tac",
|
|
||||||
"node": "config",
|
|
||||||
"relay": null,
|
|
||||||
"stack": null,
|
|
||||||
"type": "pruned",
|
|
||||||
"volumes": [
|
|
||||||
"tac-spb-tacchaind-pruned",
|
|
||||||
"tac-spb-tacchaind-pruned_config"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"chain": "alethia",
|
"chain": "alethia",
|
||||||
"client": "geth",
|
"client": "geth",
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ services:
|
|||||||
context: ./cronos
|
context: ./cronos
|
||||||
dockerfile: cometbft.Dockerfile
|
dockerfile: cometbft.Dockerfile
|
||||||
args:
|
args:
|
||||||
CRONOS_CRONOS_VERSION: ${CRONOS_MAINNET_CRONOS_VERSION:-v1.7.8}
|
CRONOS_CRONOS_VERSION: ${CRONOS_MAINNET_CRONOS_VERSION:-v1.7.7}
|
||||||
CRONOS_CRONOS_IMAGE: ${CRONOS_MAINNET_CRONOS_IMAGE:-ghcr.io/crypto-org-chain/cronos}
|
CRONOS_CRONOS_IMAGE: ${CRONOS_MAINNET_CRONOS_IMAGE:-ghcr.io/crypto-org-chain/cronos}
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
|
|||||||
@@ -1,140 +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:dash/dashd/dash-mainnet-dashd-full.yml
|
|
||||||
#
|
|
||||||
# docker compose up -d
|
|
||||||
#
|
|
||||||
# curl -X POST https://${IP}.traefik.me/dash-mainnet \
|
|
||||||
# -H "Content-Type: application/json" \
|
|
||||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
|
||||||
|
|
||||||
services:
|
|
||||||
dash-mainnet:
|
|
||||||
image: ${DASH_DASHD_IMAGE:-dashpay/dashd}:${DASH_MAINNET_DASHD_VERSION:-23.1.7}
|
|
||||||
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:
|
|
||||||
- 11650:11650
|
|
||||||
- 11650:11650/udp
|
|
||||||
expose:
|
|
||||||
- 8545
|
|
||||||
- '28332' # ZMQ hashblock port
|
|
||||||
- '28333' # ZMQ hashtx port
|
|
||||||
- '28334' # ZMQ rawblock port
|
|
||||||
- '28335' # ZMQ rawtx port
|
|
||||||
entrypoint: [dashd]
|
|
||||||
command:
|
|
||||||
- -datadir=/data
|
|
||||||
- -dbcache=2048
|
|
||||||
- -disablewallet=1
|
|
||||||
- -externalip=${IP}
|
|
||||||
- -port=11650
|
|
||||||
- -printtoconsole
|
|
||||||
- -rpcallowip=::/0
|
|
||||||
- -rpcauth=username:0b6623bdebb516ced10631668833e42a$$c478b38890678c51b9f013174a20addb317c2046b68c05e0250ff86e31a505f7
|
|
||||||
- -rpcbind=0.0.0.0
|
|
||||||
- -rpcport=8545
|
|
||||||
- -server
|
|
||||||
- -txindex=1
|
|
||||||
- -zmqpubhashblock=tcp://0.0.0.0:28332
|
|
||||||
- -zmqpubhashtx=tcp://0.0.0.0:28333
|
|
||||||
- -zmqpubrawblock=tcp://0.0.0.0:28334
|
|
||||||
- -zmqpubrawtx=tcp://0.0.0.0:28335
|
|
||||||
restart: unless-stopped
|
|
||||||
stop_grace_period: 5m
|
|
||||||
networks:
|
|
||||||
- chains
|
|
||||||
volumes:
|
|
||||||
- ${DASH_MAINNET_DASHD_FULL_DATA:-dash-mainnet-dashd-full}:/data
|
|
||||||
- /slowdisk:/slowdisk
|
|
||||||
logging: *logging-defaults
|
|
||||||
labels:
|
|
||||||
- prometheus-scrape.enabled=false
|
|
||||||
- traefik.enable=true
|
|
||||||
- traefik.http.middlewares.dash-mainnet-dashd-full-stripprefix.stripprefix.prefixes=/dash-mainnet
|
|
||||||
- traefik.http.services.dash-mainnet-dashd-full.loadbalancer.server.port=8545
|
|
||||||
- ${NO_SSL:-traefik.http.routers.dash-mainnet-dashd-full.entrypoints=websecure}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.dash-mainnet-dashd-full.tls.certresolver=myresolver}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.dash-mainnet-dashd-full.rule=Host(`$DOMAIN`) && (Path(`/dash-mainnet`) || Path(`/dash-mainnet/`))}
|
|
||||||
- ${NO_SSL:+traefik.http.routers.dash-mainnet-dashd-full.rule=Path(`/dash-mainnet`) || Path(`/dash-mainnet/`)}
|
|
||||||
- traefik.http.routers.dash-mainnet-dashd-full.middlewares=dash-mainnet-dashd-full-stripprefix, ipallowlist
|
|
||||||
- traefik.http.routers.dash-mainnet-dashd-full.service=dash-mainnet-dashd-full
|
|
||||||
- traefik.http.routers.dash-mainnet-dashd-full-hashblock.service=dash-mainnet-dashd-full-hashblock
|
|
||||||
- traefik.http.services.dash-mainnet-dashd-full-hashblock.loadbalancer.server.port=28332
|
|
||||||
- ${NO_SSL:-traefik.http.routers.dash-mainnet-dashd-full-hashblock.entrypoints=websecure}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.dash-mainnet-dashd-full-hashblock.tls.certresolver=myresolver}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.dash-mainnet-dashd-full-hashblock.rule=Host(`$DOMAIN`) && PathPrefix(`/dash-mainnet/hashblock`)}
|
|
||||||
- ${NO_SSL:+traefik.http.routers.dash-mainnet-dashd-full-hashblock.rule=PathPrefix(`/dash-mainnet/hashblock`)}
|
|
||||||
- traefik.http.routers.dash-mainnet-dashd-full-hashblock.middlewares=dash-mainnet-dashd-full-stripprefix, ipallowlist
|
|
||||||
- traefik.http.routers.dash-mainnet-dashd-full-hashtx.service=dash-mainnet-dashd-full-hashtx
|
|
||||||
- traefik.http.services.dash-mainnet-dashd-full-hashtx.loadbalancer.server.port=28333
|
|
||||||
- ${NO_SSL:-traefik.http.routers.dash-mainnet-dashd-full-hashtx.entrypoints=websecure}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.dash-mainnet-dashd-full-hashtx.tls.certresolver=myresolver}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.dash-mainnet-dashd-full-hashtx.rule=Host(`$DOMAIN`) && PathPrefix(`/dash-mainnet/hashtx`)}
|
|
||||||
- ${NO_SSL:+traefik.http.routers.dash-mainnet-dashd-full-hashtx.rule=PathPrefix(`/dash-mainnet/hashtx`)}
|
|
||||||
- traefik.http.routers.dash-mainnet-dashd-full-hashtx.middlewares=dash-mainnet-dashd-full-stripprefix, ipallowlist
|
|
||||||
- traefik.http.routers.dash-mainnet-dashd-full-rawblock.service=dash-mainnet-dashd-full-rawblock
|
|
||||||
- traefik.http.services.dash-mainnet-dashd-full-rawblock.loadbalancer.server.port=28334
|
|
||||||
- ${NO_SSL:-traefik.http.routers.dash-mainnet-dashd-full-rawblock.entrypoints=websecure}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.dash-mainnet-dashd-full-rawblock.tls.certresolver=myresolver}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.dash-mainnet-dashd-full-rawblock.rule=Host(`$DOMAIN`) && PathPrefix(`/dash-mainnet/rawblock`)}
|
|
||||||
- ${NO_SSL:+traefik.http.routers.dash-mainnet-dashd-full-rawblock.rule=PathPrefix(`/dash-mainnet/rawblock`)}
|
|
||||||
- traefik.http.routers.dash-mainnet-dashd-full-rawblock.middlewares=dash-mainnet-dashd-full-stripprefix, ipallowlist
|
|
||||||
- traefik.http.routers.dash-mainnet-dashd-full-rawtx.service=dash-mainnet-dashd-full-rawtx
|
|
||||||
- traefik.http.services.dash-mainnet-dashd-full-rawtx.loadbalancer.server.port=28335
|
|
||||||
- ${NO_SSL:-traefik.http.routers.dash-mainnet-dashd-full-rawtx.entrypoints=websecure}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.dash-mainnet-dashd-full-rawtx.tls.certresolver=myresolver}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.dash-mainnet-dashd-full-rawtx.rule=Host(`$DOMAIN`) && PathPrefix(`/dash-mainnet/rawtx`)}
|
|
||||||
- ${NO_SSL:+traefik.http.routers.dash-mainnet-dashd-full-rawtx.rule=PathPrefix(`/dash-mainnet/rawtx`)}
|
|
||||||
- traefik.http.routers.dash-mainnet-dashd-full-rawtx.middlewares=dash-mainnet-dashd-full-stripprefix, ipallowlist
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
dash-mainnet-dashd-full:
|
|
||||||
|
|
||||||
x-upstreams:
|
|
||||||
- id: $${ID}
|
|
||||||
labels:
|
|
||||||
provider: $${PROVIDER}
|
|
||||||
connection:
|
|
||||||
bitcoin:
|
|
||||||
rpc:
|
|
||||||
url: $${RPC_URL}
|
|
||||||
basic-auth:
|
|
||||||
username: username
|
|
||||||
password: password
|
|
||||||
zeromq:
|
|
||||||
address: $${RPC_URL}/hashblock
|
|
||||||
chain: dash
|
|
||||||
...
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
# digibyted — official release tarball (no Docker image upstream).
|
|
||||||
ARG VERSION=9.26.3
|
|
||||||
|
|
||||||
FROM debian:stable-slim
|
|
||||||
|
|
||||||
ARG VERSION
|
|
||||||
ARG SHA256=51465a7a7409dc9a734e463b8fd95fb9773033753d79504de946ab2a0aa0991c
|
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
||||||
ca-certificates \
|
|
||||||
curl \
|
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
WORKDIR /tmp
|
|
||||||
RUN curl -fsSL -o digibyte.tar.gz \
|
|
||||||
"https://github.com/DigiByte-Core/digibyte/releases/download/v${VERSION}/digibyte-${VERSION}-x86_64-linux-gnu.tar.gz" \
|
|
||||||
&& echo "${SHA256} digibyte.tar.gz" | sha256sum -c - \
|
|
||||||
&& tar xzf digibyte.tar.gz \
|
|
||||||
&& cp "digibyte-${VERSION}/bin/digibyted" "digibyte-${VERSION}/bin/digibyte-cli" /usr/local/bin/ \
|
|
||||||
&& rm -rf /tmp/*
|
|
||||||
|
|
||||||
EXPOSE 8545 12024
|
|
||||||
|
|
||||||
ENTRYPOINT ["digibyted"]
|
|
||||||
@@ -1,144 +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:digibyte/digibyted/digibyte-mainnet-digibyted-full.yml
|
|
||||||
#
|
|
||||||
# docker compose up -d
|
|
||||||
#
|
|
||||||
# curl -X POST https://${IP}.traefik.me/digibyte-mainnet \
|
|
||||||
# -H "Content-Type: application/json" \
|
|
||||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
|
||||||
|
|
||||||
services:
|
|
||||||
digibyte-mainnet:
|
|
||||||
build:
|
|
||||||
context: ./digibyte
|
|
||||||
dockerfile: digibyted.Dockerfile
|
|
||||||
args:
|
|
||||||
VERSION: ${DIGIBYTE_MAINNET_DIGIBYTED_VERSION:-9.26.3}
|
|
||||||
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:
|
|
||||||
- 11254:11254
|
|
||||||
- 11254:11254/udp
|
|
||||||
expose:
|
|
||||||
- 8545
|
|
||||||
- '28332' # ZMQ hashblock port
|
|
||||||
- '28333' # ZMQ hashtx port
|
|
||||||
- '28334' # ZMQ rawblock port
|
|
||||||
- '28335' # ZMQ rawtx port
|
|
||||||
entrypoint: [digibyted]
|
|
||||||
command:
|
|
||||||
- -datadir=/data
|
|
||||||
- -dbcache=2048
|
|
||||||
- -disablewallet=1
|
|
||||||
- -externalip=${IP}
|
|
||||||
- -port=11254
|
|
||||||
- -printtoconsole
|
|
||||||
- -rpcallowip=::/0
|
|
||||||
- -rpcauth=username:0b6623bdebb516ced10631668833e42a$$c478b38890678c51b9f013174a20addb317c2046b68c05e0250ff86e31a505f7
|
|
||||||
- -rpcbind=0.0.0.0
|
|
||||||
- -rpcport=8545
|
|
||||||
- -server
|
|
||||||
- -txindex=1
|
|
||||||
- -zmqpubhashblock=tcp://0.0.0.0:28332
|
|
||||||
- -zmqpubhashtx=tcp://0.0.0.0:28333
|
|
||||||
- -zmqpubrawblock=tcp://0.0.0.0:28334
|
|
||||||
- -zmqpubrawtx=tcp://0.0.0.0:28335
|
|
||||||
restart: unless-stopped
|
|
||||||
stop_grace_period: 5m
|
|
||||||
networks:
|
|
||||||
- chains
|
|
||||||
volumes:
|
|
||||||
- ${DIGIBYTE_MAINNET_DIGIBYTED_FULL_DATA:-digibyte-mainnet-digibyted-full}:/data
|
|
||||||
- /slowdisk:/slowdisk
|
|
||||||
logging: *logging-defaults
|
|
||||||
labels:
|
|
||||||
- prometheus-scrape.enabled=false
|
|
||||||
- traefik.enable=true
|
|
||||||
- traefik.http.middlewares.digibyte-mainnet-digibyted-full-stripprefix.stripprefix.prefixes=/digibyte-mainnet
|
|
||||||
- traefik.http.services.digibyte-mainnet-digibyted-full.loadbalancer.server.port=8545
|
|
||||||
- ${NO_SSL:-traefik.http.routers.digibyte-mainnet-digibyted-full.entrypoints=websecure}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.digibyte-mainnet-digibyted-full.tls.certresolver=myresolver}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.digibyte-mainnet-digibyted-full.rule=Host(`$DOMAIN`) && (Path(`/digibyte-mainnet`) || Path(`/digibyte-mainnet/`))}
|
|
||||||
- ${NO_SSL:+traefik.http.routers.digibyte-mainnet-digibyted-full.rule=Path(`/digibyte-mainnet`) || Path(`/digibyte-mainnet/`)}
|
|
||||||
- traefik.http.routers.digibyte-mainnet-digibyted-full.middlewares=digibyte-mainnet-digibyted-full-stripprefix, ipallowlist
|
|
||||||
- traefik.http.routers.digibyte-mainnet-digibyted-full.service=digibyte-mainnet-digibyted-full
|
|
||||||
- traefik.http.routers.digibyte-mainnet-digibyted-full-hashblock.service=digibyte-mainnet-digibyted-full-hashblock
|
|
||||||
- traefik.http.services.digibyte-mainnet-digibyted-full-hashblock.loadbalancer.server.port=28332
|
|
||||||
- ${NO_SSL:-traefik.http.routers.digibyte-mainnet-digibyted-full-hashblock.entrypoints=websecure}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.digibyte-mainnet-digibyted-full-hashblock.tls.certresolver=myresolver}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.digibyte-mainnet-digibyted-full-hashblock.rule=Host(`$DOMAIN`) && PathPrefix(`/digibyte-mainnet/hashblock`)}
|
|
||||||
- ${NO_SSL:+traefik.http.routers.digibyte-mainnet-digibyted-full-hashblock.rule=PathPrefix(`/digibyte-mainnet/hashblock`)}
|
|
||||||
- traefik.http.routers.digibyte-mainnet-digibyted-full-hashblock.middlewares=digibyte-mainnet-digibyted-full-stripprefix, ipallowlist
|
|
||||||
- traefik.http.routers.digibyte-mainnet-digibyted-full-hashtx.service=digibyte-mainnet-digibyted-full-hashtx
|
|
||||||
- traefik.http.services.digibyte-mainnet-digibyted-full-hashtx.loadbalancer.server.port=28333
|
|
||||||
- ${NO_SSL:-traefik.http.routers.digibyte-mainnet-digibyted-full-hashtx.entrypoints=websecure}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.digibyte-mainnet-digibyted-full-hashtx.tls.certresolver=myresolver}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.digibyte-mainnet-digibyted-full-hashtx.rule=Host(`$DOMAIN`) && PathPrefix(`/digibyte-mainnet/hashtx`)}
|
|
||||||
- ${NO_SSL:+traefik.http.routers.digibyte-mainnet-digibyted-full-hashtx.rule=PathPrefix(`/digibyte-mainnet/hashtx`)}
|
|
||||||
- traefik.http.routers.digibyte-mainnet-digibyted-full-hashtx.middlewares=digibyte-mainnet-digibyted-full-stripprefix, ipallowlist
|
|
||||||
- traefik.http.routers.digibyte-mainnet-digibyted-full-rawblock.service=digibyte-mainnet-digibyted-full-rawblock
|
|
||||||
- traefik.http.services.digibyte-mainnet-digibyted-full-rawblock.loadbalancer.server.port=28334
|
|
||||||
- ${NO_SSL:-traefik.http.routers.digibyte-mainnet-digibyted-full-rawblock.entrypoints=websecure}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.digibyte-mainnet-digibyted-full-rawblock.tls.certresolver=myresolver}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.digibyte-mainnet-digibyted-full-rawblock.rule=Host(`$DOMAIN`) && PathPrefix(`/digibyte-mainnet/rawblock`)}
|
|
||||||
- ${NO_SSL:+traefik.http.routers.digibyte-mainnet-digibyted-full-rawblock.rule=PathPrefix(`/digibyte-mainnet/rawblock`)}
|
|
||||||
- traefik.http.routers.digibyte-mainnet-digibyted-full-rawblock.middlewares=digibyte-mainnet-digibyted-full-stripprefix, ipallowlist
|
|
||||||
- traefik.http.routers.digibyte-mainnet-digibyted-full-rawtx.service=digibyte-mainnet-digibyted-full-rawtx
|
|
||||||
- traefik.http.services.digibyte-mainnet-digibyted-full-rawtx.loadbalancer.server.port=28335
|
|
||||||
- ${NO_SSL:-traefik.http.routers.digibyte-mainnet-digibyted-full-rawtx.entrypoints=websecure}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.digibyte-mainnet-digibyted-full-rawtx.tls.certresolver=myresolver}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.digibyte-mainnet-digibyted-full-rawtx.rule=Host(`$DOMAIN`) && PathPrefix(`/digibyte-mainnet/rawtx`)}
|
|
||||||
- ${NO_SSL:+traefik.http.routers.digibyte-mainnet-digibyted-full-rawtx.rule=PathPrefix(`/digibyte-mainnet/rawtx`)}
|
|
||||||
- traefik.http.routers.digibyte-mainnet-digibyted-full-rawtx.middlewares=digibyte-mainnet-digibyted-full-stripprefix, ipallowlist
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
digibyte-mainnet-digibyted-full:
|
|
||||||
|
|
||||||
x-upstreams:
|
|
||||||
- id: $${ID}
|
|
||||||
labels:
|
|
||||||
provider: $${PROVIDER}
|
|
||||||
connection:
|
|
||||||
bitcoin:
|
|
||||||
rpc:
|
|
||||||
url: $${RPC_URL}
|
|
||||||
basic-auth:
|
|
||||||
username: username
|
|
||||||
password: password
|
|
||||||
zeromq:
|
|
||||||
address: $${RPC_URL}/hashblock
|
|
||||||
chain: digibyte
|
|
||||||
...
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
dshackle-free:
|
dshackle-free:
|
||||||
image: drpcorg/dshackle:0.79.10
|
image: drpcorg/dshackle:0.79.5
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ./free_configs:/etc/dshackle
|
- ./free_configs:/etc/dshackle
|
||||||
|
|||||||
2
drpc.yml
2
drpc.yml
@@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
dshackle:
|
dshackle:
|
||||||
image: drpcorg/dshackle:0.79.10
|
image: drpcorg/dshackle:0.79.5
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ./main_configs:/etc/dshackle
|
- ./main_configs:/etc/dshackle
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
ethereum-mainnet-besu:
|
ethereum-mainnet-besu:
|
||||||
image: ${ETHEREUM_BESU_IMAGE:-hyperledger/besu}:${ETHEREUM_MAINNET_BESU_VERSION:-26.6.1}
|
image: ${ETHEREUM_BESU_IMAGE:-hyperledger/besu}:${ETHEREUM_MAINNET_BESU_VERSION:-26.5.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
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
ethereum-hoodi-erigon3-archive:
|
ethereum-hoodi-erigon3-archive:
|
||||||
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_HOODI_ERIGON3_VERSION:-v3.5.0}
|
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_HOODI_ERIGON3_VERSION:-v3.4.4}
|
||||||
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
|
||||||
@@ -53,6 +53,10 @@ services:
|
|||||||
- 19715:19715/udp
|
- 19715:19715/udp
|
||||||
- 29715:29715
|
- 29715:29715
|
||||||
- 29715:29715/udp
|
- 29715:29715/udp
|
||||||
|
- 34715:34715
|
||||||
|
- 34715:34715/udp
|
||||||
|
- 39715:39715
|
||||||
|
- 39715:39715/udp
|
||||||
expose:
|
expose:
|
||||||
- 8545
|
- 8545
|
||||||
- 5555
|
- 5555
|
||||||
@@ -79,6 +83,8 @@ services:
|
|||||||
- --metrics.addr=0.0.0.0
|
- --metrics.addr=0.0.0.0
|
||||||
- --metrics.port=6060
|
- --metrics.port=6060
|
||||||
- --nat=extip:${IP}
|
- --nat=extip:${IP}
|
||||||
|
- --p2p.allowed-ports=34715
|
||||||
|
- --p2p.allowed-ports=39715
|
||||||
- --port=14715
|
- --port=14715
|
||||||
- --prune.mode=archive
|
- --prune.mode=archive
|
||||||
- --rpc.evmtimeout=${ETHEREUM_HOODI_ERIGON3_ARCHIVE_TRACE_EVMTIMEOUT:-5m0s}
|
- --rpc.evmtimeout=${ETHEREUM_HOODI_ERIGON3_ARCHIVE_TRACE_EVMTIMEOUT:-5m0s}
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
ethereum-hoodi-erigon3-minimal:
|
ethereum-hoodi-erigon3-minimal:
|
||||||
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_HOODI_ERIGON3_VERSION:-v3.5.0}
|
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_HOODI_ERIGON3_VERSION:-v3.4.4}
|
||||||
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
|
||||||
@@ -53,6 +53,10 @@ services:
|
|||||||
- 17832:17832/udp
|
- 17832:17832/udp
|
||||||
- 27832:27832
|
- 27832:27832
|
||||||
- 27832:27832/udp
|
- 27832:27832/udp
|
||||||
|
- 32832:32832
|
||||||
|
- 32832:32832/udp
|
||||||
|
- 37832:37832
|
||||||
|
- 37832:37832/udp
|
||||||
expose:
|
expose:
|
||||||
- 8545
|
- 8545
|
||||||
- 5555
|
- 5555
|
||||||
@@ -78,6 +82,8 @@ services:
|
|||||||
- --metrics.addr=0.0.0.0
|
- --metrics.addr=0.0.0.0
|
||||||
- --metrics.port=6060
|
- --metrics.port=6060
|
||||||
- --nat=extip:${IP}
|
- --nat=extip:${IP}
|
||||||
|
- --p2p.allowed-ports=32832
|
||||||
|
- --p2p.allowed-ports=37832
|
||||||
- --persist.receipts=false
|
- --persist.receipts=false
|
||||||
- --port=12832
|
- --port=12832
|
||||||
- --prune.mode=minimal
|
- --prune.mode=minimal
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
ethereum-hoodi-erigon3:
|
ethereum-hoodi-erigon3:
|
||||||
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_HOODI_ERIGON3_VERSION:-v3.5.0}
|
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_HOODI_ERIGON3_VERSION:-v3.4.4}
|
||||||
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
|
||||||
@@ -53,6 +53,10 @@ services:
|
|||||||
- 16857:16857/udp
|
- 16857:16857/udp
|
||||||
- 26857:26857
|
- 26857:26857
|
||||||
- 26857:26857/udp
|
- 26857:26857/udp
|
||||||
|
- 31857:31857
|
||||||
|
- 31857:31857/udp
|
||||||
|
- 36857:36857
|
||||||
|
- 36857:36857/udp
|
||||||
expose:
|
expose:
|
||||||
- 8545
|
- 8545
|
||||||
- 5555
|
- 5555
|
||||||
@@ -78,6 +82,8 @@ services:
|
|||||||
- --metrics.addr=0.0.0.0
|
- --metrics.addr=0.0.0.0
|
||||||
- --metrics.port=6060
|
- --metrics.port=6060
|
||||||
- --nat=extip:${IP}
|
- --nat=extip:${IP}
|
||||||
|
- --p2p.allowed-ports=31857
|
||||||
|
- --p2p.allowed-ports=36857
|
||||||
- --persist.receipts=false
|
- --persist.receipts=false
|
||||||
- --port=11857
|
- --port=11857
|
||||||
- --prune.mode=full
|
- --prune.mode=full
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
ethereum-mainnet-erigon3-archive:
|
ethereum-mainnet-erigon3-archive:
|
||||||
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_MAINNET_ERIGON3_VERSION:-v3.5.0}
|
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_MAINNET_ERIGON3_VERSION:-v3.4.4}
|
||||||
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
|
||||||
@@ -53,6 +53,10 @@ services:
|
|||||||
- 16675:16675/udp
|
- 16675:16675/udp
|
||||||
- 26675:26675
|
- 26675:26675
|
||||||
- 26675:26675/udp
|
- 26675:26675/udp
|
||||||
|
- 31675:31675
|
||||||
|
- 31675:31675/udp
|
||||||
|
- 36675:36675
|
||||||
|
- 36675:36675/udp
|
||||||
expose:
|
expose:
|
||||||
- 8545
|
- 8545
|
||||||
- 5555
|
- 5555
|
||||||
@@ -79,6 +83,8 @@ services:
|
|||||||
- --metrics.addr=0.0.0.0
|
- --metrics.addr=0.0.0.0
|
||||||
- --metrics.port=6060
|
- --metrics.port=6060
|
||||||
- --nat=extip:${IP}
|
- --nat=extip:${IP}
|
||||||
|
- --p2p.allowed-ports=31675
|
||||||
|
- --p2p.allowed-ports=36675
|
||||||
- --port=11675
|
- --port=11675
|
||||||
- --prune.mode=archive
|
- --prune.mode=archive
|
||||||
- --rpc.evmtimeout=${ETHEREUM_MAINNET_ERIGON3_ARCHIVE_TRACE_EVMTIMEOUT:-5m0s}
|
- --rpc.evmtimeout=${ETHEREUM_MAINNET_ERIGON3_ARCHIVE_TRACE_EVMTIMEOUT:-5m0s}
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
ethereum-mainnet-erigon3-minimal:
|
ethereum-mainnet-erigon3-minimal:
|
||||||
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_MAINNET_ERIGON3_VERSION:-v3.5.0}
|
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_MAINNET_ERIGON3_VERSION:-v3.4.4}
|
||||||
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
|
||||||
@@ -53,6 +53,10 @@ services:
|
|||||||
- 19614:19614/udp
|
- 19614:19614/udp
|
||||||
- 29614:29614
|
- 29614:29614
|
||||||
- 29614:29614/udp
|
- 29614:29614/udp
|
||||||
|
- 34614:34614
|
||||||
|
- 34614:34614/udp
|
||||||
|
- 39614:39614
|
||||||
|
- 39614:39614/udp
|
||||||
expose:
|
expose:
|
||||||
- 8545
|
- 8545
|
||||||
- 5555
|
- 5555
|
||||||
@@ -78,6 +82,8 @@ services:
|
|||||||
- --metrics.addr=0.0.0.0
|
- --metrics.addr=0.0.0.0
|
||||||
- --metrics.port=6060
|
- --metrics.port=6060
|
||||||
- --nat=extip:${IP}
|
- --nat=extip:${IP}
|
||||||
|
- --p2p.allowed-ports=34614
|
||||||
|
- --p2p.allowed-ports=39614
|
||||||
- --persist.receipts=false
|
- --persist.receipts=false
|
||||||
- --port=14614
|
- --port=14614
|
||||||
- --prune.mode=minimal
|
- --prune.mode=minimal
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
ethereum-mainnet-erigon3:
|
ethereum-mainnet-erigon3:
|
||||||
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_MAINNET_ERIGON3_VERSION:-v3.5.0}
|
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_MAINNET_ERIGON3_VERSION:-v3.4.4}
|
||||||
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
|
||||||
@@ -53,6 +53,10 @@ services:
|
|||||||
- 19616:19616/udp
|
- 19616:19616/udp
|
||||||
- 29616:29616
|
- 29616:29616
|
||||||
- 29616:29616/udp
|
- 29616:29616/udp
|
||||||
|
- 34616:34616
|
||||||
|
- 34616:34616/udp
|
||||||
|
- 39616:39616
|
||||||
|
- 39616:39616/udp
|
||||||
expose:
|
expose:
|
||||||
- 8545
|
- 8545
|
||||||
- 5555
|
- 5555
|
||||||
@@ -78,6 +82,8 @@ services:
|
|||||||
- --metrics.addr=0.0.0.0
|
- --metrics.addr=0.0.0.0
|
||||||
- --metrics.port=6060
|
- --metrics.port=6060
|
||||||
- --nat=extip:${IP}
|
- --nat=extip:${IP}
|
||||||
|
- --p2p.allowed-ports=34616
|
||||||
|
- --p2p.allowed-ports=39616
|
||||||
- --persist.receipts=false
|
- --persist.receipts=false
|
||||||
- --port=14616
|
- --port=14616
|
||||||
- --prune.mode=full
|
- --prune.mode=full
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
ethereum-sepolia-erigon3-archive:
|
ethereum-sepolia-erigon3-archive:
|
||||||
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_SEPOLIA_ERIGON3_VERSION:-v3.5.0}
|
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_SEPOLIA_ERIGON3_VERSION:-v3.4.4}
|
||||||
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
|
||||||
@@ -53,6 +53,10 @@ services:
|
|||||||
- 18317:18317/udp
|
- 18317:18317/udp
|
||||||
- 28317:28317
|
- 28317:28317
|
||||||
- 28317:28317/udp
|
- 28317:28317/udp
|
||||||
|
- 33317:33317
|
||||||
|
- 33317:33317/udp
|
||||||
|
- 38317:38317
|
||||||
|
- 38317:38317/udp
|
||||||
expose:
|
expose:
|
||||||
- 8545
|
- 8545
|
||||||
- 5555
|
- 5555
|
||||||
@@ -79,6 +83,8 @@ services:
|
|||||||
- --metrics.addr=0.0.0.0
|
- --metrics.addr=0.0.0.0
|
||||||
- --metrics.port=6060
|
- --metrics.port=6060
|
||||||
- --nat=extip:${IP}
|
- --nat=extip:${IP}
|
||||||
|
- --p2p.allowed-ports=33317
|
||||||
|
- --p2p.allowed-ports=38317
|
||||||
- --port=13317
|
- --port=13317
|
||||||
- --prune.mode=archive
|
- --prune.mode=archive
|
||||||
- --rpc.evmtimeout=${ETHEREUM_SEPOLIA_ERIGON3_ARCHIVE_TRACE_EVMTIMEOUT:-5m0s}
|
- --rpc.evmtimeout=${ETHEREUM_SEPOLIA_ERIGON3_ARCHIVE_TRACE_EVMTIMEOUT:-5m0s}
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
ethereum-sepolia-erigon3-minimal:
|
ethereum-sepolia-erigon3-minimal:
|
||||||
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_SEPOLIA_ERIGON3_VERSION:-v3.5.0}
|
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_SEPOLIA_ERIGON3_VERSION:-v3.4.4}
|
||||||
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
|
||||||
@@ -53,6 +53,10 @@ services:
|
|||||||
- 16087:16087/udp
|
- 16087:16087/udp
|
||||||
- 26087:26087
|
- 26087:26087
|
||||||
- 26087:26087/udp
|
- 26087:26087/udp
|
||||||
|
- 31087:31087
|
||||||
|
- 31087:31087/udp
|
||||||
|
- 36087:36087
|
||||||
|
- 36087:36087/udp
|
||||||
expose:
|
expose:
|
||||||
- 8545
|
- 8545
|
||||||
- 5555
|
- 5555
|
||||||
@@ -78,6 +82,8 @@ services:
|
|||||||
- --metrics.addr=0.0.0.0
|
- --metrics.addr=0.0.0.0
|
||||||
- --metrics.port=6060
|
- --metrics.port=6060
|
||||||
- --nat=extip:${IP}
|
- --nat=extip:${IP}
|
||||||
|
- --p2p.allowed-ports=31087
|
||||||
|
- --p2p.allowed-ports=36087
|
||||||
- --persist.receipts=false
|
- --persist.receipts=false
|
||||||
- --port=11087
|
- --port=11087
|
||||||
- --prune.mode=minimal
|
- --prune.mode=minimal
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
ethereum-sepolia-erigon3:
|
ethereum-sepolia-erigon3:
|
||||||
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_SEPOLIA_ERIGON3_VERSION:-v3.5.0}
|
image: ${ETHEREUM_ERIGON3_IMAGE:-erigontech/erigon}:${ETHEREUM_SEPOLIA_ERIGON3_VERSION:-v3.4.4}
|
||||||
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
|
||||||
@@ -53,6 +53,10 @@ services:
|
|||||||
- 16930:16930/udp
|
- 16930:16930/udp
|
||||||
- 26930:26930
|
- 26930:26930
|
||||||
- 26930:26930/udp
|
- 26930:26930/udp
|
||||||
|
- 31930:31930
|
||||||
|
- 31930:31930/udp
|
||||||
|
- 36930:36930
|
||||||
|
- 36930:36930/udp
|
||||||
expose:
|
expose:
|
||||||
- 8545
|
- 8545
|
||||||
- 5555
|
- 5555
|
||||||
@@ -78,6 +82,8 @@ services:
|
|||||||
- --metrics.addr=0.0.0.0
|
- --metrics.addr=0.0.0.0
|
||||||
- --metrics.port=6060
|
- --metrics.port=6060
|
||||||
- --nat=extip:${IP}
|
- --nat=extip:${IP}
|
||||||
|
- --p2p.allowed-ports=31930
|
||||||
|
- --p2p.allowed-ports=36930
|
||||||
- --persist.receipts=false
|
- --persist.receipts=false
|
||||||
- --port=11930
|
- --port=11930
|
||||||
- --prune.mode=full
|
- --prune.mode=full
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
gnosis-chiado-erigon3-archive:
|
gnosis-chiado-erigon3-archive:
|
||||||
image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_CHIADO_ERIGON3_VERSION:-v3.5.0}
|
image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_CHIADO_ERIGON3_VERSION:-v3.4.4}
|
||||||
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
|
||||||
@@ -81,6 +81,8 @@ services:
|
|||||||
- --metrics.addr=0.0.0.0
|
- --metrics.addr=0.0.0.0
|
||||||
- --metrics.port=6060
|
- --metrics.port=6060
|
||||||
- --nat=extip:${IP}
|
- --nat=extip:${IP}
|
||||||
|
- --p2p.allowed-ports=31986
|
||||||
|
- --p2p.allowed-ports=36986
|
||||||
- --port=11986
|
- --port=11986
|
||||||
- --prune.mode=archive
|
- --prune.mode=archive
|
||||||
- --rpc.evmtimeout=${GNOSIS_CHIADO_ERIGON3_ARCHIVE_TRACE_EVMTIMEOUT:-5m0s}
|
- --rpc.evmtimeout=${GNOSIS_CHIADO_ERIGON3_ARCHIVE_TRACE_EVMTIMEOUT:-5m0s}
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
gnosis-chiado-erigon3-minimal:
|
gnosis-chiado-erigon3-minimal:
|
||||||
image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_CHIADO_ERIGON3_VERSION:-v3.5.0}
|
image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_CHIADO_ERIGON3_VERSION:-v3.4.4}
|
||||||
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
|
||||||
@@ -81,6 +81,8 @@ services:
|
|||||||
- --metrics.addr=0.0.0.0
|
- --metrics.addr=0.0.0.0
|
||||||
- --metrics.port=6060
|
- --metrics.port=6060
|
||||||
- --nat=extip:${IP}
|
- --nat=extip:${IP}
|
||||||
|
- --p2p.allowed-ports=31010
|
||||||
|
- --p2p.allowed-ports=36010
|
||||||
- --persist.receipts=false
|
- --persist.receipts=false
|
||||||
- --port=11010
|
- --port=11010
|
||||||
- --prune.mode=minimal
|
- --prune.mode=minimal
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
gnosis-chiado-erigon3:
|
gnosis-chiado-erigon3:
|
||||||
image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_CHIADO_ERIGON3_VERSION:-v3.5.0}
|
image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_CHIADO_ERIGON3_VERSION:-v3.4.4}
|
||||||
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
|
||||||
@@ -81,6 +81,8 @@ services:
|
|||||||
- --metrics.addr=0.0.0.0
|
- --metrics.addr=0.0.0.0
|
||||||
- --metrics.port=6060
|
- --metrics.port=6060
|
||||||
- --nat=extip:${IP}
|
- --nat=extip:${IP}
|
||||||
|
- --p2p.allowed-ports=31886
|
||||||
|
- --p2p.allowed-ports=36886
|
||||||
- --persist.receipts=false
|
- --persist.receipts=false
|
||||||
- --port=11886
|
- --port=11886
|
||||||
- --prune.mode=full
|
- --prune.mode=full
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
gnosis-mainnet-erigon3-archive:
|
gnosis-mainnet-erigon3-archive:
|
||||||
image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_MAINNET_ERIGON3_VERSION:-v3.5.0}
|
image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_MAINNET_ERIGON3_VERSION:-v3.4.4}
|
||||||
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
|
||||||
@@ -81,6 +81,8 @@ services:
|
|||||||
- --metrics.addr=0.0.0.0
|
- --metrics.addr=0.0.0.0
|
||||||
- --metrics.port=6060
|
- --metrics.port=6060
|
||||||
- --nat=extip:${IP}
|
- --nat=extip:${IP}
|
||||||
|
- --p2p.allowed-ports=32974
|
||||||
|
- --p2p.allowed-ports=37974
|
||||||
- --port=12974
|
- --port=12974
|
||||||
- --prune.mode=archive
|
- --prune.mode=archive
|
||||||
- --rpc.evmtimeout=${GNOSIS_MAINNET_ERIGON3_ARCHIVE_TRACE_EVMTIMEOUT:-5m0s}
|
- --rpc.evmtimeout=${GNOSIS_MAINNET_ERIGON3_ARCHIVE_TRACE_EVMTIMEOUT:-5m0s}
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
gnosis-mainnet-erigon3-minimal:
|
gnosis-mainnet-erigon3-minimal:
|
||||||
image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_MAINNET_ERIGON3_VERSION:-v3.5.0}
|
image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_MAINNET_ERIGON3_VERSION:-v3.4.4}
|
||||||
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
|
||||||
@@ -81,6 +81,8 @@ services:
|
|||||||
- --metrics.addr=0.0.0.0
|
- --metrics.addr=0.0.0.0
|
||||||
- --metrics.port=6060
|
- --metrics.port=6060
|
||||||
- --nat=extip:${IP}
|
- --nat=extip:${IP}
|
||||||
|
- --p2p.allowed-ports=33429
|
||||||
|
- --p2p.allowed-ports=38429
|
||||||
- --persist.receipts=false
|
- --persist.receipts=false
|
||||||
- --port=13429
|
- --port=13429
|
||||||
- --prune.mode=minimal
|
- --prune.mode=minimal
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
gnosis-mainnet-erigon3:
|
gnosis-mainnet-erigon3:
|
||||||
image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_MAINNET_ERIGON3_VERSION:-v3.5.0}
|
image: ${GNOSIS_ERIGON3_IMAGE:-erigontech/erigon}:${GNOSIS_MAINNET_ERIGON3_VERSION:-v3.4.4}
|
||||||
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
|
||||||
@@ -81,6 +81,8 @@ services:
|
|||||||
- --metrics.addr=0.0.0.0
|
- --metrics.addr=0.0.0.0
|
||||||
- --metrics.port=6060
|
- --metrics.port=6060
|
||||||
- --nat=extip:${IP}
|
- --nat=extip:${IP}
|
||||||
|
- --p2p.allowed-ports=32147
|
||||||
|
- --p2p.allowed-ports=37147
|
||||||
- --persist.receipts=false
|
- --persist.receipts=false
|
||||||
- --port=12147
|
- --port=12147
|
||||||
- --prune.mode=full
|
- --prune.mode=full
|
||||||
|
|||||||
@@ -1,165 +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:jovay/aldaba/jovay-mainnet-aldaba-pruned.yml
|
|
||||||
#
|
|
||||||
# docker compose up -d
|
|
||||||
#
|
|
||||||
# curl -X POST https://${IP}.traefik.me/jovay-mainnet \
|
|
||||||
# -H "Content-Type: application/json" \
|
|
||||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
|
||||||
|
|
||||||
services:
|
|
||||||
jovay-mainnet-init-conf:
|
|
||||||
image: ${JOVAY_ALDABA_IMAGE:-jovay-release-registry.cn-hongkong.cr.aliyuncs.com/jovay/l2-rpc}:${JOVAY_MAINNET_ALDABA_VERSION:-0.14.0-rc1}
|
|
||||||
user: 0:0
|
|
||||||
entrypoint: [/bin/sh, -c]
|
|
||||||
command:
|
|
||||||
- |
|
|
||||||
set -e
|
|
||||||
if [ -z "$$(ls -A /conf 2>/dev/null)" ]; then
|
|
||||||
cp -a /opt/l2_deploy/conf/. /conf/
|
|
||||||
fi
|
|
||||||
restart: no
|
|
||||||
networks:
|
|
||||||
- chains
|
|
||||||
volumes:
|
|
||||||
- ${JOVAY_MAINNET_ALDABA_PRUNED_CONF:-jovay-mainnet-aldaba-pruned_conf}:/conf
|
|
||||||
logging: *logging-defaults
|
|
||||||
|
|
||||||
jovay-mainnet-init:
|
|
||||||
image: alpine:3.21
|
|
||||||
user: 0:0
|
|
||||||
entrypoint: [/bin/sh, -c]
|
|
||||||
command:
|
|
||||||
- |
|
|
||||||
set -e
|
|
||||||
apk add --no-cache wget coreutils
|
|
||||||
if [ ! -f /conf/genesis.aldaba-ng.conf ]; then
|
|
||||||
wget -qO /tmp/genesis.conf "http://dl.jovay.io/snapshot/genesis.conf"
|
|
||||||
echo "502c910cbc21137c606621622fe67d28 /tmp/genesis.conf" | md5sum -c -
|
|
||||||
mv /tmp/genesis.conf /conf/genesis.aldaba-ng.conf
|
|
||||||
fi
|
|
||||||
if [ ! -f /conf/VERSION ]; then
|
|
||||||
wget -qO /tmp/VERSION "http://dl.jovay.io/snapshot/VERSION_epoch16905"
|
|
||||||
echo "3b8bfc464d24c101e0b407aeba200345 /tmp/VERSION" | md5sum -c -
|
|
||||||
mv /tmp/VERSION /conf/VERSION
|
|
||||||
fi
|
|
||||||
restart: no
|
|
||||||
depends_on:
|
|
||||||
jovay-mainnet-init-conf:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
networks:
|
|
||||||
- chains
|
|
||||||
volumes:
|
|
||||||
- ${JOVAY_MAINNET_ALDABA_PRUNED_CONF:-jovay-mainnet-aldaba-pruned_conf}:/conf
|
|
||||||
logging: *logging-defaults
|
|
||||||
|
|
||||||
jovay-mainnet:
|
|
||||||
image: ${JOVAY_ALDABA_IMAGE:-jovay-release-registry.cn-hongkong.cr.aliyuncs.com/jovay/l2-rpc}:${JOVAY_MAINNET_ALDABA_VERSION:-0.14.0-rc1}
|
|
||||||
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: 1000:1000
|
|
||||||
expose:
|
|
||||||
- 18100
|
|
||||||
- 18200
|
|
||||||
- 19000
|
|
||||||
environment:
|
|
||||||
- EXTERNAL_CLB_PRE_EXPOSERPC_URL=noise_tcp://47.83.131.74:52398?842016e6eb94da561b1b4c856e08bf71cd70c05ea847e934b8be1d5a74a979f8;noise_tcp://47.83.131.74:52399?ce08efde90a7970d18dd6763fdc68d19a24084fd7c8cf67a68a19e943b30c5e3
|
|
||||||
- SEQUENCER_ADVERTISE_NODE_URL=alb-cnjrn9zqms3o5flehu.cn-hongkong.alb.aliyuncsslbintl.com:80
|
|
||||||
restart: unless-stopped
|
|
||||||
stop_grace_period: 5m
|
|
||||||
depends_on:
|
|
||||||
jovay-mainnet-init:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
networks:
|
|
||||||
- chains
|
|
||||||
volumes:
|
|
||||||
- ${JOVAY_MAINNET_ALDABA_PRUNED_CONF:-jovay-mainnet-aldaba-pruned_conf}:/opt/l2_deploy/conf
|
|
||||||
- ${JOVAY_MAINNET_ALDABA_PRUNED_DATA:-jovay-mainnet-aldaba-pruned}:/opt/l2_deploy/light/data
|
|
||||||
- ${JOVAY_MAINNET_ALDABA_PRUNED_LOG:-jovay-mainnet-aldaba-pruned_log}:/opt/l2_deploy/light/log
|
|
||||||
- type: volume
|
|
||||||
source: ${JOVAY_MAINNET_ALDABA_PRUNED_CONF:-jovay-mainnet-aldaba-pruned_conf}
|
|
||||||
target: /opt/l2_deploy/bin/VERSION
|
|
||||||
volume:
|
|
||||||
subpath: VERSION
|
|
||||||
- /slowdisk:/slowdisk
|
|
||||||
logging: *logging-defaults
|
|
||||||
labels:
|
|
||||||
- prometheus-scrape.enabled=false
|
|
||||||
- traefik.enable=true
|
|
||||||
- traefik.http.middlewares.jovay-mainnet-aldaba-pruned-stripprefix.stripprefix.prefixes=/jovay-mainnet
|
|
||||||
- traefik.http.services.jovay-mainnet-aldaba-pruned.loadbalancer.server.port=18100
|
|
||||||
- ${NO_SSL:-traefik.http.routers.jovay-mainnet-aldaba-pruned.entrypoints=websecure}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.jovay-mainnet-aldaba-pruned.tls.certresolver=myresolver}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.jovay-mainnet-aldaba-pruned.rule=Host(`$DOMAIN`) && (Path(`/jovay-mainnet`) || Path(`/jovay-mainnet/`))}
|
|
||||||
- ${NO_SSL:+traefik.http.routers.jovay-mainnet-aldaba-pruned.rule=Path(`/jovay-mainnet`) || Path(`/jovay-mainnet/`)}
|
|
||||||
- traefik.http.routers.jovay-mainnet-aldaba-pruned.middlewares=jovay-mainnet-aldaba-pruned-stripprefix, ipallowlist
|
|
||||||
- traefik.http.routers.jovay-mainnet-aldaba-pruned.priority=50 # gets any request that is not GET with UPGRADE header
|
|
||||||
- traefik.http.routers.jovay-mainnet-aldaba-pruned-ws.priority=100 # answers GET requests first
|
|
||||||
- traefik.http.services.jovay-mainnet-aldaba-pruned-ws.loadbalancer.server.port=18200
|
|
||||||
- traefik.http.routers.jovay-mainnet-aldaba-pruned-ws.service=jovay-mainnet-aldaba-pruned-ws
|
|
||||||
- traefik.http.routers.jovay-mainnet-aldaba-pruned.service=jovay-mainnet-aldaba-pruned
|
|
||||||
- ${NO_SSL:-traefik.http.routers.jovay-mainnet-aldaba-pruned-ws.entrypoints=websecure}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.jovay-mainnet-aldaba-pruned-ws.tls.certresolver=myresolver}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.jovay-mainnet-aldaba-pruned-ws.rule=Host(`$DOMAIN`) && (Path(`/jovay-mainnet`) || Path(`/jovay-mainnet/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
|
||||||
- ${NO_SSL:+traefik.http.routers.jovay-mainnet-aldaba-pruned-ws.rule=(Path(`/jovay-mainnet`) || Path(`/jovay-mainnet/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
|
||||||
- traefik.http.routers.jovay-mainnet-aldaba-pruned-ws.middlewares=jovay-mainnet-aldaba-pruned-stripprefix, ipallowlist
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
jovay-mainnet-aldaba-pruned:
|
|
||||||
jovay-mainnet-aldaba-pruned_conf:
|
|
||||||
jovay-mainnet-aldaba-pruned_log:
|
|
||||||
|
|
||||||
x-upstreams:
|
|
||||||
- id: $${ID}
|
|
||||||
labels:
|
|
||||||
provider: $${PROVIDER}
|
|
||||||
connection:
|
|
||||||
generic:
|
|
||||||
rpc:
|
|
||||||
url: $${RPC_URL}
|
|
||||||
ws:
|
|
||||||
frameSize: 20Mb
|
|
||||||
msgSize: 50Mb
|
|
||||||
url: $${WS_URL}
|
|
||||||
chain: jovay
|
|
||||||
method-groups:
|
|
||||||
enabled:
|
|
||||||
- debug
|
|
||||||
- filter
|
|
||||||
methods:
|
|
||||||
disabled:
|
|
||||||
enabled:
|
|
||||||
- name: txpool_content # TODO: should be disabled for rollup nodes
|
|
||||||
...
|
|
||||||
@@ -1,165 +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:jovay/aldaba/jovay-sepolia-aldaba-pruned.yml
|
|
||||||
#
|
|
||||||
# docker compose up -d
|
|
||||||
#
|
|
||||||
# curl -X POST https://${IP}.traefik.me/jovay-sepolia \
|
|
||||||
# -H "Content-Type: application/json" \
|
|
||||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
|
||||||
|
|
||||||
services:
|
|
||||||
jovay-sepolia-init-conf:
|
|
||||||
image: ${JOVAY_ALDABA_IMAGE:-jovay-release-registry.cn-hongkong.cr.aliyuncs.com/jovay/l2-rpc}:${JOVAY_SEPOLIA_ALDABA_VERSION:-0.14.0-rc1}
|
|
||||||
user: 0:0
|
|
||||||
entrypoint: [/bin/sh, -c]
|
|
||||||
command:
|
|
||||||
- |
|
|
||||||
set -e
|
|
||||||
if [ -z "$$(ls -A /conf 2>/dev/null)" ]; then
|
|
||||||
cp -a /opt/l2_deploy/conf/. /conf/
|
|
||||||
fi
|
|
||||||
restart: no
|
|
||||||
networks:
|
|
||||||
- chains
|
|
||||||
volumes:
|
|
||||||
- ${JOVAY_SEPOLIA_ALDABA_PRUNED_CONF:-jovay-sepolia-aldaba-pruned_conf}:/conf
|
|
||||||
logging: *logging-defaults
|
|
||||||
|
|
||||||
jovay-sepolia-init:
|
|
||||||
image: alpine:3.21
|
|
||||||
user: 0:0
|
|
||||||
entrypoint: [/bin/sh, -c]
|
|
||||||
command:
|
|
||||||
- |
|
|
||||||
set -e
|
|
||||||
apk add --no-cache wget coreutils
|
|
||||||
if [ ! -f /conf/genesis.aldaba-ng.conf ]; then
|
|
||||||
wget -qO /tmp/genesis.conf "http://dl-testnet.jovay.io/snapshot/genesis.conf"
|
|
||||||
echo "1b6ad3d9fa67a596ca094e89bd2280ee /tmp/genesis.conf" | md5sum -c -
|
|
||||||
mv /tmp/genesis.conf /conf/genesis.aldaba-ng.conf
|
|
||||||
fi
|
|
||||||
if [ ! -f /conf/VERSION ]; then
|
|
||||||
wget -qO /tmp/VERSION "http://dl-testnet.jovay.io/snapshot/VERSION_epoch26280"
|
|
||||||
echo "994db44ba74a280efe44efdcd3f4422d /tmp/VERSION" | md5sum -c -
|
|
||||||
mv /tmp/VERSION /conf/VERSION
|
|
||||||
fi
|
|
||||||
restart: no
|
|
||||||
depends_on:
|
|
||||||
jovay-sepolia-init-conf:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
networks:
|
|
||||||
- chains
|
|
||||||
volumes:
|
|
||||||
- ${JOVAY_SEPOLIA_ALDABA_PRUNED_CONF:-jovay-sepolia-aldaba-pruned_conf}:/conf
|
|
||||||
logging: *logging-defaults
|
|
||||||
|
|
||||||
jovay-sepolia:
|
|
||||||
image: ${JOVAY_ALDABA_IMAGE:-jovay-release-registry.cn-hongkong.cr.aliyuncs.com/jovay/l2-rpc}:${JOVAY_SEPOLIA_ALDABA_VERSION:-0.14.0-rc1}
|
|
||||||
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: 1000:1000
|
|
||||||
expose:
|
|
||||||
- 18100
|
|
||||||
- 18200
|
|
||||||
- 19000
|
|
||||||
environment:
|
|
||||||
- EXTERNAL_CLB_PRE_EXPOSERPC_URL=noise_tcp://43.106.17.221:52399?2d655725a449ef9f5f1b048d596736c0e4aaaac3fd9b6bd3f7eef5dee8517d7d;noise_tcp://43.106.17.221:52398?c9664991ff25fd390f10d29c1e024594067f4e00ef470388e89f29bd9a403d23
|
|
||||||
- SEQUENCER_ADVERTISE_NODE_URL=alb-ism8q21lfjeen07hq3.ap-southeast-1.alb.aliyuncsslbintl.com:80
|
|
||||||
restart: unless-stopped
|
|
||||||
stop_grace_period: 5m
|
|
||||||
depends_on:
|
|
||||||
jovay-sepolia-init:
|
|
||||||
condition: service_completed_successfully
|
|
||||||
networks:
|
|
||||||
- chains
|
|
||||||
volumes:
|
|
||||||
- ${JOVAY_SEPOLIA_ALDABA_PRUNED_CONF:-jovay-sepolia-aldaba-pruned_conf}:/opt/l2_deploy/conf
|
|
||||||
- ${JOVAY_SEPOLIA_ALDABA_PRUNED_DATA:-jovay-sepolia-aldaba-pruned}:/opt/l2_deploy/light/data
|
|
||||||
- ${JOVAY_SEPOLIA_ALDABA_PRUNED_LOG:-jovay-sepolia-aldaba-pruned_log}:/opt/l2_deploy/light/log
|
|
||||||
- type: volume
|
|
||||||
source: ${JOVAY_SEPOLIA_ALDABA_PRUNED_CONF:-jovay-sepolia-aldaba-pruned_conf}
|
|
||||||
target: /opt/l2_deploy/bin/VERSION
|
|
||||||
volume:
|
|
||||||
subpath: VERSION
|
|
||||||
- /slowdisk:/slowdisk
|
|
||||||
logging: *logging-defaults
|
|
||||||
labels:
|
|
||||||
- prometheus-scrape.enabled=false
|
|
||||||
- traefik.enable=true
|
|
||||||
- traefik.http.middlewares.jovay-sepolia-aldaba-pruned-stripprefix.stripprefix.prefixes=/jovay-sepolia
|
|
||||||
- traefik.http.services.jovay-sepolia-aldaba-pruned.loadbalancer.server.port=18100
|
|
||||||
- ${NO_SSL:-traefik.http.routers.jovay-sepolia-aldaba-pruned.entrypoints=websecure}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.jovay-sepolia-aldaba-pruned.tls.certresolver=myresolver}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.jovay-sepolia-aldaba-pruned.rule=Host(`$DOMAIN`) && (Path(`/jovay-sepolia`) || Path(`/jovay-sepolia/`))}
|
|
||||||
- ${NO_SSL:+traefik.http.routers.jovay-sepolia-aldaba-pruned.rule=Path(`/jovay-sepolia`) || Path(`/jovay-sepolia/`)}
|
|
||||||
- traefik.http.routers.jovay-sepolia-aldaba-pruned.middlewares=jovay-sepolia-aldaba-pruned-stripprefix, ipallowlist
|
|
||||||
- traefik.http.routers.jovay-sepolia-aldaba-pruned.priority=50 # gets any request that is not GET with UPGRADE header
|
|
||||||
- traefik.http.routers.jovay-sepolia-aldaba-pruned-ws.priority=100 # answers GET requests first
|
|
||||||
- traefik.http.services.jovay-sepolia-aldaba-pruned-ws.loadbalancer.server.port=18200
|
|
||||||
- traefik.http.routers.jovay-sepolia-aldaba-pruned-ws.service=jovay-sepolia-aldaba-pruned-ws
|
|
||||||
- traefik.http.routers.jovay-sepolia-aldaba-pruned.service=jovay-sepolia-aldaba-pruned
|
|
||||||
- ${NO_SSL:-traefik.http.routers.jovay-sepolia-aldaba-pruned-ws.entrypoints=websecure}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.jovay-sepolia-aldaba-pruned-ws.tls.certresolver=myresolver}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.jovay-sepolia-aldaba-pruned-ws.rule=Host(`$DOMAIN`) && (Path(`/jovay-sepolia`) || Path(`/jovay-sepolia/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
|
||||||
- ${NO_SSL:+traefik.http.routers.jovay-sepolia-aldaba-pruned-ws.rule=(Path(`/jovay-sepolia`) || Path(`/jovay-sepolia/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
|
||||||
- traefik.http.routers.jovay-sepolia-aldaba-pruned-ws.middlewares=jovay-sepolia-aldaba-pruned-stripprefix, ipallowlist
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
jovay-sepolia-aldaba-pruned:
|
|
||||||
jovay-sepolia-aldaba-pruned_conf:
|
|
||||||
jovay-sepolia-aldaba-pruned_log:
|
|
||||||
|
|
||||||
x-upstreams:
|
|
||||||
- id: $${ID}
|
|
||||||
labels:
|
|
||||||
provider: $${PROVIDER}
|
|
||||||
connection:
|
|
||||||
generic:
|
|
||||||
rpc:
|
|
||||||
url: $${RPC_URL}
|
|
||||||
ws:
|
|
||||||
frameSize: 20Mb
|
|
||||||
msgSize: 50Mb
|
|
||||||
url: $${WS_URL}
|
|
||||||
chain: jovay-sepolia
|
|
||||||
method-groups:
|
|
||||||
enabled:
|
|
||||||
- debug
|
|
||||||
- filter
|
|
||||||
methods:
|
|
||||||
disabled:
|
|
||||||
enabled:
|
|
||||||
- name: txpool_content # TODO: should be disabled for rollup nodes
|
|
||||||
...
|
|
||||||
@@ -1,122 +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:kite/go/kite-mainnet-go-pruned-leveldb.yml
|
|
||||||
#
|
|
||||||
# docker compose up -d
|
|
||||||
#
|
|
||||||
# curl -X POST https://${IP}.traefik.me/kite-mainnet \
|
|
||||||
# -H "Content-Type: application/json" \
|
|
||||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
|
||||||
|
|
||||||
services:
|
|
||||||
kite-mainnet:
|
|
||||||
image: ${KITE_GO_IMAGE:-ghcr.io/gokite-ai/gokite-chain}:${KITE_MAINNET_GO_VERSION:-v1.0.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:
|
|
||||||
- 10127:9651
|
|
||||||
- 10127:9651/udp
|
|
||||||
expose:
|
|
||||||
- 9650
|
|
||||||
environment:
|
|
||||||
- AVAGO_CONFIG_FILE=/config.json
|
|
||||||
- AVAGO_DATA_DIR=/data
|
|
||||||
- AVAGO_HTTP_ALLOWED_HOSTS=*
|
|
||||||
- AVAGO_HTTP_HOST=0.0.0.0
|
|
||||||
- AVAGO_HTTP_PORT=9650
|
|
||||||
- AVAGO_NETWORK_ID=mainnet
|
|
||||||
- AVAGO_PARTIAL_SYNC_PRIMARY_NETWORK=true
|
|
||||||
- AVAGO_PLUGIN_DIR=/plugins/
|
|
||||||
- AVAGO_STAKING_PORT=9651
|
|
||||||
- AVAGO_TRACK_SUBNETS=21uUaTxVdR3Sp6SJhpcSrdH1g66aFoE8mPQDvwKJCjXNexo5y6
|
|
||||||
- KITE_CHAIN_ID=3USaEfTcoUhHxpKXvpAG916UKCUEyjrtkg2hBArBG3JyDP7my
|
|
||||||
- PLUGIN_ID=pJhES6xZkqZxjxMqHiucbpBTTnB97EjL5aTYSynmWBoF26v9e
|
|
||||||
restart: unless-stopped
|
|
||||||
stop_grace_period: 5m
|
|
||||||
networks:
|
|
||||||
- chains
|
|
||||||
volumes:
|
|
||||||
- ${KITE_MAINNET_GO_PRUNED_LEVELDB_DATA:-kite-mainnet-go-pruned-leveldb}:/data
|
|
||||||
- ./kite/mainnet/pruned/config.json:/config.json:ro
|
|
||||||
- /slowdisk:/slowdisk
|
|
||||||
logging: *logging-defaults
|
|
||||||
labels:
|
|
||||||
- prometheus-scrape.enabled=false
|
|
||||||
- traefik.enable=true
|
|
||||||
- traefik.http.middlewares.kite-mainnet-go-pruned-leveldb-set-path.replacepath.path=/ext/bc/3USaEfTcoUhHxpKXvpAG916UKCUEyjrtkg2hBArBG3JyDP7my/rpc
|
|
||||||
- traefik.http.middlewares.kite-mainnet-go-pruned-leveldb-stripprefix.stripprefix.prefixes=/kite-mainnet
|
|
||||||
- traefik.http.services.kite-mainnet-go-pruned-leveldb.loadbalancer.server.port=9650
|
|
||||||
- ${NO_SSL:-traefik.http.routers.kite-mainnet-go-pruned-leveldb.entrypoints=websecure}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.kite-mainnet-go-pruned-leveldb.tls.certresolver=myresolver}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.kite-mainnet-go-pruned-leveldb.rule=Host(`$DOMAIN`) && (Path(`/kite-mainnet`) || Path(`/kite-mainnet/`))}
|
|
||||||
- ${NO_SSL:+traefik.http.routers.kite-mainnet-go-pruned-leveldb.rule=Path(`/kite-mainnet`) || Path(`/kite-mainnet/`)}
|
|
||||||
- traefik.http.routers.kite-mainnet-go-pruned-leveldb.middlewares=kite-mainnet-go-pruned-leveldb-stripprefix, kite-mainnet-go-pruned-leveldb-set-path, ipallowlist
|
|
||||||
- traefik.http.routers.kite-mainnet-go-pruned-leveldb.priority=50 # gets any request that is not GET with UPGRADE header
|
|
||||||
- traefik.http.routers.kite-mainnet-go-pruned-leveldb-ws.priority=100 # answers GET requests first
|
|
||||||
- traefik.http.middlewares.kite-mainnet-go-pruned-leveldb-set-ws-path.replacepath.path=/ext/bc/3USaEfTcoUhHxpKXvpAG916UKCUEyjrtkg2hBArBG3JyDP7my/ws
|
|
||||||
- traefik.http.services.kite-mainnet-go-pruned-leveldb-ws.loadbalancer.server.port=9650
|
|
||||||
- traefik.http.routers.kite-mainnet-go-pruned-leveldb-ws.service=kite-mainnet-go-pruned-leveldb-ws
|
|
||||||
- traefik.http.routers.kite-mainnet-go-pruned-leveldb.service=kite-mainnet-go-pruned-leveldb
|
|
||||||
- ${NO_SSL:-traefik.http.routers.kite-mainnet-go-pruned-leveldb-ws.entrypoints=websecure}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.kite-mainnet-go-pruned-leveldb-ws.tls.certresolver=myresolver}
|
|
||||||
- ${NO_SSL:-traefik.http.routers.kite-mainnet-go-pruned-leveldb-ws.rule=Host(`$DOMAIN`) && (Path(`/kite-mainnet`) || Path(`/kite-mainnet/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
|
||||||
- ${NO_SSL:+traefik.http.routers.kite-mainnet-go-pruned-leveldb-ws.rule=(Path(`/kite-mainnet`) || Path(`/kite-mainnet/`)) && HeadersRegexp(`Upgrade`, `(?i)websocket`)}
|
|
||||||
- traefik.http.routers.kite-mainnet-go-pruned-leveldb-ws.middlewares=kite-mainnet-go-pruned-leveldb-stripprefix, kite-mainnet-go-pruned-leveldb-set-ws-path, ipallowlist
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
kite-mainnet-go-pruned-leveldb:
|
|
||||||
|
|
||||||
x-upstreams:
|
|
||||||
- id: $${ID}
|
|
||||||
labels:
|
|
||||||
provider: $${PROVIDER}
|
|
||||||
connection:
|
|
||||||
generic:
|
|
||||||
rpc:
|
|
||||||
url: $${RPC_URL}
|
|
||||||
ws:
|
|
||||||
frameSize: 20Mb
|
|
||||||
msgSize: 50Mb
|
|
||||||
url: $${WS_URL}
|
|
||||||
chain: kite
|
|
||||||
method-groups:
|
|
||||||
enabled:
|
|
||||||
- debug
|
|
||||||
- filter
|
|
||||||
methods:
|
|
||||||
disabled:
|
|
||||||
enabled:
|
|
||||||
- name: txpool_content # TODO: should be disabled for rollup nodes
|
|
||||||
...
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"database-type":"leveldb","log-level":"info","warp-api-enabled":true,"state-sync-enabled":true,"pruning-enabled":true,"eth-apis":["eth","eth-filter","net","admin","web3","internal-account","internal-blockchain","internal-debug","internal-eth","internal-personal","internal-transaction","internal-tx-pool","debug","debug-tracer","debug-file-tracer","debug-handler"]}
|
|
||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
linea-mainnet:
|
linea-mainnet:
|
||||||
image: ${LINEA_BESU_IMAGE:-consensys/linea-besu-package}:${LINEA_MAINNET_BESU_VERSION:-1.1.1-20260626-d9f04f0}
|
image: ${LINEA_BESU_IMAGE:-consensys/linea-besu-package}:${LINEA_MAINNET_BESU_VERSION:-1.1.0-20260611-4b80178}
|
||||||
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
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
linea-sepolia:
|
linea-sepolia:
|
||||||
image: ${LINEA_BESU_IMAGE:-consensys/linea-besu-package}:${LINEA_SEPOLIA_BESU_VERSION:-1.1.1-20260626-d9f04f0}
|
image: ${LINEA_BESU_IMAGE:-consensys/linea-besu-package}:${LINEA_SEPOLIA_BESU_VERSION:-1.1.0-20260611-4b80178}
|
||||||
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
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
linea-mainnet-erigon3-archive:
|
linea-mainnet-erigon3-archive:
|
||||||
image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_MAINNET_ERIGON3_VERSION:-v3.5.0}
|
image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_MAINNET_ERIGON3_VERSION:-v3.4.4}
|
||||||
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
|
||||||
@@ -72,6 +72,8 @@ services:
|
|||||||
- --metrics.port=6060
|
- --metrics.port=6060
|
||||||
- --nat=extip:${IP}
|
- --nat=extip:${IP}
|
||||||
- --networkid=59144
|
- --networkid=59144
|
||||||
|
- --p2p.allowed-ports=30060
|
||||||
|
- --p2p.allowed-ports=35060
|
||||||
- --port=10060
|
- --port=10060
|
||||||
- --prune.mode=archive
|
- --prune.mode=archive
|
||||||
- --rpc.evmtimeout=${LINEA_MAINNET_ERIGON3_ARCHIVE_TRACE_EVMTIMEOUT:-5m0s}
|
- --rpc.evmtimeout=${LINEA_MAINNET_ERIGON3_ARCHIVE_TRACE_EVMTIMEOUT:-5m0s}
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
linea-mainnet-erigon3-minimal:
|
linea-mainnet-erigon3-minimal:
|
||||||
image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_MAINNET_ERIGON3_VERSION:-v3.5.0}
|
image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_MAINNET_ERIGON3_VERSION:-v3.4.4}
|
||||||
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
|
||||||
@@ -72,6 +72,8 @@ services:
|
|||||||
- --metrics.port=6060
|
- --metrics.port=6060
|
||||||
- --nat=extip:${IP}
|
- --nat=extip:${IP}
|
||||||
- --networkid=59144
|
- --networkid=59144
|
||||||
|
- --p2p.allowed-ports=34000
|
||||||
|
- --p2p.allowed-ports=39000
|
||||||
- --persist.receipts=false
|
- --persist.receipts=false
|
||||||
- --port=14000
|
- --port=14000
|
||||||
- --prune.mode=minimal
|
- --prune.mode=minimal
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
linea-mainnet-erigon3:
|
linea-mainnet-erigon3:
|
||||||
image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_MAINNET_ERIGON3_VERSION:-v3.5.0}
|
image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_MAINNET_ERIGON3_VERSION:-v3.4.4}
|
||||||
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
|
||||||
@@ -72,6 +72,8 @@ services:
|
|||||||
- --metrics.port=6060
|
- --metrics.port=6060
|
||||||
- --nat=extip:${IP}
|
- --nat=extip:${IP}
|
||||||
- --networkid=59144
|
- --networkid=59144
|
||||||
|
- --p2p.allowed-ports=32622
|
||||||
|
- --p2p.allowed-ports=37622
|
||||||
- --persist.receipts=false
|
- --persist.receipts=false
|
||||||
- --port=12622
|
- --port=12622
|
||||||
- --prune.mode=full
|
- --prune.mode=full
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
linea-sepolia-erigon3-archive:
|
linea-sepolia-erigon3-archive:
|
||||||
image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_SEPOLIA_ERIGON3_VERSION:-v3.5.0}
|
image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_SEPOLIA_ERIGON3_VERSION:-v3.4.4}
|
||||||
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
|
||||||
@@ -72,6 +72,8 @@ services:
|
|||||||
- --metrics.port=6060
|
- --metrics.port=6060
|
||||||
- --nat=extip:${IP}
|
- --nat=extip:${IP}
|
||||||
- --networkid=59141
|
- --networkid=59141
|
||||||
|
- --p2p.allowed-ports=32235
|
||||||
|
- --p2p.allowed-ports=37235
|
||||||
- --port=12235
|
- --port=12235
|
||||||
- --prune.mode=archive
|
- --prune.mode=archive
|
||||||
- --rpc.evmtimeout=${LINEA_SEPOLIA_ERIGON3_ARCHIVE_TRACE_EVMTIMEOUT:-5m0s}
|
- --rpc.evmtimeout=${LINEA_SEPOLIA_ERIGON3_ARCHIVE_TRACE_EVMTIMEOUT:-5m0s}
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
linea-sepolia-erigon3-minimal:
|
linea-sepolia-erigon3-minimal:
|
||||||
image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_SEPOLIA_ERIGON3_VERSION:-v3.5.0}
|
image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_SEPOLIA_ERIGON3_VERSION:-v3.4.4}
|
||||||
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
|
||||||
@@ -72,6 +72,8 @@ services:
|
|||||||
- --metrics.port=6060
|
- --metrics.port=6060
|
||||||
- --nat=extip:${IP}
|
- --nat=extip:${IP}
|
||||||
- --networkid=59141
|
- --networkid=59141
|
||||||
|
- --p2p.allowed-ports=32410
|
||||||
|
- --p2p.allowed-ports=37410
|
||||||
- --persist.receipts=false
|
- --persist.receipts=false
|
||||||
- --port=12410
|
- --port=12410
|
||||||
- --prune.mode=minimal
|
- --prune.mode=minimal
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
linea-sepolia-erigon3:
|
linea-sepolia-erigon3:
|
||||||
image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_SEPOLIA_ERIGON3_VERSION:-v3.5.0}
|
image: ${LINEA_ERIGON3_IMAGE:-erigontech/erigon}:${LINEA_SEPOLIA_ERIGON3_VERSION:-v3.4.4}
|
||||||
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
|
||||||
@@ -72,6 +72,8 @@ services:
|
|||||||
- --metrics.port=6060
|
- --metrics.port=6060
|
||||||
- --nat=extip:${IP}
|
- --nat=extip:${IP}
|
||||||
- --networkid=59141
|
- --networkid=59141
|
||||||
|
- --p2p.allowed-ports=30620
|
||||||
|
- --p2p.allowed-ports=35620
|
||||||
- --persist.receipts=false
|
- --persist.receipts=false
|
||||||
- --port=10620
|
- --port=10620
|
||||||
- --prune.mode=full
|
- --prune.mode=full
|
||||||
|
|||||||
@@ -54,42 +54,6 @@
|
|||||||
},
|
},
|
||||||
"power": "1",
|
"power": "1",
|
||||||
"name": "node2"
|
"name": "node2"
|
||||||
},
|
|
||||||
{
|
|
||||||
"address": "CCB261D3D07500A041CBF8DBDA8BAF6C30D442D9",
|
|
||||||
"pub_key": {
|
|
||||||
"type": "tendermint/PubKeyEd25519",
|
|
||||||
"value": "RTumlijhEDvRrmitZjIAUnajUI0SztEP1pFdVVH/Ct4="
|
|
||||||
},
|
|
||||||
"power": "1",
|
|
||||||
"name": "node3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"address": "4321301E015EB29A934841DDF3F1C8DEF2FAA1B5",
|
|
||||||
"pub_key": {
|
|
||||||
"type": "tendermint/PubKeyEd25519",
|
|
||||||
"value": "vn5xGoYJVQVbvEl00qr+JpKw0+zrp3INKNKbJfNLJ6E="
|
|
||||||
},
|
|
||||||
"power": "1",
|
|
||||||
"name": "node4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"address": "83ED2116E889494AB9017530EF8D833DF8358B07",
|
|
||||||
"pub_key": {
|
|
||||||
"type": "tendermint/PubKeyEd25519",
|
|
||||||
"value": "d6GgF1neO2k+wajm0IOgW6ymGhf6q7F1RJpjtwgFbHk="
|
|
||||||
},
|
|
||||||
"power": "1",
|
|
||||||
"name": "node5"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"address": "8E04413FCC1BA73C7AEB86D9A1479C3BE47012CE",
|
|
||||||
"pub_key": {
|
|
||||||
"type": "tendermint/PubKeyEd25519",
|
|
||||||
"value": "aO4/nCUoLHHYHjTUGI/CUUpByXuMtdkJzHimJLHifLo="
|
|
||||||
},
|
|
||||||
"power": "1",
|
|
||||||
"name": "node6"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"app_hash": ""
|
"app_hash": ""
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ services:
|
|||||||
shm_size: 2gb
|
shm_size: 2gb
|
||||||
|
|
||||||
bob-mainnet-op-erigon-node:
|
bob-mainnet-op-erigon-node:
|
||||||
image: ${BOB_KONA_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/kona-node}:${BOB_MAINNET_KONA_VERSION:-v1.6.1}
|
image: ${BOB_KONA_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/kona-node}:${BOB_MAINNET_KONA_VERSION:-v1.6.0}
|
||||||
ports:
|
ports:
|
||||||
- 16071:16071
|
- 16071:16071
|
||||||
- 16071:16071/udp
|
- 16071:16071/udp
|
||||||
@@ -125,7 +125,7 @@ services:
|
|||||||
- KONA_NODE_L2_ENGINE_TIMEOUT=120000
|
- KONA_NODE_L2_ENGINE_TIMEOUT=120000
|
||||||
- KONA_NODE_L2_TRUST_RPC=true
|
- KONA_NODE_L2_TRUST_RPC=true
|
||||||
- KONA_NODE_METRICS_PORT=7300
|
- KONA_NODE_METRICS_PORT=7300
|
||||||
- KONA_NODE_MODE=Validator
|
- KONA_NODE_MODE=verifier
|
||||||
- KONA_NODE_P2P_ADVERTISE_IP=${IP}
|
- KONA_NODE_P2P_ADVERTISE_IP=${IP}
|
||||||
- KONA_NODE_P2P_LISTEN_IP=0.0.0.0
|
- KONA_NODE_P2P_LISTEN_IP=0.0.0.0
|
||||||
- KONA_NODE_P2P_LISTEN_TCP_PORT=16071
|
- KONA_NODE_P2P_LISTEN_TCP_PORT=16071
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ services:
|
|||||||
shm_size: 2gb
|
shm_size: 2gb
|
||||||
|
|
||||||
ink-mainnet-op-erigon-node:
|
ink-mainnet-op-erigon-node:
|
||||||
image: ${INK_KONA_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/kona-node}:${INK_MAINNET_KONA_VERSION:-v1.6.1}
|
image: ${INK_KONA_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/kona-node}:${INK_MAINNET_KONA_VERSION:-v1.6.0}
|
||||||
ports:
|
ports:
|
||||||
- 16990:16990
|
- 16990:16990
|
||||||
- 16990:16990/udp
|
- 16990:16990/udp
|
||||||
@@ -121,7 +121,7 @@ services:
|
|||||||
- KONA_NODE_L2_ENGINE_TIMEOUT=120000
|
- KONA_NODE_L2_ENGINE_TIMEOUT=120000
|
||||||
- KONA_NODE_L2_TRUST_RPC=true
|
- KONA_NODE_L2_TRUST_RPC=true
|
||||||
- KONA_NODE_METRICS_PORT=7300
|
- KONA_NODE_METRICS_PORT=7300
|
||||||
- KONA_NODE_MODE=Validator
|
- KONA_NODE_MODE=verifier
|
||||||
- KONA_NODE_P2P_ADVERTISE_IP=${IP}
|
- KONA_NODE_P2P_ADVERTISE_IP=${IP}
|
||||||
- KONA_NODE_P2P_LISTEN_IP=0.0.0.0
|
- KONA_NODE_P2P_LISTEN_IP=0.0.0.0
|
||||||
- KONA_NODE_P2P_LISTEN_TCP_PORT=16990
|
- KONA_NODE_P2P_LISTEN_TCP_PORT=16990
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ services:
|
|||||||
shm_size: 2gb
|
shm_size: 2gb
|
||||||
|
|
||||||
ink-sepolia-op-erigon-node:
|
ink-sepolia-op-erigon-node:
|
||||||
image: ${INK_KONA_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/kona-node}:${INK_SEPOLIA_KONA_VERSION:-v1.6.1}
|
image: ${INK_KONA_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/kona-node}:${INK_SEPOLIA_KONA_VERSION:-v1.6.0}
|
||||||
ports:
|
ports:
|
||||||
- 19826:19826
|
- 19826:19826
|
||||||
- 19826:19826/udp
|
- 19826:19826/udp
|
||||||
@@ -121,7 +121,7 @@ services:
|
|||||||
- KONA_NODE_L2_ENGINE_TIMEOUT=120000
|
- KONA_NODE_L2_ENGINE_TIMEOUT=120000
|
||||||
- KONA_NODE_L2_TRUST_RPC=true
|
- KONA_NODE_L2_TRUST_RPC=true
|
||||||
- KONA_NODE_METRICS_PORT=7300
|
- KONA_NODE_METRICS_PORT=7300
|
||||||
- KONA_NODE_MODE=Validator
|
- KONA_NODE_MODE=verifier
|
||||||
- KONA_NODE_OVERRIDE_PECTRA_BLOB_SCHEDULE=1742486400
|
- KONA_NODE_OVERRIDE_PECTRA_BLOB_SCHEDULE=1742486400
|
||||||
- KONA_NODE_P2P_ADVERTISE_IP=${IP}
|
- KONA_NODE_P2P_ADVERTISE_IP=${IP}
|
||||||
- KONA_NODE_P2P_LISTEN_IP=0.0.0.0
|
- KONA_NODE_P2P_LISTEN_IP=0.0.0.0
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ services:
|
|||||||
shm_size: 2gb
|
shm_size: 2gb
|
||||||
|
|
||||||
lisk-mainnet-op-erigon-node:
|
lisk-mainnet-op-erigon-node:
|
||||||
image: ${LISK_KONA_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/kona-node}:${LISK_MAINNET_KONA_VERSION:-v1.6.1}
|
image: ${LISK_KONA_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/kona-node}:${LISK_MAINNET_KONA_VERSION:-v1.6.0}
|
||||||
ports:
|
ports:
|
||||||
- 19831:19831
|
- 19831:19831
|
||||||
- 19831:19831/udp
|
- 19831:19831/udp
|
||||||
@@ -124,7 +124,7 @@ services:
|
|||||||
- KONA_NODE_L2_ENGINE_TIMEOUT=120000
|
- KONA_NODE_L2_ENGINE_TIMEOUT=120000
|
||||||
- KONA_NODE_L2_TRUST_RPC=true
|
- KONA_NODE_L2_TRUST_RPC=true
|
||||||
- KONA_NODE_METRICS_PORT=7300
|
- KONA_NODE_METRICS_PORT=7300
|
||||||
- KONA_NODE_MODE=Validator
|
- KONA_NODE_MODE=verifier
|
||||||
- KONA_NODE_P2P_ADVERTISE_IP=${IP}
|
- KONA_NODE_P2P_ADVERTISE_IP=${IP}
|
||||||
- KONA_NODE_P2P_BOOTNODES=enr:-Iu4QBCIUw0OhAq5ErARIYBLIr6xPb83OqeFRqlUJGlJ9kWpNECaumPArYWsEFdM_cEKm26JJT_EA52f4dlavBldldgBgmlkgnY0gmlwhCPqq5CJc2VjcDI1NmsxoQLBE74gZyIHkwBEnkI4K7nR4SM2Lytj2VTLqJaj5nQevoN0Y3CCIyuDdWRwgiMs
|
- KONA_NODE_P2P_BOOTNODES=enr:-Iu4QBCIUw0OhAq5ErARIYBLIr6xPb83OqeFRqlUJGlJ9kWpNECaumPArYWsEFdM_cEKm26JJT_EA52f4dlavBldldgBgmlkgnY0gmlwhCPqq5CJc2VjcDI1NmsxoQLBE74gZyIHkwBEnkI4K7nR4SM2Lytj2VTLqJaj5nQevoN0Y3CCIyuDdWRwgiMs
|
||||||
- KONA_NODE_P2P_LISTEN_IP=0.0.0.0
|
- KONA_NODE_P2P_LISTEN_IP=0.0.0.0
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ services:
|
|||||||
shm_size: 2gb
|
shm_size: 2gb
|
||||||
|
|
||||||
op-mainnet-op-erigon-node:
|
op-mainnet-op-erigon-node:
|
||||||
image: ${OP_KONA_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/kona-node}:${OP_MAINNET_KONA_VERSION:-v1.6.1}
|
image: ${OP_KONA_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/kona-node}:${OP_MAINNET_KONA_VERSION:-v1.6.0}
|
||||||
ports:
|
ports:
|
||||||
- 17509:17509
|
- 17509:17509
|
||||||
- 17509:17509/udp
|
- 17509:17509/udp
|
||||||
@@ -124,7 +124,7 @@ services:
|
|||||||
- KONA_NODE_L2_ENGINE_TIMEOUT=120000
|
- KONA_NODE_L2_ENGINE_TIMEOUT=120000
|
||||||
- KONA_NODE_L2_TRUST_RPC=true
|
- KONA_NODE_L2_TRUST_RPC=true
|
||||||
- KONA_NODE_METRICS_PORT=7300
|
- KONA_NODE_METRICS_PORT=7300
|
||||||
- KONA_NODE_MODE=Validator
|
- KONA_NODE_MODE=verifier
|
||||||
- KONA_NODE_P2P_ADVERTISE_IP=${IP}
|
- KONA_NODE_P2P_ADVERTISE_IP=${IP}
|
||||||
- KONA_NODE_P2P_LISTEN_IP=0.0.0.0
|
- KONA_NODE_P2P_LISTEN_IP=0.0.0.0
|
||||||
- KONA_NODE_P2P_LISTEN_TCP_PORT=17509
|
- KONA_NODE_P2P_LISTEN_TCP_PORT=17509
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ services:
|
|||||||
shm_size: 2gb
|
shm_size: 2gb
|
||||||
|
|
||||||
soneium-mainnet-op-erigon-node:
|
soneium-mainnet-op-erigon-node:
|
||||||
image: ${SONEIUM_KONA_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/kona-node}:${SONEIUM_MAINNET_KONA_VERSION:-v1.6.1}
|
image: ${SONEIUM_KONA_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/kona-node}:${SONEIUM_MAINNET_KONA_VERSION:-v1.6.0}
|
||||||
ports:
|
ports:
|
||||||
- 18689:18689
|
- 18689:18689
|
||||||
- 18689:18689/udp
|
- 18689:18689/udp
|
||||||
@@ -121,7 +121,7 @@ services:
|
|||||||
- KONA_NODE_L2_ENGINE_TIMEOUT=120000
|
- KONA_NODE_L2_ENGINE_TIMEOUT=120000
|
||||||
- KONA_NODE_L2_TRUST_RPC=true
|
- KONA_NODE_L2_TRUST_RPC=true
|
||||||
- KONA_NODE_METRICS_PORT=7300
|
- KONA_NODE_METRICS_PORT=7300
|
||||||
- KONA_NODE_MODE=Validator
|
- KONA_NODE_MODE=verifier
|
||||||
- KONA_NODE_P2P_ADVERTISE_IP=${IP}
|
- KONA_NODE_P2P_ADVERTISE_IP=${IP}
|
||||||
- KONA_NODE_P2P_LISTEN_IP=0.0.0.0
|
- KONA_NODE_P2P_LISTEN_IP=0.0.0.0
|
||||||
- KONA_NODE_P2P_LISTEN_TCP_PORT=18689
|
- KONA_NODE_P2P_LISTEN_TCP_PORT=18689
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ services:
|
|||||||
shm_size: 2gb
|
shm_size: 2gb
|
||||||
|
|
||||||
unichain-mainnet-op-erigon-node:
|
unichain-mainnet-op-erigon-node:
|
||||||
image: ${UNICHAIN_KONA_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/kona-node}:${UNICHAIN_MAINNET_KONA_VERSION:-v1.6.1}
|
image: ${UNICHAIN_KONA_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/kona-node}:${UNICHAIN_MAINNET_KONA_VERSION:-v1.6.0}
|
||||||
ports:
|
ports:
|
||||||
- 16415:16415
|
- 16415:16415
|
||||||
- 16415:16415/udp
|
- 16415:16415/udp
|
||||||
@@ -121,7 +121,7 @@ services:
|
|||||||
- KONA_NODE_L2_ENGINE_TIMEOUT=120000
|
- KONA_NODE_L2_ENGINE_TIMEOUT=120000
|
||||||
- KONA_NODE_L2_TRUST_RPC=true
|
- KONA_NODE_L2_TRUST_RPC=true
|
||||||
- KONA_NODE_METRICS_PORT=7300
|
- KONA_NODE_METRICS_PORT=7300
|
||||||
- KONA_NODE_MODE=Validator
|
- KONA_NODE_MODE=verifier
|
||||||
- KONA_NODE_P2P_ADVERTISE_IP=${IP}
|
- KONA_NODE_P2P_ADVERTISE_IP=${IP}
|
||||||
- KONA_NODE_P2P_LISTEN_IP=0.0.0.0
|
- KONA_NODE_P2P_LISTEN_IP=0.0.0.0
|
||||||
- KONA_NODE_P2P_LISTEN_TCP_PORT=16415
|
- KONA_NODE_P2P_LISTEN_TCP_PORT=16415
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user