Function holochain::prelude::dependencies::kitsune_p2p_types::dht::prelude::power_and_count_from_length
pub fn power_and_count_from_length(
dim: &Dimension,
len: u64,
max_chunks: u32
) -> (u8, u32)
Expand description
Calculate the unique pairing of power and count implied by a given length and max number of chunks. Gives the nearest value that satisfies the constraints, but may not be exact.