]> git.bitcoin.ninja Git - rust-lightning/commit
Store the source `HumanReadableName` in `InvoiceRequestFields`
authorMatt Corallo <git@bluematt.me>
Mon, 30 Sep 2024 18:18:38 +0000 (18:18 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 12 Nov 2024 15:53:12 +0000 (15:53 +0000)
commit8d8416b956f97c097bc6ca831001f277b952bae7
tree38ee08017f054cf835d1515b2e337e893be061e2
parente447b4913688bbb49b2dcfe4c9b14b0b7fdc59fc
Store the source `HumanReadableName` in `InvoiceRequestFields`

When we receive a payment to an offer we issued resolved with a
human readable name, it may have been resolved using a wildcard
DNS entry which we want to map to a specific recipient account
locally. To do this, we need the human readable name from the
`InvoiceRequest` in the `PaymentClaim{able,ed}`, which we pipe
through here using `InvoiceRequestFields`.
fuzz/src/invoice_request_deser.rs
lightning/src/events/mod.rs
lightning/src/ln/offers_tests.rs
lightning/src/offers/invoice_request.rs