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

Function ld_rpc_send

plugins/libplugin.c:143–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143static void ld_rpc_send(struct plugin *plugin, struct json_stream *stream)
144{
145 struct jstream *jstr = tal(plugin, struct jstream);
146 jstr->js = tal_steal(jstr, stream);
147 list_add_tail(&plugin->rpc_js_list, &jstr->list);
148 io_wake(plugin->io_rpc_conn);
149}
150
151
152/* When cmd for request is gone, we use this as noop callback */

Callers 1

send_outreqFunction · 0.85

Calls 1

io_wakeFunction · 0.85

Tested by

no test coverage detected