aboutsummaryrefslogtreecommitdiff
path: root/src/random.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-06-14 15:22:08 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2017-06-14 15:22:15 +0200
commitb63be2c6852f055e60185aea93ceb4a1ef798c40 (patch)
tree887468c3240bf2acb2ffa66710bc1010613addf4 /src/random.h
parent1ad3d4e1261f4a444d982a1470c257c78233bda3 (diff)
parentcb24c8539d1098d1a61605b452ecfa11a693320d (diff)
Merge #10377: Use rdrand as entropy source on supported platforms
cb24c85 Use rdrand as entropy source on supported platforms (Pieter Wuille) Tree-SHA512: c42eaa01a14e6bc097c70b6bf8540d61854c2f76cb32be69c2a3c411a126f7b4bf4a4486e4493c4cc367cc689319abde0d4adb799d29a54fd3e81767ce0766fc
Diffstat (limited to 'src/random.h')
-rw-r--r--src/random.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/random.h b/src/random.h
index dcb74eadb5..c60ab36179 100644
--- a/src/random.h
+++ b/src/random.h
@@ -140,4 +140,7 @@ void GetOSRand(unsigned char *ent32);
*/
bool Random_SanityCheck();
+/** Initialize the RNG. */
+void RandomInit();
+
#endif // BITCOIN_RANDOM_H