]> git.bitcoin.ninja Git - rust-lightning/commit
Support checking that a static invoice matches an outbound invreq.
authorValentine Wallace <vwallace@protonmail.com>
Thu, 13 Jun 2024 20:16:47 +0000 (16:16 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Fri, 13 Sep 2024 14:40:03 +0000 (10:40 -0400)
commitcff6e344f558fe97570b50cbaa359fd6f504c586
tree244c610f4769f6b3c4ca041ca48e4eaf4c29fa89
parent3d5d64a2c82795ed6353890a7a8a5ae530984eb3
Support checking that a static invoice matches an outbound invreq.

Useful for ensuring that an inbound static invoice matches one of our outbound
invreqs, otherwise it is an unexpected invoice and should be ignored and not
paid.
lightning/src/offers/invoice_request.rs
lightning/src/offers/merkle.rs
lightning/src/offers/static_invoice.rs