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

Function GetRandHash

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

Source from the content-addressed store, hash-verified

371}
372
373uint256 GetRandHash()
374{
375 uint256 hash;
376 GetRandBytes((unsigned char*)&hash, sizeof(hash));
377 return hash;
378}
379
380void FastRandomContext::RandomSeed()
381{

Callers 9

RandomSeedMethod · 0.85
CreateNewBlockMethod · 0.85
LimitOrphanTxSizeFunction · 0.85
validation.cppFile · 0.85
ClearMethod · 0.85
AddTxFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
SeedInsecureRandFunction · 0.85
test_bitcoin.cppFile · 0.85

Calls 1

GetRandBytesFunction · 0.85

Tested by 3

AddTxFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
SeedInsecureRandFunction · 0.68