Package | Description |
---|---|
net.i2p.router.networkdb.kademlia |
Modifier and Type | Method and Description |
---|---|
(package private) KBucketSet |
KademliaNetworkDatabaseFacade.getKBuckets() |
Modifier and Type | Method and Description |
---|---|
(package private) List<Hash> |
FloodfillPeerSelector.selectFloodfillParticipants(Hash key,
int maxNumRouters,
KBucketSet kbuckets)
Sort the floodfills.
|
(package private) List<Hash> |
FloodfillPeerSelector.selectFloodfillParticipants(Hash key,
int howMany,
Set<Hash> toIgnore,
KBucketSet kbuckets)
See above for description
List will not include our own hash
|
(package private) List<Hash> |
FloodfillPeerSelector.selectFloodfillParticipants(KBucketSet kbuckets) |
(package private) List<Hash> |
PeerSelector.selectMostReliablePeers(Hash key,
int numClosest,
Set<Hash> alreadyChecked,
KBucketSet kbuckets)
UNUSED - See FloodfillPeerSelector override
Search through the kbucket set to find the most reliable peers close to the
given key, skipping all of the ones already checked
List will not include our own hash.
|
(package private) List<Hash> |
FloodfillPeerSelector.selectMostReliablePeers(Hash key,
int maxNumRouters,
Set<Hash> peersToIgnore,
KBucketSet kbuckets)
Pick out peers with the floodfill capacity set, returning them first, but then
after they're complete, sort via kademlia.
|
(package private) List<Hash> |
PeerSelector.selectNearest(Hash key,
int maxNumRouters,
Set<Hash> peersToIgnore,
KBucketSet kbuckets)
UNUSED - See FloodfillPeerSelector override
Generic KBucket filtering to find the hashes close to a key, regardless of other considerations.
|
(package private) List<Hash> |
FloodfillPeerSelector.selectNearest(Hash key,
int maxNumRouters,
Set<Hash> peersToIgnore,
KBucketSet kbuckets)
Floodfill peers only.
|
(package private) List<Hash> |
PeerSelector.selectNearestExplicit(Hash key,
int maxNumRouters,
Set<Hash> peersToIgnore,
KBucketSet kbuckets)
Ignore KBucket ordering and do the XOR explicitly per key.
|
(package private) List<Hash> |
PeerSelector.selectNearestExplicitThin(Hash key,
int maxNumRouters,
Set<Hash> peersToIgnore,
KBucketSet kbuckets)
UNUSED - See FloodfillPeerSelector override
Ignore KBucket ordering and do the XOR explicitly per key.
|
(package private) List<Hash> |
FloodfillPeerSelector.selectNearestExplicitThin(Hash key,
int maxNumRouters,
Set<Hash> peersToIgnore,
KBucketSet kbuckets)
Pick out peers with the floodfill capacity set, returning them first, but then
after they're complete, sort via kademlia.
|
(package private) List<Hash> |
FloodfillPeerSelector.selectNearestExplicitThin(Hash key,
int maxNumRouters,
Set<Hash> peersToIgnore,
KBucketSet kbuckets,
boolean preferConnected)
Pick out peers with the floodfill capacity set, returning them first, but then
after they're complete, sort via kademlia.
|