Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ fmt_wireaddr
Function
fmt_wireaddr
common/wireaddr.c:286–291 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
284
}
285
286
char *fmt_wireaddr(const tal_t *ctx, const struct wireaddr *a)
287
{
288
char *ret = fmt_wireaddr_without_port(ctx, a);
289
tal_append_fmt(&ret,
":%u"
, a->port);
290
return ret;
291
}
292
293
/* Valid forms:
294
*
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