From 1b358bbfc9a3f8972179620cf12dd96d9fe21adc Mon Sep 17 00:00:00 2001 From: achingbrain Date: Wed, 9 Oct 2024 09:00:15 +0100 Subject: [PATCH] fix: add va1 bootstrapper Adds the new bootstrapper to the default list --- packages/helia/src/utils/bootstrappers.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/helia/src/utils/bootstrappers.ts b/packages/helia/src/utils/bootstrappers.ts index ad6e55881..1c98b6feb 100644 --- a/packages/helia/src/utils/bootstrappers.ts +++ b/packages/helia/src/utils/bootstrappers.ts @@ -4,6 +4,11 @@ export const bootstrapConfig = { '/dnsaddr/bootstrap.libp2p.io/p2p/QmNnooDu7bfjPFoTZYxMNLWUQJyrVwtbZg5gBMjTezGAJN', '/dnsaddr/bootstrap.libp2p.io/p2p/QmbLHAnMoJPWSCR5Zhtx6BHJX9KiKNN6tpvbUcqanj75Nb', '/dnsaddr/bootstrap.libp2p.io/p2p/QmcZf59bWwK5XFi76CZX8cbJ4BhTzzA3gU1ZjYZcYW3dwt', - '/ip4/104.131.131.82/tcp/4001/p2p/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ' + '/ip4/104.131.131.82/tcp/4001/p2p/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ', + + // va1 is not currently in the TXT records for + // `_dnsaddr.bootstrap.libp2p.io` so add the address manually as it would be + // after resolving the domain name + '/dns/va1.bootstrap.libp2p.io/tcp/443/tls/ws/p2p/12D3KooWKnDdG3iXw9eTFijk3EWSunZcFi54Zka4wmtqtt6rPxc8' ] }