]> git.bitcoin.ninja Git - rust-lightning/commit
Rename and expose message-specific `NextHop`
authorMatt Corallo <git@bluematt.me>
Tue, 23 Apr 2024 15:56:13 +0000 (15:56 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 1 May 2024 15:16:57 +0000 (15:16 +0000)
commit89a67e59ab11b41033632d174e32fe479b32fdc3
tree0752513ed9835f795915f74f6b3d65e5359cd5f1
parentb403411c242c8ae93724caf683f8ba2b7e3d62d6
Rename and expose message-specific `NextHop`

`onion::message::messenger::PeeledOnion` is a public enum which
included the private enum `NextHop`, which is not acceptable. Thus,
we here expose `NextHop` but rename it `NextMessageHop` to make
clear that it is specific to messages.
lightning/src/blinded_path/message.rs
lightning/src/blinded_path/mod.rs
lightning/src/onion_message/messenger.rs
lightning/src/onion_message/packet.rs