Onion message payload for async payments
authorValentine Wallace <vwallace@protonmail.com>
Wed, 5 Jun 2024 17:41:07 +0000 (13:41 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Thu, 20 Jun 2024 14:09:03 +0000 (10:09 -0400)
commit445ec8d50840c9a3377bba80351c09df46527060
tree5e8bb2f9bb9ee9873fcf4309e9dd5296bd9e3a3d
parent66df3292365182fb7e34aca730a678c67a68e6a9
Onion message payload for async payments

Async payments uses onion messages to indicate when HTLCs are held and
released. Add these types along with the necessary parsing and encoding.
lightning/src/ln/offers_tests.rs
lightning/src/onion_message/async_payments.rs [new file with mode: 0644]
lightning/src/onion_message/messenger.rs
lightning/src/onion_message/mod.rs
lightning/src/onion_message/packet.rs