disable using the DHT to find provider records or arbitrary values

This commit is contained in:
Adin Schmahmann
2020-04-22 11:13:26 -07:00
committed by Jeromy
parent 744a02eb5a
commit 9199c03f0d
+2
View File
@@ -83,6 +83,8 @@ func DHTRouting(mode dht.ModeOpt) interface{} {
dht.ProtocolPrefix(protocol.ID(nn)),
dht.QueryFilter(dht.PublicQueryFilter),
dht.RoutingTableFilter(dht.PublicRoutingTableFilter),
dht.DisableProviders(),
dht.DisableValues(),
)
if err != nil {