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

Function send_outreq

plugins/libplugin.c:759–773  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

757}
758
759struct command_result *
760send_outreq(struct plugin *plugin, const struct out_req *req)
761{
762 /* The "param" object. */
763 if (req->errcb)
764 json_object_end(req->js);
765 json_object_end(req->js);
766 json_stream_close(req->js, req->cmd);
767
768 ld_rpc_send(plugin, req->js);
769
770 if (req->cmd != NULL)
771 notleak_with_children(req->cmd);
772 return &pending;
773}
774
775static struct command_result *
776handle_getmanifest(struct command *getmanifest_cmd,

Callers 15

htlc_accepted_callFunction · 0.70
create_invoicereqFunction · 0.70
check_previous_invoiceFunction · 0.70
convert_currencyFunction · 0.70
handle_invoice_requestFunction · 0.70
signpsbt_doneFunction · 0.70
finish_txprepareFunction · 0.70
psbt_createdFunction · 0.70
txprepare_continueFunction · 0.70
json_txdiscardFunction · 0.70
json_txsendFunction · 0.70
json_listpaysFunction · 0.70

Calls 3

json_stream_closeFunction · 0.85
ld_rpc_sendFunction · 0.85
json_object_endFunction · 0.50

Tested by 1

json_testrpcFunction · 0.40