Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ randbytes_overridden
Function
randbytes_overridden
common/randbytes.c:17–20 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
15
static u64 dev_seed = 0;
16
17
bool randbytes_overridden(void)
18
{
19
return dev_seed != 0;
20
}
21
22
void randbytes_(void *bytes, size_t num_bytes, u64 *offset)
23
{
Callers
6
randbytes_
Function · 0.70
dev_override_randbytes
Function · 0.70
pseudorand_
Function · 0.70
pseudorand_u64_
Function · 0.70
pseudorand_double_
Function · 0.70
listpeerchannels_listincoming_done
Function · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected