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

Function invoice_offer_id

common/bolt12.c:731–737  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

729}
730
731void invoice_offer_id(const struct tlv_invoice *invoice, struct sha256 *id)
732{
733 u8 *wire = tal_arr(tmpctx, u8, 0);
734
735 towire_tlv_invoice(&wire, invoice);
736 calc_offer(wire, id);
737}
738
739static void calc_invreq(const u8 *tlvstream, struct sha256 *id)
740{

Callers 5

prev_paymentFunction · 0.85
json_createinvoiceFunction · 0.85
listsendpays_doneFunction · 0.85
json_add_b12_invoiceFunction · 0.85
mainFunction · 0.85

Calls 2

calc_offerFunction · 0.85
towire_tlv_invoiceFunction · 0.50

Tested by

no test coverage detected