Skip to content

Commit

Permalink
Increase min floodfills; decrease min routerinfo expiration
Browse files Browse the repository at this point in the history
  • Loading branch information
zzz committed May 13, 2011
1 parent f965466 commit ffa9ea9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions history.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2011-05-13 zzz
* Increase min floodfills; decrease min routerinfo expiration

2011-05-11 zzz
* Use partitions of fast tier for various hops of client tunnels

Expand Down
4 changes: 2 additions & 2 deletions router/java/src/net/i2p/router/RouterVersion.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ public class RouterVersion {
/** deprecated */
public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 3;
public final static long BUILD = 4;

/** for example "-test" */
public final static String EXTRA = "";
public final static String EXTRA = "-rc";
public final static String FULL_VERSION = VERSION + "-" + BUILD + EXTRA;
public static void main(String args[]) {
System.out.println("I2P Router version: " + FULL_VERSION);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ class FloodfillMonitorJob extends JobImpl {
private static final int REQUEUE_DELAY = 60*60*1000;
private static final long MIN_UPTIME = 2*60*60*1000;
private static final long MIN_CHANGE_DELAY = 6*60*60*1000;
private static final int MIN_FF = 60;
private static final int MAX_FF = 100;
private static final int MIN_FF = 75;
private static final int MAX_FF = 150;
private static final String PROP_FLOODFILL_PARTICIPANT = "router.floodfillParticipant";

public FloodfillMonitorJob(RouterContext context, FloodfillNetworkDatabaseFacade facade) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ void searchComplete(Hash key) {
* know anyone or just started up) -- see validate() below
*/
private final static long ROUTER_INFO_EXPIRATION = 3*24*60*60*1000l;
private final static long ROUTER_INFO_EXPIRATION_MIN = 150*60*1000l;
private final static long ROUTER_INFO_EXPIRATION_MIN = 120*60*1000l;
private final static long ROUTER_INFO_EXPIRATION_SHORT = 90*60*1000l;
private final static long ROUTER_INFO_EXPIRATION_FLOODFILL = 60*60*1000l;

Expand Down

0 comments on commit ffa9ea9

Please sign in to comment.