MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / RandomSeed

Method RandomSeed

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

Source from the content-addressed store, hash-verified

378}
379
380void FastRandomContext::RandomSeed()
381{
382 uint256 seed = GetRandHash();
383 rng.SetKey(seed.begin(), 32);
384 requires_seed = false;
385}
386
387uint256 FastRandomContext::rand256()
388{

Callers

nothing calls this directly

Calls 3

GetRandHashFunction · 0.85
SetKeyMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected