storj/pkg/kademlia
Jennifer Li Johnson 8d779d3d3e Disconnects nodeclient, routing table dbs when done with kademlia (#507)
* disconnect from nodeclient

* cleanup connections in tests

* kademlia disconnects from nodeclient

* updating disconnect method for mocks

* creates separate disconnect and removeAll methods for tests

* adds init to connection pool

* fix folder cleanup and disconnect

* creates and cleans up test db files and disconnects kad

* removes db/.keep

* includes disconnect within cleanup methods

* creates public init method on connection pool to handle mutex copy issues

* remove all after disconnect

* pair creation and destruction

* checks disconnect error

* remove ctx

* fixes mock kad
2018-10-26 10:07:02 -04:00
..
bucket_test.go Testcoverage kademlia (#154) 2018-08-02 14:36:57 -04:00
bucket.go Flatten proto definitions into a single package (#360) 2018-09-18 07:39:06 +03:00
config.go Disconnects nodeclient, routing table dbs when done with kademlia (#507) 2018-10-26 10:07:02 -04:00
kademlia_test.go Disconnects nodeclient, routing table dbs when done with kademlia (#507) 2018-10-26 10:07:02 -04:00
kademlia.go Disconnects nodeclient, routing table dbs when done with kademlia (#507) 2018-10-26 10:07:02 -04:00
lookup.go PriorityQueue refactor (#500) 2018-10-24 08:24:47 -04:00
queue_test.go PriorityQueue refactor (#500) 2018-10-24 08:24:47 -04:00
queue.go PriorityQueue refactor (#500) 2018-10-24 08:24:47 -04:00
replacement_cache_test.go Flatten proto definitions into a single package (#360) 2018-09-18 07:39:06 +03:00
replacement_cache.go Flatten proto definitions into a single package (#360) 2018-09-18 07:39:06 +03:00
routing_helpers_test.go Make kademlia use less file-descriptors (#498) 2018-10-18 19:20:23 +03:00
routing_helpers.go Remove BKAD dependency from pkg/kademlia (#294) 2018-10-08 11:09:37 -04:00
routing_test.go Remove BKAD dependency from pkg/kademlia (#294) 2018-10-08 11:09:37 -04:00
routing.go Make kademlia use less file-descriptors (#498) 2018-10-18 19:20:23 +03:00
test_utils.go Flatten proto definitions into a single package (#360) 2018-09-18 07:39:06 +03:00
workers_test.go PriorityQueue refactor (#500) 2018-10-24 08:24:47 -04:00
workers.go PriorityQueue refactor (#500) 2018-10-24 08:24:47 -04:00