forked from I2P_Developers/i2p.i2p
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.
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user