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

Function do_connect

lightningd/connect_control.c:274–279  ·  view source on GitHub ↗

We might be off a delay timer. Now ask gossipd about public addresses. */

Source from the content-addressed store, hash-verified

272
273/* We might be off a delay timer. Now ask gossipd about public addresses. */
274static void do_connect(struct delayed_reconnect *d)
275{
276 u8 *msg = towire_gossipd_get_addrs(NULL, &d->id);
277
278 subd_req(d, d->ld->gossip, take(msg), -1, 0, gossipd_got_addrs, d);
279}
280
281static void try_connect(const tal_t *ctx,
282 struct lightningd *ld,

Callers 1

try_connectFunction · 0.70

Calls 1

subd_reqClass · 0.70

Tested by

no test coverage detected