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

Function msg_setup

lightningd/subd.c:687–692  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

685}
686
687static struct io_plan *msg_setup(struct io_conn *conn, struct subd *sd)
688{
689 return io_duplex(conn,
690 io_read_wire(conn, sd, &sd->msg_in, sd_msg_read, sd),
691 msg_send_next(conn, sd));
692}
693
694static struct subd *new_subd(const tal_t *ctx,
695 struct lightningd *ld,

Callers

nothing calls this directly

Calls 2

io_duplexFunction · 0.85
msg_send_nextFunction · 0.85

Tested by

no test coverage detected