From 8189dca424bba9445e1137b0aa1d1657f84032dc Mon Sep 17 00:00:00 2001 From: Yorick Downe Date: Thu, 19 Mar 2026 22:40:50 +0000 Subject: [PATCH] Enable Lodestar Quic --- lodestar-cl-only.yml | 5 +++++ lodestar.yml | 5 +++++ lodestar/docker-entrypoint.sh | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/lodestar-cl-only.yml b/lodestar-cl-only.yml index ab0cbe9b..5d430191 100644 --- a/lodestar-cl-only.yml +++ b/lodestar-cl-only.yml @@ -40,10 +40,12 @@ services: - NETWORK=${NETWORK} - IPV6=${IPV6:-false} - CL_P2P_PORT=${CL_P2P_PORT:-9000} + - CL_QUIC_PORT=${CL_QUIC_PORT:-9001} - NODE_OPTIONS=${LODESTAR_HEAP:---max-old-space-size=8192} ports: - ${HOST_IP:-}:${CL_P2P_PORT:-9000}:${CL_P2P_PORT:-9000}/tcp - ${HOST_IP:-}:${CL_P2P_PORT:-9000}:${CL_P2P_PORT:-9000}/udp + - ${HOST_IP:-}:${CL_QUIC_PORT:-9001}:${CL_QUIC_PORT:-9001}/udp networks: default: aliases: @@ -64,6 +66,9 @@ services: - ${CL_REST_PORT:-5052} - --port - ${CL_P2P_PORT:-9000} + - --quicPort + - ${CL_QUIC_PORT:-9001} + - --quic - --nat - --metrics - "true" diff --git a/lodestar.yml b/lodestar.yml index 26fd5fe3..215f8dbe 100644 --- a/lodestar.yml +++ b/lodestar.yml @@ -48,11 +48,13 @@ services: - NODE_TYPE=${CL_NODE_TYPE:-pruned} - NETWORK=${NETWORK} - CL_P2P_PORT=${CL_P2P_PORT:-9000} + - CL_QUIC_PORT=${CL_QUIC_PORT:-9001} - IPV6=${IPV6:-false} - NODE_OPTIONS=${LODESTAR_HEAP:---max-old-space-size=8192} ports: - ${HOST_IP:-}:${CL_P2P_PORT:-9000}:${CL_P2P_PORT:-9000}/tcp - ${HOST_IP:-}:${CL_P2P_PORT:-9000}:${CL_P2P_PORT:-9000}/udp + - ${HOST_IP:-}:${CL_QUIC_PORT:-9001}:${CL_QUIC_PORT:-9001}/udp networks: default: aliases: @@ -73,6 +75,9 @@ services: - ${CL_REST_PORT:-5052} - --port - ${CL_P2P_PORT:-9000} + - --quicPort + - ${CL_QUIC_PORT:-9001} + - --quic - --nat - --metrics - "true" diff --git a/lodestar/docker-entrypoint.sh b/lodestar/docker-entrypoint.sh index 12a02e70..1062bed5 100755 --- a/lodestar/docker-entrypoint.sh +++ b/lodestar/docker-entrypoint.sh @@ -111,7 +111,7 @@ fi if [[ "${IPV6}" = "true" ]]; then echo "Configuring Lodestar to listen on IPv6 ports" - __ipv6="--listenAddress 0.0.0.0 --listenAddress6 :: --port6 ${CL_P2P_PORT:-9000}" + __ipv6="--listenAddress 0.0.0.0 --listenAddress6 :: --port6 ${CL_P2P_PORT:-9000} --quicPort6 ${CL_QUIC_PORT:-9001}" else __ipv6="--listenAddress 0.0.0.0" fi