Skip to main content

win_chance

Function win_chance 

Source
pub fn win_chance(
    elapsed_seconds: u64,
    difficulty: u64,
    others: f64,
    parameters: &NetworkParameters,
) -> f64
Expand description

難易度 difficulty のブロックを経過 elapsed_seconds 秒に作れる自分が、Importance の合計 others のほかの アカウントに先を越されない見込み。同じ秒に並ぶものは半々に数える