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

Function read_from_subd_done

connectd/multiplex.c:1304–1315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1302static struct io_plan *read_from_subd(struct io_conn *subd_conn,
1303 struct subd *subd);
1304static struct io_plan *read_from_subd_done(struct io_conn *subd_conn,
1305 struct subd *subd)
1306{
1307 maybe_update_channelid(subd, subd->in);
1308
1309 /* Tell them to encrypt & write. */
1310 msg_to_peer_outq(subd->peer, take(subd->in));
1311 subd->in = NULL;
1312
1313 /* Wait for them to wake us */
1314 return io_wait(subd_conn, &subd->peer->subds, read_from_subd, subd);
1315}
1316
1317static struct io_plan *read_from_subd(struct io_conn *subd_conn,
1318 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