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

Function request_add

lightningd/plugin.c:209–215  ·  view source on GitHub ↗

Steal req onto reqs. */

Source from the content-addressed store, hash-verified

207
208/* Steal req onto reqs. */
209static bool request_add(const char *reqid, struct jsonrpc_request *req,
210 struct jsonrpc_request ***reqs)
211{
212 tal_arr_expand(reqs, tal_steal(*reqs, req));
213 /* Keep iterating */
214 return true;
215}
216
217/* FIXME: reorder */
218static void plugin_response_handle(struct plugin *plugin,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected