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

Function ld_rpc_send

plugins/libplugin.c:277–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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