Open nhynes opened 3 years ago
How often do you need entropy? If once per epoch is enough it would be better to use the consensus layer's random beacon for the epoch. Or a mix of the two.
Me personally? I'm not using randomness. I don't know if other people need more entropy, but reseeding using the random beacon every epoch would get closer to not needing oracular entropy.
Yeah I'm just saying that if the SDK provides such an API it should by default mix in the entropy from the random beacon for the current epoch.
ChaCha20 seeded with the
Header::encoded_hash
should about do the trick, but with aBatchContextRng::reseed
for people who have better entropy.