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

Function GetStrongRandBytes

src/random.cpp:607–610  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

605}
606
607void GetStrongRandBytes(std::span<unsigned char> bytes) noexcept
608{
609 ProcRand(bytes.data(), bytes.size(), RNGLevel::SLOW, /*always_use_real_rng=*/true);
610}
611
612void RandAddPeriodic() noexcept
613{

Callers 4

InitRPCAuthenticationFunction · 0.85
CreateMuSig2NonceFunction · 0.85
MakeNewKeyMethod · 0.85
EncryptWalletMethod · 0.85

Calls 3

ProcRandFunction · 0.85
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected