]> git.bitcoin.ninja Git - rust-lightning/commit
Pass ForwardNode when creating BlindedPath
authorJeffrey Czyz <jkczyz@gmail.com>
Thu, 9 May 2024 22:31:37 +0000 (17:31 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Tue, 28 May 2024 21:35:55 +0000 (16:35 -0500)
commite553a71b6f82c5cc61a0f12084444384058e9bc3
tree13a8846d45947bdc99a8dd331c264ac254a64f26
parentd792afb08cdc20a30786728c3bfe816dd3b59e47
Pass ForwardNode when creating BlindedPath

Instead of passing Vec<PublicKey> to MessageRouter::crate_blinded_path,
pass Vec<ForwardNode>. This way callers can include a short_channel_id
for a more compact BlindedPath encoding.
fuzz/src/chanmon_consistency.rs
fuzz/src/full_stack.rs
fuzz/src/onion_message.rs
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs
lightning/src/onion_message/messenger.rs
lightning/src/routing/router.rs
lightning/src/util/test_utils.rs