libp2p / go-libp2p-kad-dht

A Kademlia DHT implementation on go-libp2p
https://github.com/libp2p/specs/tree/master/kad-dht
MIT License
516 stars 220 forks source link

v2 Peer Diversity Filter #953

Closed guillaumemichel closed 9 months ago

guillaumemichel commented 9 months ago

Implementation of the Peer Diversity Filter for the TrieRT routing table used in v2.

Note that the TrieRTPeerDiversityFilter isn't applied directly on the DHT, but should be provided in the Config when creating the TrieRT. Hence, we could also move it to a dedicated folder (e.g diversity_filter) if it makes more sense.

guillaumemichel commented 9 months ago

Closing in favor of https://github.com/plprobelab/zikade/pull/2