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

Function msg_setup

lightningd/subd.c:694–699  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

692}
693
694static struct io_plan *msg_setup(struct io_conn *conn, struct subd *sd)
695{
696 return io_duplex(conn,
697 io_read_wire(conn, sd, &sd->msg_in, sd_msg_read, sd),
698 msg_send_next(conn, sd));
699}
700
701static bool debugging(struct lightningd *ld, const char *name)
702{

Callers

nothing calls this directly

Calls 2

io_duplexFunction · 0.85
msg_send_nextFunction · 0.85

Tested by

no test coverage detected