From ZmnSCPxj at protonmail.com Tue Jan 7 02:30:00 2020 From: ZmnSCPxj at protonmail.com (ZmnSCPxj) Date: Tue, 07 Jan 2020 02:30:00 +0000 Subject: [Lightning-dev] Research on proactive fee free channel rebalancing in the friend of a friend network / and roadmap for a protocol extension In-Reply-To: References: Message-ID: 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