2005-02-20 jrandom

* Only build failsafe tunnels if we need them
    * Properly implement the selectNotFailingPeers so that we get a random
      selection of peers, rather than using the strictOrdering (thanks dm!)
    * Don't include too many "don't tell me about" peer references in the
      lookup message - only send the 10 peer references closest to the target.
This commit is contained in:
jrandom
2005-02-20 09:12:43 +00:00
committed by zzz
parent 7d4e093b58
commit cbf6a70a1a
10 changed files with 141 additions and 33 deletions

View File

@@ -243,7 +243,7 @@ public class DatabaseLookupMessage extends I2NPMessageImpl {
buf.append("\n\tSearch Key: ").append(getSearchKey());
buf.append("\n\tFrom: ").append(getFrom());
buf.append("\n\tReply Tunnel: ").append(getReplyTunnel());
buf.append("\n\tDont Include Peers: ").append(getDontIncludePeers());
buf.append("\n\tDont Include Peers: ").append(_dontIncludePeers.size());
buf.append("]");
return buf.toString();
}