aboutsummaryrefslogtreecommitdiff
path: root/src/random.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2018-12-17 15:50:31 -0800
committerPieter Wuille <pieter.wuille@gmail.com>2019-05-06 15:15:04 -0700
commit1d207bc46f995ad3b5ae89bb504affaca09d10b1 (patch)
tree7add5e5b3f141f86412c17eece63cda9995266b7 /src/random.h
parent94167e2b5b7b6cb3cb1465ee67dd50676c5c8a14 (diff)
downloadbitcoin-1d207bc46f995ad3b5ae89bb504affaca09d10b1.tar.xz
Add hash strengthening to the RNG
Once every minute, this will feed the RNG state through repeated SHA512 for 10ms. The timings of that operation are used as entropy source as well.
Diffstat (limited to 'src/random.h')
0 files changed, 0 insertions, 0 deletions