What is Nostr?
ZmnSCPxj [ARCHIVE] /
npub1g5z…ms3l
2023-06-09 12:57:59
in reply to nevent1q…w9wk

ZmnSCPxj [ARCHIVE] on Nostr: 📅 Original date posted:2020-01-07 📝 Original message: Good morning Rene, and ...

📅 Original date posted:2020-01-07
📝 Original message:
Good morning Rene, and list,

It seems to me that the rule used here might be useful to guide how to split a payment for multipath as well.

For example, consider the case where a payer Alice has channels to Bob and Charlie.

* Alice-Bob has A=0.5, B=0.5
* Alice-Charlie has A=0.5, C=0.5

In that case, in order to retain balance, if Alice has to pay 0.1, it should strive to split the payment into a 0.05 via Alice-Bob and 0.05 via Alice-Charlie.

Would it be possible to derive such a calculation from your published rule?
For example, if one of the payer channels is imbalanced in favor of the payer, then the payment probably should not be split, but if the payment is big enough that it would be imbalanced against the payer afterwards, then some small amount must be split out to another channel.

Regards,
ZmnSCPxj
Author Public Key
npub1g5zswf6y48f7fy90jf3tlcuwdmjn8znhzaa4vkmtxaeskca8hpss23ms3l