]> git.bitcoin.ninja Git - rust-lightning/commit
Refactor MessageRouter::create_blinded_paths
authorJeffrey Czyz <jkczyz@gmail.com>
Wed, 22 May 2024 20:32:32 +0000 (15:32 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 5 Jun 2024 22:52:30 +0000 (17:52 -0500)
commit532617188577150cbd974401b10d2b4e0c2e0809
treedb3bc320abe589100f858033aa91c3466c9ee8b7
parentdefc54096d366f2903bf99e5d23e3e34c580eeee
Refactor MessageRouter::create_blinded_paths

Using compact blinded paths isn't always necessary or desirable. For
instance, reply paths are communicated via onion messages where space
isn't a premium unlike in QR codes. Additionally, long-lived paths could
become invalid if the channel associated with the SCID is closed.
Refactor MessageRouter::create_blinded_paths into two methods: one for
compact blinded paths and one for normal blinded paths.
fuzz/src/chanmon_consistency.rs
fuzz/src/full_stack.rs
fuzz/src/onion_message.rs
lightning/src/ln/channelmanager.rs
lightning/src/onion_message/messenger.rs
lightning/src/routing/router.rs
lightning/src/util/test_utils.rs