subspace_core_primitives::solutions

Function pieces_to_solution_range

source
pub const fn pieces_to_solution_range(
    pieces: u64,
    slot_probability: (u64, u64),
) -> SolutionRange
Expand description

Computes the following:

MAX * slot_probability / chunks * s_buckets / pieces