Seed the global RNG state and m_rng for testing and log the seed value. This affects all randomness, except GetStrongRandBytes(). */
| 62 | FastRandomContext m_rng; |
| 63 | /** Seed the global RNG state and m_rng for testing and log the seed value. This affects all randomness, except GetStrongRandBytes(). */ |
| 64 | void SeedRandomForTest(SeedRand seed) |
| 65 | { |
| 66 | SeedRandomStateForTest(seed); |
| 67 | m_rng.Reseed(GetRandHash()); |
| 68 | } |
| 69 | |
| 70 | explicit BasicTestingSetup(ChainType chainType = ChainType::MAIN, TestOpts = {}); |
| 71 | ~BasicTestingSetup(); |
nothing calls this directly
no test coverage detected