MCPcopy Create free account
hub / github.com/LUX-Core/lux / GetRandHash

Function GetRandHash

src/random.cpp:113–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113uint256 GetRandHash()
114{
115 uint256 hash;
116 GetRandBytes((unsigned char*)&hash, sizeof(hash));
117 return hash;
118}
119
120uint32_t insecure_rand_Rz = 11;
121uint32_t insecure_rand_Rw = 11;

Callers 9

CCoinsKeyHasherMethod · 0.85
ClearMethod · 0.85
LimitOrphanTxSizeFunction · 0.85
ProcessMessageFunction · 0.85
SendMessagesFunction · 0.85
RandomOrphanFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
RandomTransactionFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 1

GetRandBytesFunction · 0.85

Tested by 4

RandomOrphanFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
RandomTransactionFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68