Function holochain::prelude::dht::prelude::is_full

pub fn is_full(topo: &Topology, power: u8, count: u32) -> bool
Expand description

Calculate whether a given combination of power and count corresponds to full DHT coverage.

e.g. if the space quantum is 2^12, and the power is 14, then the max power is (32 - 12) = 24. Any power 24 or greater implies fullness, since even a count of 1 would be greater than 2^32. Any power lower than 24 will result in full coverage with count >= 2^(32 - 12 - 14) = 2^6 = 64, since it would take 64 chunks of size 2^(12 + 14) to cover the full space.