forked from I2P_Developers/i2p.i2p
* i2psnark: Improvements for torrents with > 4 leechers:
choke based on upload rate when seeding, and
be smarter and fairer about rotating choked peers.
* Handle two common i2psnark OOM situations rather
than shutting down the whole thing.
* Fix reporting to tracker of remaining bytes for
torrents > 4GB (but ByteMonsoon still has a bug)
28 lines
943 B
Java
28 lines
943 B
Java
package net.i2p.router;
|
|
/*
|
|
* free (adj.): unencumbered; not under the control of others
|
|
* Written by jrandom in 2003 and released into the public domain
|
|
* with no warranty of any kind, either expressed or implied.
|
|
* It probably won't make your computer catch on fire, or eat
|
|
* your children, but it might. Use at your own risk.
|
|
*
|
|
*/
|
|
|
|
import net.i2p.CoreVersion;
|
|
|
|
/**
|
|
* Expose a version string
|
|
*
|
|
*/
|
|
public class RouterVersion {
|
|
public final static String ID = "$Revision: 1.469 $ $Date: 2006-11-09 20:44:35 $";
|
|
public final static String VERSION = "0.6.1.26";
|
|
public final static long BUILD = 3;
|
|
public static void main(String args[]) {
|
|
System.out.println("I2P Router version: " + VERSION + "-" + BUILD);
|
|
System.out.println("Router ID: " + RouterVersion.ID);
|
|
System.out.println("I2P Core version: " + CoreVersion.VERSION);
|
|
System.out.println("Core ID: " + CoreVersion.ID);
|
|
}
|
|
}
|