harnen / p2p-service-discovery

0 stars 4 forks source link

New nodes added by the Turbulence have empty buckets in their routing tables #12

Open oascigil opened 4 years ago

srene commented 4 years ago

Problem fixed. Empty buckets returned null values with old getneighbours function when including local routingtable values in init find. Solved using the new function that uses logdistance as an input. However, I think we shouldn't add local values in the query because the outcome is to discover new nodes and not to find specific nodes. I think ethereum implementation does not add local values. To be checked