Interesting, thanks!

Do you know when a RNG was first introduced?

Reply to this note

Please Login to reply.

Discussion

Well for the wallet at day 1. Bucketing peers was introduced a few years later I think to deal with eclipse attacks. With the removal of openssl a few years ago a more clear distinction was made between cryptographically secure vs fast random data.

Here's some current stuff: https://github.com/bitcoin/bitcoin/blob/master/src/random.h