]> git.bitcoin.ninja Git - rust-lightning/commit
Optional OfferContents::signing_pubkey
authorJeffrey Czyz <jkczyz@gmail.com>
Tue, 23 Apr 2024 22:38:13 +0000 (17:38 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Fri, 26 Apr 2024 23:14:09 +0000 (18:14 -0500)
commit520fecf8fcbe1d162e8a1075d316ca994b9d2fd6
treecf5f7b4069379af997335d6e4e9293c2508e0d82
parent2c0fcf21f227ad1a01e4a884dda72b9537c16fae
Optional OfferContents::signing_pubkey

If an Offer contains a path, the blinded_node_id of the path's final hop
can be used as the signing pubkey. Make Offer::signing_pubkey and
OfferContents::signing_pubkey return an Option to support this. Upcoming
commits will implement this behavior.
lightning/src/ln/channelmanager.rs
lightning/src/ln/offers_tests.rs
lightning/src/offers/invoice.rs
lightning/src/offers/invoice_request.rs
lightning/src/offers/offer.rs