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
_______________________________________________
Lightning-dev mailing list
Lightning-dev@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev

Reply via email to