- Use new receivedAsReply flag in LeaseSet to mark
        those received as response to a query
      - Mark which methods in FloodfillPeerSelector may return
        our own hash
      - Redefine selectNearest() so it may return our own hash,
        so it can be used for closeness measurement
      - Redefine findNearestRouters() to return Hashes
        instead of RouterInfos
      - Fix LeaseSet response decisions for floodfills, based
        on partial keyspace and closeness measurements
      - List only count of published leasesets in netdb
This commit is contained in:
zzz
2010-06-05 01:10:56 +00:00
parent 617ca79b8f
commit 2024fb1b65
13 changed files with 302 additions and 113 deletions

View File

@ -119,9 +119,10 @@ public class LeaseSet extends DataStructureImpl {
/**
* If true, we received this LeaseSet by searching for it
* Default false.
* @since 0.7.14
*/
public boolean getReceivedAsReply() { return _receivedAsReply; }
/** set to true */
/** set to true @since 0.7.14 */
public void setReceivedAsReply() { _receivedAsReply = true; }
public void addLease(Lease lease) {