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

Function include_minimal

common/test/run-bolt12_proof_vectors.c:94–100  ·  view source on GitHub ↗

include_minimal: only invreq_payer_id, invoice_payment_hash, invoice_node_id */

Source from the content-addressed store, hash-verified

92
93/* include_minimal: only invreq_payer_id, invoice_payment_hash, invoice_node_id */
94static bool include_minimal(const struct tlv_field *f, void *arg UNNEEDED)
95{
96 return f->numtype == TLV_PAYER_PROOF_INVREQ_PAYER_ID
97 || f->numtype == TLV_PAYER_PROOF_INVOICE_PAYMENT_HASH
98 || f->numtype == TLV_PAYER_PROOF_INVOICE_FEATURES
99 || f->numtype == TLV_PAYER_PROOF_INVOICE_NODE_ID;
100}
101
102/* include_amount: invreq_payer_id, invoice_payment_hash, invoice_node_id
103 * *and* invoice_amount. This demonstrates the case where

Callers 1

include_amountFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected