Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ pseudorand
Function
pseudorand
common/pseudorand.c:31–37 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
29
}
30
31
uint64_t pseudorand(uint64_t max)
32
{
33
init_if_needed();
34
35
assert(max);
36
return isaac64_next_uint(&isaac64, max);
37
}
38
39
uint64_t pseudorand_u64(void)
40
{
Callers
15
temporary_channel_id
Function · 0.70
set_ping_timer
Function · 0.50
random_seeker
Function · 0.50
get_unannounced_nodes
Function · 0.50
probe_random_scids
Function · 0.50
maybe_rotate_gossipers
Function · 0.50
finish_psbt
Function · 0.50
prune_log
Function · 0.50
try_connect
Function · 0.50
newaddr_done
Function · 0.50
shadow_route_listchannels
Function · 0.50
shadow_route_cb
Function · 0.50
Calls
2
init_if_needed
Function · 0.85
isaac64_next_uint
Function · 0.85
Tested by
no test coverage detected