storj/pkg/kademlia
Jennifer Li Johnson cefdff535a
Replace list calls with iterates in kademlia routing table (#1318)
* notes

* adds bool for option to skip self

* wip getKBucketID is still breaking TestAddNode

* fix (#1322)

* remove panic

* remove iteratebuckets

* implements getKBucketRange

* getNodeIDsWithinKBucket

* removes determineFurthestIDWithinK

* wip

* nodeIsWithinNearestK

* removes bucketIDToKey

* removes extra xor in test

* wip

* rebased

* uses create rt w opts

* lint

* fix lint
2019-02-26 11:07:53 -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 Endpoint for local node info (#1355) 2019-02-25 19:41:51 +01:00
endpoint.go Endpoint for local node info (#1355) 2019-02-25 19:41:51 +01:00
inspector.go Endpoint for local node info (#1355) 2019-02-25 19:41:51 +01:00
kademlia_planet_test.go Endpoint for local node info (#1355) 2019-02-25 19:41:51 +01:00
kademlia_test.go Replace list calls with iterates in kademlia routing table (#1318) 2019-02-26 11:07:53 -05:00
kademlia.go Endpoint for local node info (#1355) 2019-02-25 19:41:51 +01: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 Replace list calls with iterates in kademlia routing table (#1318) 2019-02-26 11:07:53 -05:00
routing_helpers.go Replace list calls with iterates in kademlia routing table (#1318) 2019-02-26 11:07:53 -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 Replace list calls with iterates in kademlia routing table (#1318) 2019-02-26 11:07:53 -05:00
utils_test.go pkg/kademlia: simplify code (#958) 2019-01-02 20:57:11 +02:00
utils.go Replace list calls with iterates in kademlia routing table (#1318) 2019-02-26 11:07:53 -05:00