Function sp_domains::bundle_producer_election::calculate_threshold

source ยท
pub fn calculate_threshold(
    operator_stake: StakeWeight,
    total_domain_stake: StakeWeight,
    bundle_slot_probability: (u64, u64),
) -> u128
Expand description

Returns the election threshold based on the operator stake proportion and slot probability.