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

Function jsonrpc_finish_and_send

plugins/libplugin.c:235–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235static void jsonrpc_finish_and_send(struct plugin *p, struct json_stream *js)
236{
237 json_object_end(js);
238 json_stream_close(js, NULL);
239 ld_send(p, js);
240}
241
242static struct json_stream *jsonrpc_stream_start(struct command *cmd)
243{

Callers 3

plugin_logvFunction · 0.85
plugin_notification_endFunction · 0.85
plugin_notify_endFunction · 0.85

Calls 3

json_stream_closeFunction · 0.85
ld_sendFunction · 0.85
json_object_endFunction · 0.50

Tested by

no test coverage detected