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

Function ld_rpc_send

plugins/libplugin.c:276–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274}
275
276static void ld_rpc_send(struct plugin *plugin, struct json_stream *stream)
277{
278 struct jstream *jstr = tal(plugin, struct jstream);
279 jstr->js = tal_steal(jstr, stream);
280 list_add_tail(&plugin->rpc_js_list, &jstr->list);
281 if (plugin->io_rpc_conn)
282 io_wake(plugin->io_rpc_conn);
283}
284
285/* Ignore the result, and terminate the timer/aux/hook */
286struct command_result *ignore_and_complete(struct command *cmd,

Callers 1

send_outreqFunction · 0.85

Calls 1

io_wakeFunction · 0.85

Tested by

no test coverage detected