fix: start kad dht random walk (#251)

* fix: start kad dht random walk

* chore: added tests and stop random walk

* chore: allows to disable discovery for dht

* chore: upgrade kad-dht version
This commit is contained in:
Vasco Santos
2018-10-04 13:40:32 +01:00
committed by Jacob Heun
parent cef3c8b5cc
commit dd934b9690
7 changed files with 16 additions and 5 deletions

View File

@ -79,7 +79,8 @@ class Node extends libp2p {
}
},
dht: {
kBucketSize: 20
kBucketSize: 20,
enabledDiscovery: true
},
EXPERIMENTAL: {
dht: false,