Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ GetRandHash
Function
GetRandHash
src/random.cpp:598–603 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
596
}
597
598
uint256 GetRandHash() noexcept
599
{
600
uint256 hash;
601
GetRandBytes((unsigned char*)&hash, sizeof(hash));
602
return hash;
603
}
604
605
void FastRandomContext::RandomSeed()
606
{
Callers
15
CreateIfNotCreatedAlready
Method · 0.85
RandomSeed
Method · 0.85
InitScriptExecutionCache
Function · 0.85
PopulateAndValidateSnapshot
Method · 0.85
AddTx
Function · 0.85
BOOST_AUTO_TEST_CASE
Function · 0.85
CSignatureCache
Method · 0.85
BOOST_AUTO_TEST_CASE
Function · 0.85
BOOST_AUTO_TEST_CASE
Function · 0.85
BOOST_AUTO_TEST_CASE
Function · 0.85
BOOST_FIXTURE_TEST_CASE
Function · 0.85
Seed
Function · 0.85
Calls
1
GetRandBytes
Function · 0.85
Tested by
7
AddTx
Function · 0.68
BOOST_AUTO_TEST_CASE
Function · 0.68
BOOST_AUTO_TEST_CASE
Function · 0.68
BOOST_AUTO_TEST_CASE
Function · 0.68
BOOST_AUTO_TEST_CASE
Function · 0.68
BOOST_FIXTURE_TEST_CASE
Function · 0.68
Seed
Function · 0.68