Constructors
Declared in <random.h>
Construct a FastRandomContext with GetRandHash()-based entropy (or zero key if fDeterministic).
explicit
FastRandomContext(bool fDeterministic = false) noexcept;
» more...
Initialize with explicit seed (only for testing)
explicit
FastRandomContext(uint256 const& seed) noexcept;
» more...
| Name | Description |
|---|---|
| fDeterministic | When true, seed with a zero key for reproducible output instead of gathering entropy. |
| seed | The fixed seed to initialize the context with. |