RoutingTable

constructor(id: Sha1Hash, bucketSize: Int, settings: RoutingTableSettings = RoutingTableSettings())

Parameters

id

our own node id (m_id).

bucketSize

the constant k from the Kademlia paper (m_bucket_size); must be a power of two.

settings

the DHT routing knobs (see RoutingTableSettings).