Multi-hop blinded paths in ChannelManager
authorJeffrey Czyz <jkczyz@gmail.com>
Fri, 3 Mar 2023 15:38:45 +0000 (09:38 -0600)
committerJeffrey Czyz <jkczyz@gmail.com>
Fri, 15 Dec 2023 21:40:09 +0000 (15:40 -0600)
commit606304aa32f4d767f2049a5fdff9e5236e3aa5e7
treedccdc4bc159f08ba73b9a737ab4715b4293601c3
parentdcd8d583465c2fbc9d651050c093a82b2141b12d
Multi-hop blinded paths in ChannelManager

When constructing blinded paths for Offer and Refund, delegate to
MessageRouter::create_blinded_paths which may produce multi-hop blinded
paths. Fallback to one-hop blinded paths if the MessageRouter fails or
returns no paths.

Likewise, do the same for InvoiceRequest and Bolt12Invoice reply paths.
lightning/src/ln/channelmanager.rs