]> git.bitcoin.ninja Git - rust-lightning/commit
Return socket addresses from DefaultMessageRouter
authorJeffrey Czyz <jkczyz@gmail.com>
Tue, 14 Nov 2023 23:08:26 +0000 (17:08 -0600)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 6 Dec 2023 14:47:34 +0000 (08:47 -0600)
commitb86f02afad22f0d2b8fe30e3427bfc63bd0b086d
tree55f60404bd5fb732c638946ff9cb9390b7cfa719
parent1114c3c5aaca7a0292a6416975ab94c17fe07cfb
Return socket addresses from DefaultMessageRouter

When there isn't a direct connection with the Destination of an
OnionMessage, look up socket addresses from the NetworkGraph. This is
used to signal to OnionMessenger that a direct connection is needed to
send the message.
lightning/src/onion_message/messenger.rs