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

Function GetRandHash

src/commons/random.cpp:115–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

SendMessagesFunction · 0.85
ProcessAddrMessageFunction · 0.85

Calls 1

GetRandBytesFunction · 0.85

Tested by

no test coverage detected