]> git.bitcoin.ninja Git - rust-lightning/commit
AsyncPaymentsMessageHandler trait for OnionMessenger
authorValentine Wallace <vwallace@protonmail.com>
Wed, 5 Jun 2024 20:00:18 +0000 (16:00 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Thu, 20 Jun 2024 18:24:03 +0000 (14:24 -0400)
commite8f154dd3c299c7988762909df48b0c9d919d6f8
treeb3ea4fe7b1f30db4e67ce3206b071d3a2b992307
parent445ec8d50840c9a3377bba80351c09df46527060
AsyncPaymentsMessageHandler trait for OnionMessenger

Add a trait for handling async payments messages to OnionMessenger. This allows
users to either provide their own custom handling for async payments messages
or rely on a version provided by LDK.
fuzz/src/onion_message.rs
lightning-background-processor/src/lib.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/peer_handler.rs
lightning/src/onion_message/async_payments.rs
lightning/src/onion_message/functional_tests.rs
lightning/src/onion_message/messenger.rs