aboutsummaryrefslogtreecommitdiff
path: root/src/random.h
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2017-05-09 15:13:00 -0700
committerPieter Wuille <[email protected]>2017-06-13 17:02:05 -0700
commitcb24c8539d1098d1a61605b452ecfa11a693320d (patch)
treeafe76352b93e35cf15684243b386cc3a318b22da /src/random.h
parentMerge #10313: [Consensus] Add constant for maximum stack size (diff)
downloaddiscoin-cb24c8539d1098d1a61605b452ecfa11a693320d.tar.xz
discoin-cb24c8539d1098d1a61605b452ecfa11a693320d.zip
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 6a63d5742..0c98041c4 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