]> git.bitcoin.ninja Git - rust-lightning/commit
Onion message payload for BOLT 12 Offers
authorJeffrey Czyz <jkczyz@gmail.com>
Tue, 14 Feb 2023 23:41:18 +0000 (17:41 -0600)
committerJeffrey Czyz <jkczyz@gmail.com>
Tue, 13 Jun 2023 18:07:47 +0000 (13:07 -0500)
commita799fc9b30f039bb921f0745439a64b4964d75ca
tree76d33e99973551bb67298f728707dfa4735cbfa8
parent7533a3c42fea0ba08494b617a4f872dd04ef7f1e
Onion message payload for BOLT 12 Offers

BOLT 12 Offers makes use of onion messages to request and respond with
invoices. Add these types and an error type to OnionMessageContents
along with the necessary parsing and encoding.
lightning/src/onion_message/messenger.rs
lightning/src/onion_message/mod.rs
lightning/src/onion_message/offers.rs [new file with mode: 0644]
lightning/src/onion_message/packet.rs