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

Function invreq_offer_id

common/bolt12.c:1026–1032  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1024}
1025
1026void invreq_offer_id(const struct tlv_invoice_request *invreq, struct sha256 *id)
1027{
1028 u8 *wire = tal_arr(tmpctx, u8, 0);
1029
1030 towire_tlv_invoice_request(&wire, invreq);
1031 calc_offer(wire, id);
1032}
1033
1034void invoice_offer_id(const struct tlv_invoice *invoice, struct sha256 *id)
1035{

Callers 6

prev_paymentFunction · 0.85
listoffers_doneFunction · 0.85
handle_invoice_requestFunction · 0.85
json_add_invoice_requestFunction · 0.85
mainFunction · 0.85

Calls 2

calc_offerFunction · 0.85

Tested by

no test coverage detected