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

Function send_payment_req

plugins/xpay/xpay.c:366–373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364}
365
366static struct command_result *
367send_payment_req(struct command *aux_cmd,
368 struct payment *payment, struct out_req *req)
369{
370 tal_arr_expand(&payment->requests, req);
371 tal_add_destructor2(req, destroy_payment_request, payment);
372 return send_outreq(req);
373}
374
375/* For self-pay, we don't have hops. */
376static struct amount_msat initial_sent(const struct attempt *attempt)

Callers 8

unreserve_pathFunction · 0.85
do_injectFunction · 0.85
getroutes_doneFunction · 0.85
getroutes_forFunction · 0.85
add_fake_channelFunction · 0.85
populate_private_layerFunction · 0.85

Calls 1

send_outreqFunction · 0.50

Tested by

no test coverage detected