Readonly
aReadonly
dFrom section 4.4 of the S/Kademlia paper - this is how many disjoint paths are used during a query.
Readonly
kThis is the maximum size of the k-buckets and how many peers are looked up when searching for peers close to a key.
Find a peer on the DHT
Optional
options: RoutingOptionsFind providers of a given CID
Optional
options: RoutingOptionsGet a value from the DHT, the final ValueEvent will be the best value
Optional
options: RoutingOptionsFind the closest peers to the passed key
Optional
options: RoutingOptionsReturns the mode this node is in
Store provider records for the passed CID on the DHT pointing to us
Optional
options: RoutingOptionsStore the passed value under the passed key on the DHT
Optional
options: RoutingOptionsForce a routing table refresh
If 'server' this node will respond to DHT queries, if 'client' this node will not.
Query concurrency factor - this controls how many peers we contact in parallel during a query.