MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / RandomInit

Function RandomInit

src/random.cpp:696–702  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

694}
695
696void RandomInit()
697{
698 // Invoke RNG code to trigger initialization (if not already performed)
699 ProcRand(nullptr, 0, RNGLevel::FAST, /*always_use_real_rng=*/true);
700
701 ReportHardwareRand();
702}
703
704double MakeExponentiallyDistributed(uint64_t uniform) noexcept
705{

Callers 2

bitcoin-wallet.cppFile · 0.85
ContextMethod · 0.85

Calls 2

ProcRandFunction · 0.85
ReportHardwareRandFunction · 0.85

Tested by

no test coverage detected