storj/pkg/kademlia
Jennifer Li Johnson b5447c6608
Routing table tests (#1270)
This PR includes a new package called testrouting, which implements a very algorithmically slow but hopefully easy-to-keep-operationally-correct in-memory routing table. The routing table also supports writing out its current structure as a DOT graph for visualization. testrouting is primarily meant to help in coming up with generic routing table integration tests.

This PR also includes a new routing table integration test suite that runs against all current routing table implementations. Our existing routing table passes a lot of the tests, but not all of them, still debugging why. I have confirmed the tests should pass with the visualization graphs though.
2019-02-22 13:39:29 -05:00
..
testrouting Routing table tests (#1270) 2019-02-22 13:39:29 -05:00
config.go Test merging planets (#1181) 2019-02-01 15:32:28 +02:00
dialer_test.go Routing table tests (#1270) 2019-02-22 13:39:29 -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 Routing table tests (#1270) 2019-02-22 13:39:29 -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 Routing table tests (#1270) 2019-02-22 13:39:29 -05:00
replacement_cache.go Routing table tests (#1270) 2019-02-22 13:39:29 -05:00
routing_helpers_test.go Routing table tests (#1270) 2019-02-22 13:39:29 -05:00
routing_helpers.go Routing table tests (#1270) 2019-02-22 13:39:29 -05:00
routing_integration_helpers_test.go Routing table tests (#1270) 2019-02-22 13:39:29 -05:00
routing_integration_test.go Routing table tests (#1270) 2019-02-22 13:39:29 -05:00
routing_test.go Routing table tests (#1270) 2019-02-22 13:39:29 -05:00
routing.go Routing table tests (#1270) 2019-02-22 13:39:29 -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