![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
#include <test/util/random.h>#include <logging.h>#include <uint256.h>#include <util/check.h>#include <cstdlib>#include <iostream>Go to the source code of this file.
Functions | |
| void | MakeRandDeterministicDANGEROUS (const uint256 &seed) noexcept |
| Internal function to set g_determinstic_rng. | |
| void | SeedRandomStateForTest (SeedRand seedtype) |
| Seed the global RNG state for testing and log the seed value. | |
Variables | |
| std::atomic< bool > | g_seeded_g_prng_zero {false} |
Internal function to set g_determinstic_rng.
Only accessed from tests.
Definition at line 595 of file random.cpp.
Seed the global RNG state for testing and log the seed value.
This affects all randomness, except GetStrongRandBytes().
Definition at line 19 of file random.cpp.
| std::atomic<bool> g_seeded_g_prng_zero {false} |
Definition at line 15 of file random.cpp.