probe-lab / zikade

A Go implementation of the libp2p Kademlia DHT specification
Other
12 stars 3 forks source link

Reuse NodeHandlers in GetClosestNodes #58

Closed iand closed 1 year ago

iand commented 1 year ago

This issue if to address the TODO here: https://github.com/plprobelab/zikade/blob/main/internal/coord/network.go#L229

We should reuse a NodeHandler managed by NetworkBehaviour rather than calling NewNodeHandler