Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BTCGPU/BTCGPU
/ GetRandBytes
Function
GetRandBytes
src/random.cpp:274–279 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
272
}
273
274
void GetRandBytes(unsigned char* buf, int num)
275
{
276
if (RAND_bytes(buf, num) != 1) {
277
RandFailure();
278
}
279
}
280
281
static void AddDataToRng(void* data, size_t len);
282
Callers
13
SerializeFileDB
Function · 0.85
GetStrongRandBytes
Function · 0.85
GetRand
Function · 0.85
GetRandHash
Function · 0.85
protocolinfo_cb
Method · 0.85
SendMessages
Method · 0.85
VerifyPubKey
Method · 0.85
ECC_Start
Function · 0.85
CreateObfuscateKey
Method · 0.85
BOOST_AUTO_TEST_CASE
Function · 0.85
CSignatureCache
Method · 0.85
paymentServerTests
Method · 0.85
Calls
1
RandFailure
Function · 0.85
Tested by
2
BOOST_AUTO_TEST_CASE
Function · 0.68
paymentServerTests
Method · 0.68