forked from I2P_Developers/i2p.i2p
2004-12-16 jrandom
* Catch another oddball case for a reset connection in the streaming lib.
* Add a dumpprofile.jsp page, called with ?peer=base64OfPeerHash, which
dumps the current state of that peer's profile. Instead of the full
base64, you can pass in however many characters you have and it will
return the first match found.
This commit is contained in:
@@ -15,9 +15,9 @@ import net.i2p.CoreVersion;
|
||||
*
|
||||
*/
|
||||
public class RouterVersion {
|
||||
public final static String ID = "$Revision: 1.113 $ $Date: 2004/12/15 21:45:55 $";
|
||||
public final static String ID = "$Revision: 1.114 $ $Date: 2004/12/16 00:42:04 $";
|
||||
public final static String VERSION = "0.4.2.3";
|
||||
public final static long BUILD = 7;
|
||||
public final static long BUILD = 8;
|
||||
public static void main(String args[]) {
|
||||
System.out.println("I2P Router version: " + VERSION);
|
||||
System.out.println("Router ID: " + RouterVersion.ID);
|
||||
|
||||
@@ -70,9 +70,9 @@ class ProfilePersistenceHelper {
|
||||
groups = "not failing";
|
||||
} else {
|
||||
if (_context.profileOrganizer().isFast(profile.getPeer()))
|
||||
groups = "fast and reliable";
|
||||
groups = "fast and high capacity";
|
||||
else
|
||||
groups = "reliable";
|
||||
groups = "high capacity";
|
||||
|
||||
if (_context.profileOrganizer().isWellIntegrated(profile.getPeer()))
|
||||
groups = groups + ", well integrated";
|
||||
@@ -85,6 +85,7 @@ class ProfilePersistenceHelper {
|
||||
buf.append("# as calculated by ").append(_us.toBase64()).append(NL);
|
||||
buf.append("#").append(NL);
|
||||
buf.append("# reliability: ").append(profile.getReliabilityValue()).append(NL);
|
||||
buf.append("# capacity: ").append(profile.getCapacityValue()).append(NL);
|
||||
buf.append("# integration: ").append(profile.getIntegrationValue()).append(NL);
|
||||
buf.append("# speedValue: ").append(profile.getSpeedValue()).append(NL);
|
||||
buf.append("#").append(NL);
|
||||
|
||||
Reference in New Issue
Block a user