mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
Merge #9792: FastRandomContext improvements and switch to ChaCha20
4fd2d2fAdd a FastRandomContext::randrange and use it (Pieter Wuille)1632922Switch FastRandomContext to ChaCha20 (Pieter Wuille)e04326fAdd ChaCha20 (Pieter Wuille)663fbaeFastRandom benchmark (Pieter Wuille)c21cbe6Introduce FastRandomContext::randbool() (Pieter Wuille) Tree-SHA512: 7fff61e3f6d6dc6ac846ca643d877b377db609646dd401a0e8f50b052c6b9bcd2f5fc34de6bbf28f04afd1724f6279ee163ead5f37d724fb782a00239f35db1d
This commit is contained in:
@@ -27,7 +27,8 @@
|
||||
|
||||
#include <boost/thread.hpp>
|
||||
|
||||
FastRandomContext insecure_rand_ctx(true);
|
||||
uint256 insecure_rand_seed = GetRandHash();
|
||||
FastRandomContext insecure_rand_ctx(insecure_rand_seed);
|
||||
|
||||
extern bool fPrintToConsole;
|
||||
extern void noui_connect();
|
||||
|
||||
Reference in New Issue
Block a user