]> git.bitcoin.ninja Git - rust-lightning/commit
Support NextHop::ShortChannelId in BlindedPath
authorJeffrey Czyz <jkczyz@gmail.com>
Tue, 9 Apr 2024 21:14:29 +0000 (16:14 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Tue, 28 May 2024 21:35:41 +0000 (16:35 -0500)
commitd792afb08cdc20a30786728c3bfe816dd3b59e47
treed7ed1c11ec77493447246ad9200937b861792f40
parenta95338a8f69a9298356c55bff26eab0972776155
Support NextHop::ShortChannelId in BlindedPath

When sending an onion message to a blinded path, the short channel id
between hops isn't need in each hop's encrypted_payload since it is not
a payment. However, using the short channel id instead of the node id
gives a more compact representation. Update BlindedPath::new_for_message
to allow for this.
fuzz/src/invoice_request_deser.rs
fuzz/src/refund_deser.rs
lightning/src/blinded_path/message.rs
lightning/src/blinded_path/mod.rs
lightning/src/onion_message/functional_tests.rs
lightning/src/onion_message/messenger.rs