storj/pkg/kademlia
Jeff Wendling 098cbc9c67 all: use pkg/rpc instead of pkg/transport
all of the packages and tests work with both grpc and
drpc. we'll probably need to do some jenkins pipelines
to run the tests with drpc as well.

most of the changes are really due to a bit of cleanup
of the pkg/transport.Client api into an rpc.Dialer in
the spirit of a net.Dialer. now that we don't need
observers, we can pass around stateless configuration
to everything rather than stateful things that issue
observations. it also adds a DialAddressID for the
case where we don't have a pb.Node, but we do have an
address and want to assert some ID. this happened
pretty frequently, and now there's no more weird
contortions creating custom tls options, etc.

a lot of the other changes are being consistent/using
the abstractions in the rpc package to do rpc style
things like finding peer information, or checking
status codes.

Change-Id: Ief62875e21d80a21b3c56a5a37f45887679f9412
2019-09-25 15:37:06 -06:00
..
kademliaclient all: use pkg/rpc instead of pkg/transport 2019-09-25 15:37:06 -06:00
routinggraph Inspector draw routing table (#1732) 2019-04-22 11:34:11 +03:00
testrouting all: enable staticcheck (#2849) 2019-08-22 13:40:15 +02:00
antechamber_test.go Creates Routing Table Antechamber (#2318) 2019-07-01 17:20:19 -04:00
antechamber.go Routing table antechamber should expire old nodes that failed connection (#2387) 2019-07-01 23:20:12 -04:00
config.go Stylistic Go Cleanup (#2524) 2019-07-22 15:10:04 -04:00
endpoint.go all: use pkg/rpc instead of pkg/transport 2019-09-25 15:37:06 -06:00
inspector.go pkg/dht: remove (#2599) 2019-07-19 20:34:00 +03:00
kademlia_test.go all: use pkg/rpc instead of pkg/transport 2019-09-25 15:37:06 -06:00
kademlia.go all: use pkg/rpc instead of pkg/transport 2019-09-25 15:37:06 -06:00
peer_discovery_test.go pkg/kademlia: clean up peer discovery (#2252) 2019-06-26 16:16:46 +03:00
peer_discovery.go Stylistic Go Cleanup (#2524) 2019-07-22 15:10:04 -04:00
replacement_cache_test.go kademlia/routing: add contexts to more places so monkit works (#2188) 2019-06-13 16:51:50 +02:00
replacement_cache.go Routing table tests (#1270) 2019-02-22 13:39:29 -05:00
routing_helpers_test.go rename all the things (#2531) 2019-07-28 08:55:36 +03:00
routing_helpers.go Routing table antechamber should expire old nodes that failed connection (#2387) 2019-07-01 23:20:12 -04:00
routing_integration_helpers_test.go pkg/dht: remove (#2599) 2019-07-19 20:34:00 +03:00
routing_integration_test.go pkg/dht: remove (#2599) 2019-07-19 20:34:00 +03:00
routing_test.go internal/testrand: new package for random data (#2282) 2019-06-26 13:38:51 +03:00
routing.go don't use global loggers (#2671) 2019-07-31 15:09:45 +03:00
utils_test.go Stylistic Go Cleanup (#2524) 2019-07-22 15:10:04 -04:00
utils.go Replace list calls with iterates in kademlia routing table (#1318) 2019-02-26 11:07:53 -05:00