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)
|
if (ri == null)
|
||||||
return false;
|
return false;
|
||||||
char bw = ri.getBandwidthTier().charAt(0);
|
char bw = ri.getBandwidthTier().charAt(0);
|
||||||
// Only if class M, N, O, P, X
|
// Only if class N, O, P, X
|
||||||
if (bw != Router.CAPABILITY_BW64 &&
|
if (bw != Router.CAPABILITY_BW128 && bw != Router.CAPABILITY_BW256 &&
|
||||||
bw != Router.CAPABILITY_BW128 && bw != Router.CAPABILITY_BW256 &&
|
|
||||||
bw != Router.CAPABILITY_BW512 && bw != Router.CAPABILITY_BW_UNLIMITED)
|
bw != Router.CAPABILITY_BW512 && bw != Router.CAPABILITY_BW_UNLIMITED)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user