- <init>
- addPeers
Creates peer destinations from a String each, and adds them to initialPeers.
- bootstrap
Connects to the Kademlia network; blocks until done.
- createRandomHash
Returns a random value r such that min <= r < max.
- find
- findLocally
- findOne
- getClosestNodes
Queries the DHT for the k peers closest to a given key. This method blocks.
- getDhtResults
Returns all DhtStorablePacket packets that have been received as a response to a
send batch, plus lo
- isCloser
Returns true if dest1 is closer to key than dest2.
- isReady
- readySignal