Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ address_routable
Function
address_routable
connectd/netaddress.c:268–273 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
266
}
267
268
bool address_routable(const struct wireaddr *wireaddr, bool allow_localhost)
269
{
270
if (allow_localhost && IsLocal(wireaddr))
271
return true;
272
return IsRoutable(wireaddr);
273
}
Callers
4
public_address
Function · 0.70
peer_init_received
Function · 0.70
peer_exchange_initmsg
Function · 0.70
main
Function · 0.50
Calls
2
IsLocal
Function · 0.85
IsRoutable
Function · 0.85
Tested by
1
main
Function · 0.40