From 370b7f112450c0bfdee3f04907725b8faf3ab0a9 Mon Sep 17 00:00:00 2001 From: zzz Date: Wed, 8 Apr 2020 20:20:55 +0000 Subject: [PATCH] NetDB: Remove class M from auto-floodfill; only 1% of floodfills are class M, and on average they store 25% less leasesets than class N. Reverts change to add M in 2015. --- .../i2p/router/networkdb/kademlia/FloodfillMonitorJob.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/router/java/src/net/i2p/router/networkdb/kademlia/FloodfillMonitorJob.java b/router/java/src/net/i2p/router/networkdb/kademlia/FloodfillMonitorJob.java index e1e0b6057..4396eeedd 100644 --- a/router/java/src/net/i2p/router/networkdb/kademlia/FloodfillMonitorJob.java +++ b/router/java/src/net/i2p/router/networkdb/kademlia/FloodfillMonitorJob.java @@ -140,9 +140,8 @@ class FloodfillMonitorJob extends JobImpl { if (ri == null) return false; char bw = ri.getBandwidthTier().charAt(0); - // Only if class M, N, O, P, X - if (bw != Router.CAPABILITY_BW64 && - bw != Router.CAPABILITY_BW128 && bw != Router.CAPABILITY_BW256 && + // Only if class N, O, P, X + if (bw != Router.CAPABILITY_BW128 && bw != Router.CAPABILITY_BW256 && bw != Router.CAPABILITY_BW512 && bw != Router.CAPABILITY_BW_UNLIMITED) return false;