feat: prepare for new randomWalk config parameters

As per: https://github.com/libp2p/js-libp2p-kad-dht/issues/76

fix: pass whole dht config into DHT constructor
This commit is contained in:
Thomas Eizinger
2019-02-04 12:20:24 +11:00
committed by Jacob Heun
parent 679d446daa
commit 91e60d4253
5 changed files with 25 additions and 10 deletions

View File

@ -73,7 +73,9 @@ class Node extends libp2p {
},
dht: {
kBucketSize: 20,
enabledDiscovery: true,
randomWalk: {
enabled: true
},
enabled: true
},
EXPERIMENTAL: {