bucketSize

fun bucketSize(bucket: Int): Int

Number of live nodes in bucket bucket (bucket_size(int)).


Parameters

bucketSize

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