forked from I2P_Developers/i2p.i2p
Clear displayed tracker issues when restarting torrent
lint
This commit is contained in:
@ -164,7 +164,7 @@ public class SnarkManager implements CompleteListener {
|
|||||||
public static final Set<String> DEFAULT_TRACKER_ANNOUNCES;
|
public static final Set<String> DEFAULT_TRACKER_ANNOUNCES;
|
||||||
|
|
||||||
/** host names for config form */
|
/** host names for config form */
|
||||||
public static final Set<String> KNOWN_OPENTRACKERS = new HashSet(Arrays.asList(new String[] {
|
public static final Set<String> KNOWN_OPENTRACKERS = new HashSet<String>(Arrays.asList(new String[] {
|
||||||
"tracker.welterde.i2p", "cfmqlafjfmgkzbt4r3jsfyhgsr5abgxryl6fnz3d3y5a365di5aa.b32.i2p",
|
"tracker.welterde.i2p", "cfmqlafjfmgkzbt4r3jsfyhgsr5abgxryl6fnz3d3y5a365di5aa.b32.i2p",
|
||||||
"opentracker.dg2.i2p", "w7tpbzncbcocrqtwwm3nezhnnsw4ozadvi2hmvzdhrqzfxfum7wa.b32.i2p",
|
"opentracker.dg2.i2p", "w7tpbzncbcocrqtwwm3nezhnnsw4ozadvi2hmvzdhrqzfxfum7wa.b32.i2p",
|
||||||
"tracker.thebland.i2p", "s5ikrdyjwbcgxmqetxb3nyheizftms7euacuub2hic7defkh3xhq.b32.i2p",
|
"tracker.thebland.i2p", "s5ikrdyjwbcgxmqetxb3nyheizftms7euacuub2hic7defkh3xhq.b32.i2p",
|
||||||
@ -175,7 +175,7 @@ public class SnarkManager implements CompleteListener {
|
|||||||
}));
|
}));
|
||||||
|
|
||||||
static {
|
static {
|
||||||
Set<String> ann = new HashSet();
|
Set<String> ann = new HashSet<String>(8);
|
||||||
for (int i = 1; i < DEFAULT_TRACKERS.length; i += 2) {
|
for (int i = 1; i < DEFAULT_TRACKERS.length; i += 2) {
|
||||||
if (DEFAULT_TRACKERS[i-1].equals("TheBland") && !SigType.ECDSA_SHA256_P256.isAvailable())
|
if (DEFAULT_TRACKERS[i-1].equals("TheBland") && !SigType.ECDSA_SHA256_P256.isAvailable())
|
||||||
continue;
|
continue;
|
||||||
|
@ -160,6 +160,7 @@ public class TrackerClient implements Runnable {
|
|||||||
consecutiveFails = 0;
|
consecutiveFails = 0;
|
||||||
runStarted = false;
|
runStarted = false;
|
||||||
_fastUnannounce = false;
|
_fastUnannounce = false;
|
||||||
|
snark.setTrackerProblems(null);
|
||||||
_thread = new I2PAppThread(this, _threadName + " #" + (++_runCount), true);
|
_thread = new I2PAppThread(this, _threadName + " #" + (++_runCount), true);
|
||||||
_thread.start();
|
_thread.start();
|
||||||
started = true;
|
started = true;
|
||||||
|
Reference in New Issue
Block a user