From 8d56e55a3b6f0d25529a01fe4e7bdad85ecd67a9 Mon Sep 17 00:00:00 2001 From: Wondertan Date: Fri, 15 Jul 2022 18:13:05 +0200 Subject: [PATCH] feat(node/p2p): enable quic by default with the config --- node/p2p/p2p.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/node/p2p/p2p.go b/node/p2p/p2p.go index 04e3b8ee14..346ec52c8c 100644 --- a/node/p2p/p2p.go +++ b/node/p2p/p2p.go @@ -39,11 +39,16 @@ type Config struct { func DefaultConfig() Config { return Config{ ListenAddresses: []string{ + "/ip4/0.0.0.0/udp/2121/quic", + "/ip6/::/udp/2121/quic", "/ip4/0.0.0.0/tcp/2121", "/ip6/::/tcp/2121", }, AnnounceAddresses: []string{}, NoAnnounceAddresses: []string{ + "/ip4/0.0.0.0/udp/2121/quic", + "/ip4/127.0.0.1/tcp/2121/quic", + "/ip6/::/udp/2121/quic", "/ip4/0.0.0.0/tcp/2121", "/ip4/127.0.0.1/tcp/2121", "/ip6/::/tcp/2121",