b5447c6608
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. |
||
---|---|---|
.. | ||
testrouting | ||
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_integration_helpers_test.go | ||
routing_integration_test.go | ||
routing_test.go | ||
routing.go | ||
utils_test.go | ||
utils.go |