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

Function connectd_activate

lightningd/connect_control.c:651–663  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

649}
650
651void connectd_activate(struct lightningd *ld)
652{
653 void *ret;
654 const u8 *msg = towire_connectd_activate(NULL, ld->listen);
655
656 subd_req(ld->connectd, ld->connectd, take(msg), -1, 0,
657 connect_activate_done, NULL);
658
659 /* Wait for activate_reply */
660 ret = io_loop(NULL, NULL);
661 log_debug(ld->log, "io_loop: %s", __func__);
662 assert(ret == ld->connectd);
663}
664
665static struct command_result *json_sendcustommsg(struct command *cmd,
666 const char *buffer,

Callers 1

mainFunction · 0.70

Calls 2

io_loopFunction · 0.85
subd_reqClass · 0.70

Tested by

no test coverage detected