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

Function read_from_subd_done

connectd/multiplex.c:1400–1411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1398static struct io_plan *read_from_subd(struct io_conn *subd_conn,
1399 struct subd *subd);
1400static struct io_plan *read_from_subd_done(struct io_conn *subd_conn,
1401 struct subd *subd)
1402{
1403 maybe_update_channelid(subd, subd->in);
1404
1405 /* Tell them to encrypt & write. */
1406 msg_to_peer_outq(subd->peer, take(subd->in));
1407 subd->in = NULL;
1408
1409 /* Wait for them to wake us */
1410 return io_wait(subd_conn, &subd->peer->subds, read_from_subd, subd);
1411}
1412
1413static struct io_plan *read_from_subd(struct io_conn *subd_conn,
1414 struct subd *subd)

Callers

nothing calls this directly

Calls 2

maybe_update_channelidFunction · 0.85
msg_to_peer_outqFunction · 0.85

Tested by

no test coverage detected