- <init>
- addOrUpdate
Adds a KademliaPeer to the s-bucket or a k-bucket, depending on its distance to
the local node and h
- getAllPeers
- getPeerCount
Return the total number of known Kademlia peers (locked + unlocked peers).
- getSBucket
- remove
- addToKBucket
Adds a peer to the appropriate k-bucket, splitting the bucket if necessary, or
updates the peer if i
- getAllUnlockedPeers
Returns all peers that are not locked.
- getBucket
Returns the (s or k) bucket that contains a given Destination. The s-bucket is
checked first, then t
- getBucketIndex
Finds the index of the k-bucket whose key range contains a given Hash. This
method does a binary sea
- getClosestPeers
Returns the count peers that are closest to a given key, and which are not
locked. Less than count p
- getKBucket
Does a binary search for the k-bucket whose key range contains a given Hash. The
bucket may or may n