Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
633
FastRandomContext::FastRandomContext(const uint256& seed) noexcept : requires_seed(false), bytebuf_size(0), bitbuf_size(0)
634
{
635
rng.SetKey(seed.begin(), 32);
636
}
637
638
bool Random_SanityCheck()
639
{
Callers
nothing calls this directly
Calls
2
SetKey
Method · 0.45
begin
Method · 0.45
Tested by
no test coverage detected