disable using the DHT to find provider records or arbitrary values

This commit is contained in:
Adin Schmahmann 2020-04-21 19:59:24 -04:00 committed by Jeromy
parent 744a02eb5a
commit 9199c03f0d

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 {