]> git.bitcoin.ninja Git - rust-lightning/commit
Add OnionMessagePath wrapper struct
authorJeffrey Czyz <jkczyz@gmail.com>
Thu, 25 May 2023 20:02:10 +0000 (15:02 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Tue, 13 Jun 2023 18:07:47 +0000 (13:07 -0500)
commitf15da3d294414b9948938ebeb0e64d2df44f90b9
tree41d5ee83c7f8b04d235f21c8a29b3e99ecb09d4f
parentf521e4cceb022768a459285e7ab3922f0f59f9d5
Add OnionMessagePath wrapper struct

To avoid confusion in the upcoming MessageRouter trait, introduce an
OnionMessagePath struct that wraps the intermediate nodes and the
destination. Use this in OnionMessenger::send_onion_message.
lightning/src/onion_message/functional_tests.rs
lightning/src/onion_message/messenger.rs
lightning/src/onion_message/mod.rs