Author: toad
Date: 2006-05-17 11:01:46 +0000 (Wed, 17 May 2006)
New Revision: 8732
Modified:
trunk/freenet/src/freenet/node/LocationManager.java
trunk/freenet/src/freenet/node/Version.java
Log:
713: Log more information from location swaps.
Modified: trunk/freenet/src/freenet/node/LocationManager.java
===================================================================
--- trunk/freenet/src/freenet/node/LocationManager.java 2006-05-17 09:43:42 UTC
(rev 8731)
+++ trunk/freenet/src/freenet/node/LocationManager.java 2006-05-17 11:01:46 UTC
(rev 8732)
@@ -286,6 +286,7 @@
Logger.error(this, "Bad friend loc: "+hisFriendLocs[i]+"
on "+uid);
return;
}
+ registerLocationLink(hisLoc, hisFriendLocs[i]);
registerKnownLocation(hisFriendLocs[i]);
}
@@ -467,6 +468,7 @@
Logger.error(this, "Bad friend loc:
"+hisFriendLocs[i]+" on "+uid);
return;
}
+ registerLocationLink(hisLoc, hisFriendLocs[i]);
registerKnownLocation(hisFriendLocs[i]);
}
@@ -958,6 +960,10 @@
private final HashMap knownLocs = new HashMap();
+ void registerLocationLink(double d, double t) {
+ Logger.minor(this, "Known Link: "+d+" "+t);
+ }
+
void registerKnownLocation(double d) {
Logger.minor(this, "Known Location: "+d);
Double dd = new Double(d);
Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2006-05-17 09:43:42 UTC (rev
8731)
+++ trunk/freenet/src/freenet/node/Version.java 2006-05-17 11:01:46 UTC (rev
8732)
@@ -18,7 +18,7 @@
public static final String protocolVersion = "1.0";
/** The build number of the current revision */
- private static final int buildNumber = 712;
+ private static final int buildNumber = 713;
/** Oldest build of Fred we will talk to */
private static final int lastGoodBuild = 591;