diff --git a/package.json b/package.json index 701ae7741e..302594ab7a 100644 --- a/package.json +++ b/package.json @@ -129,7 +129,7 @@ "libp2p": "~0.25.0-rc.3", "libp2p-bootstrap": "~0.9.3", "libp2p-crypto": "~0.16.0", - "libp2p-kad-dht": "~0.14.5", + "libp2p-kad-dht": "~0.14.7", "libp2p-keychain": "~0.3.3", "libp2p-mdns": "~0.12.0", "libp2p-mplex": "~0.8.4", diff --git a/src/core/components/libp2p.js b/src/core/components/libp2p.js index 24f0574e4c..9edbcf29e6 100644 --- a/src/core/components/libp2p.js +++ b/src/core/components/libp2p.js @@ -79,7 +79,7 @@ function defaultBundle ({ datastore, peerInfo, peerBook, options, config }) { kBucketSize: get(options, 'dht.kBucketSize', 20), enabled: get(options, 'offline', false) ? false : undefined, // disable if offline randomWalk: { - enabled: get(options, 'dht.randomWalk.enabled', true) + enabled: false }, validators: { ipns: ipnsUtils.validator