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

Function offer_offer_id

common/bolt12.c:715–721  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

713}
714
715void offer_offer_id(const struct tlv_offer *offer, struct sha256 *id)
716{
717 u8 *wire = tal_arr(tmpctx, u8, 0);
718
719 towire_tlv_offer(&wire, offer);
720 calc_offer(wire, id);
721}
722
723void invreq_offer_id(const struct tlv_invoice_request *invreq, struct sha256 *id)
724{

Callers 6

json_createofferFunction · 0.85
param_bolt12_invstringFunction · 0.85
offer_onehop_pathsFunction · 0.85
json_offerFunction · 0.85
json_add_offerFunction · 0.85
mainFunction · 0.85

Calls 2

calc_offerFunction · 0.85
towire_tlv_offerFunction · 0.50

Tested by

no test coverage detected