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

Function invreq_offer_id

common/bolt12.c:723–729  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

721}
722
723void invreq_offer_id(const struct tlv_invoice_request *invreq, struct sha256 *id)
724{
725 u8 *wire = tal_arr(tmpctx, u8, 0);
726
727 towire_tlv_invoice_request(&wire, invreq);
728 calc_offer(wire, id);
729}
730
731void invoice_offer_id(const struct tlv_invoice *invoice, struct sha256 *id)
732{

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