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:
zzz
2014-05-25 19:41:01 +00:00
parent c28f707f55
commit 5a3eab0c7c
4 changed files with 32 additions and 15 deletions

View File

@@ -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();