aboutsummaryrefslogtreecommitdiff
path: root/src/util/validation.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2019-05-18 10:01:21 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2019-05-18 10:01:54 +0200
commit82b64a5a8102eba2dfa3624247720a1c40f6ae8c (patch)
tree7dfacfea67033416f60784885ba00ce6c017f41c /src/util/validation.cpp
parentc89a63412e8549e9e2e13a09afefbe17babb50d5 (diff)
parent3cb9ce85d0c6d01217babf0df7efc2eabde1b12f (diff)
Merge #15224: Add RNG strengthening (10ms once every minute)
3cb9ce85d0c6d01217babf0df7efc2eabde1b12f Document strenghtening (Pieter Wuille) 1d207bc46f995ad3b5ae89bb504affaca09d10b1 Add hash strengthening to the RNG (Pieter Wuille) Pull request description: This patch improves the built-in RNG using hash strengthening. At startup, and once every minute, 32 bytes of entropy are produced from the RNG, repeatedly hashed using SHA512 for 10ms, and then fed back into the RNG, together with high-precision timestamps obtained every 1000 iterations. ACKs for commit 3cb9ce: pstratem: utACK 3cb9ce85d0c6d01217babf0df7efc2eabde1b12f Tree-SHA512: 4fb6f61639b392697beb81c5f0903f79f10dd1087bed7f34de2abb5c22704a671e37b2d828ed141492491863efb1e7d1fa04408a1d32c9de2f2cc8ac406bbe57
Diffstat (limited to 'src/util/validation.cpp')
0 files changed, 0 insertions, 0 deletions