aboutsummaryrefslogtreecommitdiff
path: root/src/random.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2017-05-09 15:13:00 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2017-06-13 17:02:05 -0700
commitcb24c8539d1098d1a61605b452ecfa11a693320d (patch)
treeafe76352b93e35cf15684243b386cc3a318b22da /src/random.h
parent4cb8757aae1ae31e5519d81e854f44ed062d9836 (diff)
downloadbitcoin-cb24c8539d1098d1a61605b452ecfa11a693320d.tar.xz
Use rdrand as entropy source on supported platforms
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 6a63d57429..0c98041c4b 100644
--- a/src/random.h
+++ b/src/random.h
@@ -134,4 +134,7 @@ void GetOSRand(unsigned char *ent32);
*/
bool Random_SanityCheck();
+/** Initialize the RNG. */
+void RandomInit();
+
#endif // BITCOIN_RANDOM_H