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

Function bolt12_payer_proof_merkle

common/bolt12_proof.c:172–176  ·  view source on GitHub ↗

BOLT-payer_proof #12: * - MUST set `proof_signature` as detailed in [Signature Calculation](#signature-calculation) using the `invreq_payer_id` using the merkle-root as the `msg`. */

Source from the content-addressed store, hash-verified

170 * - MUST set `proof_signature` as detailed in [Signature Calculation](#signature-calculation) using the `invreq_payer_id` using the merkle-root as the `msg`.
171 */
172void bolt12_payer_proof_merkle(const struct tlv_payer_proof *proof,
173 struct sha256 *merkle)
174{
175 merkle_tlv(proof->fields, merkle);
176}
177
178struct bip340sig *payer_proof_signature_(const tal_t *ctx,
179 const struct tlv_payer_proof *unsignedproof,

Callers 5

payer_proof_signature_Function · 0.85
check_payer_proofFunction · 0.85
mainFunction · 0.85
generate_valid_vectorFunction · 0.85
listsendpays_doneFunction · 0.85

Calls 1

merkle_tlvFunction · 0.70

Tested by 2

mainFunction · 0.68
generate_valid_vectorFunction · 0.68