Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ is_maxhops
Function
is_maxhops
plugins/askrene/askrene.c:96–99 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
94
}
95
96
static bool is_maxhops(const char *s)
97
{
98
return strncmp(s,
"maxhops="
, strlen(
"maxhops="
)) == 0;
99
}
100
101
static bool parse_maxhops(const char *s, u32 *v)
102
{
Callers
2
parse_maxhops
Function · 0.85
param_layer_names
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected