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

Function include_all

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

include_all: include every non-signature field (type 0 cannot be in payer proof TLV) */

Source from the content-addressed store, hash-verified

86
87/* include_all: include every non-signature field (type 0 cannot be in payer proof TLV) */
88static bool include_all(const struct tlv_field *f, void *arg UNNEEDED)
89{
90 return f->numtype != 0;
91}
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)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected