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

Function read_from_subd_done

connectd/multiplex.c:990–1001  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

988static struct io_plan *read_from_subd(struct io_conn *subd_conn,
989 struct subd *subd);
990static struct io_plan *read_from_subd_done(struct io_conn *subd_conn,
991 struct subd *subd)
992{
993 maybe_update_channelid(subd, subd->in);
994
995 /* Tell them to encrypt & write. */
996 msg_enqueue(subd->peer->peer_outq, take(subd->in));
997 subd->in = NULL;
998
999 /* Wait for them to wake us */
1000 return io_wait(subd_conn, &subd->peer->subds, read_from_subd, subd);
1001}
1002
1003static struct io_plan *read_from_subd(struct io_conn *subd_conn,
1004 struct subd *subd)

Callers

nothing calls this directly

Calls 2

maybe_update_channelidFunction · 0.85
msg_enqueueFunction · 0.85

Tested by

no test coverage detected