Skip to content

p2p/discover/topicindex: [IPTree} normalize the IPv4 and IPv6 scores by effective depth#84

Open
harnen wants to merge 2 commits into
datahop:topdiscfrom
harnen:topdisc
Open

p2p/discover/topicindex: [IPTree} normalize the IPv4 and IPv6 scores by effective depth#84
harnen wants to merge 2 commits into
datahop:topdiscfrom
harnen:topdisc

Conversation

@harnen

@harnen harnen commented Jul 6, 2026

Copy link
Copy Markdown

Fixes the IPv4/IPv6 score bias described in #53 by stopping traversal once the expected bucket occupancy drops below 1, and dividing by the number of levels actually evaluated instead of the fixed bit-width.

@harnen
harnen requested a review from fjl as a code owner July 6, 2026 10:43
@harnen
harnen requested a review from srene July 6, 2026 10:44
@srene srene changed the title [IPTree} normalize the IPv4 and IPv6 scores by effective depth p2p/discover: [IPTree} normalize the IPv4 and IPv6 scores by effective depth Jul 7, 2026
@srene srene changed the title p2p/discover: [IPTree} normalize the IPv4 and IPv6 scores by effective depth p2p/discover/topicindex: [IPTree} normalize the IPv4 and IPv6 scores by effective depth Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Task 2.6: IPv6 prefix policy implementation for DISC-NG IP-diversity scoring

1 participant