MCPcopy Create free account
hub / github.com/ElementsProject/elements / RandAddPeriodic

Function RandAddPeriodic

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

Source from the content-addressed store, hash-verified

581void GetRandBytes(unsigned char* buf, int num) noexcept { ProcRand(buf, num, RNGLevel::FAST); }
582void GetStrongRandBytes(unsigned char* buf, int num) noexcept { ProcRand(buf, num, RNGLevel::SLOW); }
583void RandAddPeriodic() noexcept { ProcRand(nullptr, 0, RNGLevel::PERIODIC); }
584void RandAddEvent(const uint32_t event_info) noexcept { GetRNGState().AddEvent(event_info); }
585
586bool g_mock_deterministic_tests{false};

Callers 1

AppInitMainFunction · 0.85

Calls 1

ProcRandFunction · 0.85

Tested by

no test coverage detected