]> git.bitcoin.ninja Git - rust-lightning/commit
Give us a self when reading a custom onion message
authorMatt Corallo <git@bluematt.me>
Wed, 26 Oct 2022 19:23:10 +0000 (19:23 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 27 Oct 2022 20:15:06 +0000 (20:15 +0000)
commitfdb4b4d5ef04f686ba6d2fbae6141e67d149ef98
tree46846cbc9d94042af26784c0003d139d4f809209
parent42ab358b4644e31dc6054ad2555128b1b35c1c9e
Give us a self when reading a custom onion message

+ remove MaybeReadableArgs trait as it is now unused
+ remove onion_utils::DecodeInput as it would've now needed to be parameterized
by the CustomOnionMessageHandler trait, and we'd like to avoid either
implementing DecodeInput in messenger or having onion_utils depend on
onion_message::*

Co-authored-by: Matt Corallo <git@bluematt.me>
Co-authored-by: Valentine Wallace <vwallace@protonmail.com>
fuzz/src/onion_message.rs
lightning/src/ln/onion_utils.rs
lightning/src/ln/peer_handler.rs
lightning/src/onion_message/functional_tests.rs
lightning/src/onion_message/messenger.rs
lightning/src/onion_message/packet.rs
lightning/src/util/ser.rs