storj/pkg/kademlia
Bill Thorp c598ed034d kad.FindNear fix (#1320)
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
2019-02-15 22:23:35 -05:00
..
config.go Test merging planets (#1181) 2019-02-01 15:32:28 +02:00
dialer_test.go kad.FindNear fix (#1320) 2019-02-15 22:23:35 -05:00
dialer.go storage node cert cache (#1226) 2019-02-05 12:57:56 -05:00
endpoint.go Remove node package and simplify DHT interface (#1233) 2019-02-06 14:37:17 +02:00
inspector.go kad.FindNear fix (#1320) 2019-02-15 22:23:35 -05:00
kademlia_planet_test.go storage node cert cache (#1226) 2019-02-05 12:57:56 -05:00
kademlia_test.go kad.FindNear fix (#1320) 2019-02-15 22:23:35 -05:00
kademlia.go kad.FindNear fix (#1320) 2019-02-15 22:23:35 -05:00
lookup_test.go Kademlia closing race (#1139) 2019-01-26 00:33:20 +02:00
merge_test.go Enable planet Merging test (#1281) 2019-02-08 22:35:59 +02:00
peer_discovery_test.go updates copyright 2018 to 2019 (#1133) 2019-01-24 15:15:10 -05:00
peer_discovery.go updates copyright 2018 to 2019 (#1133) 2019-01-24 15:15:10 -05:00
replacement_cache_test.go updates copyright 2018 to 2019 (#1133) 2019-01-24 15:15:10 -05:00
replacement_cache.go updates copyright 2018 to 2019 (#1133) 2019-01-24 15:15:10 -05:00
routing_helpers_test.go internal/sync2: fix file handle leak (#1124) 2019-01-24 22:48:54 +02:00
routing_helpers.go Removed ReverseList from KeyValueStore interfaces (#1306) 2019-02-13 12:27:03 -05:00
routing_test.go kad.FindNear fix (#1320) 2019-02-15 22:23:35 -05:00
routing.go kad.FindNear fix (#1320) 2019-02-15 22:23:35 -05:00
utils_test.go pkg/kademlia: simplify code (#958) 2019-01-02 20:57:11 +02:00
utils.go pkg/kademlia: simplify code (#958) 2019-01-02 20:57:11 +02:00