]> git.bitcoin.ninja Git - rust-lightning/commit
BlindedPath with unannounced introduction node
authorJeffrey Czyz <jkczyz@gmail.com>
Wed, 12 Jun 2024 15:58:18 +0000 (10:58 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Tue, 18 Jun 2024 14:26:26 +0000 (09:26 -0500)
commit7d1745e7210975cc0fdc17b31072e33f0dfbf8e3
tree863c0f25bebc82bf693045006a5b32d7e9092905
parent249886497e83f192ad96785acb668fca92398101
BlindedPath with unannounced introduction node

When creating blinded paths for receiving onion messages, allow using
the recipient's only peer as the introduction node when the recipient is
unannounced. This allows for sending messages without going through an
intermediary, which is useful for testing or when only connected to an
LSP with an empty NetworkGraph.
lightning/src/blinded_path/message.rs
lightning/src/ln/offers_tests.rs
lightning/src/onion_message/functional_tests.rs
lightning/src/onion_message/messenger.rs