probe-lab / zikade

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

Reuse NodeHandlers in GetClosestNodes #58

Closed iand closed 12 months ago

iand commented 12 months 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