summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/dht.h
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@ugent.be>2017-12-05 21:24:37 +0100
committerSander Vrijders <sander.vrijders@ugent.be>2017-12-05 21:27:38 +0100
commitca2f47d8b1d2061b0fc63ebefe53424e28ef18bb (patch)
tree463f4f0e066b698d64d13e67b7612398f85a1eb8 /src/ipcpd/normal/dht.h
parenta1b982bf4c052360cd854b9e4c97592893692701 (diff)
downloadouroboros-ca2f47d8b1d2061b0fc63ebefe53424e28ef18bb.tar.gz
ouroboros-ca2f47d8b1d2061b0fc63ebefe53424e28ef18bb.zip
ipcpd: Update DHT buckets in JOINING state
The DHT buckets were not updated in JOINING state, which sometimes caused the DHT to miss its first peer update when joining and become isolated. This also checks if a name is already registered to avoid adding it multiple times. Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be> Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'src/ipcpd/normal/dht.h')
0 files changed, 0 insertions, 0 deletions