MCPcopy Create free account
hub / github.com/ElementsProject/lightning / add_announceable

Function add_announceable

connectd/connectd.c:1424–1431  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1422}
1423
1424static void add_announceable(struct wireaddr **announceable,
1425 const struct wireaddr *addr)
1426{
1427 /*~ utils.h contains a convenience macro tal_arr_expand which
1428 * reallocates a tal_arr to make it one longer, then returns a pointer
1429 * to the (new) last element. */
1430 tal_arr_expand(announceable, *addr);
1431}
1432
1433/* We need to have a bound address we can tell Tor to connect to */
1434static const struct wireaddr *

Callers 1

setup_listenersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected