Skip to content

Commit 767a5eb

Browse files
committed
Lighthouse v7 IPv6 auto-ENR
1 parent 26dd3bf commit 767a5eb

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

lighthouse/docker-entrypoint.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,6 @@ fi
8888
if [ "${IPV6}" = "true" ]; then
8989
echo "Configuring Lighthouse to listen on IPv6 ports"
9090
__ipv6="--listen-address :: --port6 ${CL_P2P_PORT:-9000} --enr-udp6-port ${CL_P2P_PORT:-9000} --quic-port6 ${CL_QUIC_PORT:-9001}"
91-
# ENR discovery on v6 is not yet working, likely too few peers. Manual for now
92-
__ipv6_pattern="^[0-9A-Fa-f]{1,4}:" # Sufficient to check the start
93-
set +e
94-
__public_v6=$(curl -6 -s ifconfig.me)
95-
set -e
96-
if [[ "$__public_v6" =~ $__ipv6_pattern ]]; then
97-
__ipv6+=" --enr-address ${__public_v6}"
98-
fi
9991
else
10092
__ipv6=""
10193
fi

0 commit comments

Comments
 (0)