forked from I2P_Developers/i2p.i2p
* Netdb:
- 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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user