]> git.bitcoin.ninja Git - rust-lightning/commit
Generalize BlindedPath::introduction_node_id field
authorJeffrey Czyz <jkczyz@gmail.com>
Fri, 15 Mar 2024 21:52:36 +0000 (16:52 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Mon, 15 Apr 2024 15:58:30 +0000 (10:58 -0500)
commit7002180261d495f15c12f9a341af1e7dbcac2990
tree502ce6f015c56fbc0f14144f0748131eee0ba863
parente0bc6fa8b2fc67baee03e86aee1e04f5191d08e9
Generalize BlindedPath::introduction_node_id field

Allow using either a node id or a directed short channel id in blinded
paths. This allows for a more compact representation of blinded paths,
which is advantageous for reducing offer QR code size.

Follow-up commits will implement handling the directed short channel id
case in OnionMessenger as it requires resolving the introduction node in
MessageRouter.
fuzz/src/router.rs
lightning/src/blinded_path/message.rs
lightning/src/blinded_path/mod.rs
lightning/src/ln/offers_tests.rs
lightning/src/offers/invoice.rs
lightning/src/offers/offer.rs
lightning/src/offers/refund.rs
lightning/src/offers/test_utils.rs
lightning/src/onion_message/messenger.rs
lightning/src/routing/router.rs
lightning/src/routing/scoring.rs