Function hotshot::traits::election::helpers::make_rngs

source ยท
fn make_rngs(seed: u64, round: u64) -> (StdRng, StdRng)
Expand description

Create a pair of PRNGs for the given SEED and ROUND. Prev_rng is the PRNG for the previous ROUND, used to deterministically replay random numbers generated for the previous ROUND.