Open rustyrussell opened 1 year ago
I am working on this. First thing to add blinded path arguments to sendpay
(#7493), then re-engineer a little bit renepay
's MCF solver to send a payment to multiple destinations (one for each blinded path entry node) .
Still to think about how to handle multiple blinded paths with the same entry node and the special case when the entry node is ourselves.
To generate all sorts of blinded path special cases for testing we would need some RPC to generate arbitrary blinded paths, because currently the only way to obtain one is through offer
->fetchinvoice
and CLN will automatically generate one, not multiple and very trivial single node path.
We use localmods to do this:
When we use a blinded hop, catch it at sendpay creation time and insert multiple hops. This might require additional args to sendpay, or switching to sendonion?