]> git.bitcoin.ninja Git - rust-lightning/commit
Remove OnionMessageProvider
authorJeffrey Czyz <jkczyz@gmail.com>
Tue, 12 Sep 2023 21:57:15 +0000 (16:57 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 18 Oct 2023 22:00:04 +0000 (17:00 -0500)
commit86e2b0059fb1443146caddb7d752b44d512ad242
treeb48d0f92ae413509c41f20063f450c2fdbe018e1
parenta6cd661712ed05421eef3af9f0088d73b7f50ceb
Remove OnionMessageProvider

OnionMessageProvider is a super-trait of OnionMessageHandler, but they
don't need to be used separately. Additionally, the former is misplaced
in the events module. Remove OnionMessageProvider and add it's only
method, next_onion_message_for_peer, into OnionMessageHandler.
lightning/src/events/mod.rs
lightning/src/ln/msgs.rs
lightning/src/ln/peer_handler.rs
lightning/src/onion_message/functional_tests.rs
lightning/src/onion_message/messenger.rs