forked from I2P_Developers/i2p.i2p
i2psnark:
- Change "private" value in infohash from string to number,
to match what everybody else does
- Send seed/leech status in DHT announces (ticket #1280)
This commit is contained in:
@@ -650,7 +650,9 @@ public class TrackerClient implements Runnable {
|
||||
numwant = 1;
|
||||
else
|
||||
numwant = _util.getMaxConnections();
|
||||
Collection<Hash> hashes = dht.getPeersAndAnnounce(snark.getInfoHash(), numwant, 5*60*1000, 1, 3*60*1000);
|
||||
Collection<Hash> hashes = dht.getPeersAndAnnounce(snark.getInfoHash(), numwant,
|
||||
5*60*1000, 1, 3*60*1000,
|
||||
coordinator.completed());
|
||||
if (!hashes.isEmpty()) {
|
||||
runStarted = true;
|
||||
lastDHTAnnounce = _util.getContext().clock().now();
|
||||
|
||||
Reference in New Issue
Block a user