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