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

Method FastRandomContext

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

Source from the content-addressed store, hash-verified

631}
632
633FastRandomContext::FastRandomContext(const uint256& seed) noexcept : requires_seed(false), bytebuf_size(0), bitbuf_size(0)
634{
635 rng.SetKey(seed.begin(), 32);
636}
637
638bool Random_SanityCheck()
639{

Callers

nothing calls this directly

Calls 2

SetKeyMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected