From fefb4355d0e360183cfc1a831fed5f049d7aa4e2 Mon Sep 17 00:00:00 2001 From: Nate Maninger Date: Sat, 9 Mar 2024 13:54:07 -0800 Subject: [PATCH] ipfs: remove dht filters --- ipfs/node.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ipfs/node.go b/ipfs/node.go index f0c90a7..61de3ad 100644 --- a/ipfs/node.go +++ b/ipfs/node.go @@ -218,11 +218,7 @@ func NewNode(ctx context.Context, privateKey crypto.PrivKey, cfg config.IPFS, ds dht.BucketSize(20), dht.Concurrency(30), dht.Datastore(ds), - dht.QueryFilter(dht.PublicQueryFilter), - dht.RoutingTableFilter(dht.PublicRoutingTableFilter), - dht.RoutingTablePeerDiversityFilter(dht.NewRTPeerDiversityFilter(host, 2, 3)), } - frt, err := fullrt.NewFullRT(host, dht.DefaultPrefix, fullrt.DHTOption(dhtOpts...)) if err != nil { return nil, fmt.Errorf("failed to create fullrt: %w", err)