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

Function stream_out_complete

lightningd/jsonrpc.c:996–1005  ·  view source on GitHub ↗

Command has completed writing, and we've written it all out to conn. */

Source from the content-addressed store, hash-verified

994
995/* Command has completed writing, and we've written it all out to conn. */
996static struct io_plan *stream_out_complete(struct io_conn *conn,
997 struct json_stream *js,
998 struct json_connection *jcon)
999{
1000 jcon_remove_json_stream(jcon, js);
1001 tal_free(js);
1002
1003 /* Wait for more output. */
1004 return start_json_stream(conn, jcon);
1005}
1006
1007static struct io_plan *read_json(struct io_conn *conn,
1008 struct json_connection *jcon)

Callers

nothing calls this directly

Calls 3

jcon_remove_json_streamFunction · 0.85
tal_freeFunction · 0.85
start_json_streamFunction · 0.85

Tested by

no test coverage detected