Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ fmt_wireaddr
Function
fmt_wireaddr
common/wireaddr.c:302–307 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
300
}
301
302
char *fmt_wireaddr(const tal_t *ctx, const struct wireaddr *a)
303
{
304
char *ret = fmt_wireaddr_without_port(ctx, a);
305
tal_append_fmt(&ret,
":%u"
, a->port);
306
return ret;
307
}
308
309
/* Valid forms:
310
*
Callers
12
make_onion
Function · 0.85
make_fixed_onion
Function · 0.85
connect_init
Function · 0.85
peer_connected_serialize
Function · 0.85
best_remote_addr
Function · 0.85
handle_peer_connected
Function · 0.85
json_add_peer
Function · 0.85
run
Function · 0.85
fmt_wireaddr_internal
Function · 0.85
main
Function · 0.85
printwire_wireaddr
Function · 0.85
printwire_addresses
Function · 0.85
Calls
2
tal_append_fmt
Function · 0.85
fmt_wireaddr_without_port
Function · 0.70
Tested by
1
main
Function · 0.68