]> git.bitcoin.ninja Git - rust-lightning/commit
Include OffersContext in Event::InvoiceReceived
authorJeffrey Czyz <jkczyz@gmail.com>
Mon, 15 Jul 2024 23:22:43 +0000 (18:22 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Mon, 22 Jul 2024 16:38:36 +0000 (11:38 -0500)
commite6ee1943e0ed33370b20ebd88b188ca9a2e344b5
tree755d1bbe7fe0f02be79baf5dc34dde4ec0292c7e
parent2c2f3fe80cbe6f66961fc2ca98d6c46943bad55d
Include OffersContext in Event::InvoiceReceived

When authenticating that an invoice is for a valid invoice request, the
payer metadata is needed. Some of this data will be removed in the next
commit and instead be included in the message context of the request's
reply path. Add this data to Event::InvoiceReceived so that asynchronous
invoice handling can verify properly.
lightning/src/blinded_path/message.rs
lightning/src/events/mod.rs
lightning/src/ln/channelmanager.rs
lightning/src/offers/nonce.rs