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.
Implementation of the Peer Diversity Filter for the
TrieRT
routing table used in v2.Note that the
TrieRTPeerDiversityFilter
isn't applied directly on theDHT
, but should be provided in theConfig
when creating theTrieRT
. Hence, we could also move it to a dedicated folder (e.gdiversity_filter
) if it makes more sense.