diff options
Diffstat (limited to 'src/random.h')
-rw-r--r-- | src/random.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/random.h b/src/random.h index 29de587312..0464bdce14 100644 --- a/src/random.h +++ b/src/random.h @@ -58,4 +58,9 @@ static const ssize_t NUM_OS_RANDOM_BYTES = 32; */ void GetOSRand(unsigned char *ent32); +/** Check that OS randomness is available and returning the requested number + * of bytes. + */ +bool Random_SanityCheck(); + #endif // BITCOIN_RANDOM_H |