c598ed034d
We realized that the Kademlia FindNear() function was 1. not using XOR distance (AKA _totally broken_) 2. largely a duplicate of the RoutingTable FindNear() function Changes in this PR: 1. upgraded RoutingTable FindNear() to use iterator and restrictions 2. removed unneeded RoutingTable interface 3. made Kademlia wrap methods that were previously accessed via RoutingTable 4. fixed the tests |
||
---|---|---|
.. | ||
config.go | ||
dialer_test.go | ||
dialer.go | ||
endpoint.go | ||
inspector.go | ||
kademlia_planet_test.go | ||
kademlia_test.go | ||
kademlia.go | ||
lookup_test.go | ||
merge_test.go | ||
peer_discovery_test.go | ||
peer_discovery.go | ||
replacement_cache_test.go | ||
replacement_cache.go | ||
routing_helpers_test.go | ||
routing_helpers.go | ||
routing_test.go | ||
routing.go | ||
utils_test.go | ||
utils.go |