]> git.bitcoin.ninja Git - rust-lightning/commit
Refuse to send and forward OMs to disconnected peers
authorValentine Wallace <vwallace@protonmail.com>
Thu, 4 Aug 2022 15:05:07 +0000 (11:05 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Fri, 2 Sep 2022 20:27:30 +0000 (16:27 -0400)
commitb9b02b48fb4dd66181f61739fa0047c29dead697
treef1d4dce152f5d03503f681dfea1d51f9d6fb6b5f
parent0b1f476b83756bb9667cb9c54186669ac1f16f74
Refuse to send and forward OMs to disconnected peers

We also refuse to connect to peers that don't advertise onion message
forwarding support.
lightning/src/ln/features.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