Jesse on Nostr: Tip about CLN: When CLN forwards a payment and it has multiple channels with the same ...
Tip about CLN:
When CLN forwards a payment and it has multiple channels with the same peer, it selects the channel with the highest available balance out of channels with the same fee policy as the one the sender specified.
Say you have 3 channels with the same peer.
- A has fee 10ppm and is depleted
- B has fee 10ppm and has 100sat sendable balance
- C has fee 5ppm and has 1 BTC sendable balance
Sender computes a route that contains channel A, sends a payment.
Your node will pick the channel with the highest balance out of channel A and B, because they have the same fee rate. In this case it picks B because it has the highest balance.
If the payment was more than 100sat, the forward will fail.
When CLN forwards a payment and it has multiple channels with the same peer, it selects the channel with the highest available balance out of channels with the same fee policy as the one the sender specified.
Say you have 3 channels with the same peer.
- A has fee 10ppm and is depleted
- B has fee 10ppm and has 100sat sendable balance
- C has fee 5ppm and has 1 BTC sendable balance
Sender computes a route that contains channel A, sends a payment.
Your node will pick the channel with the highest balance out of channel A and B, because they have the same fee rate. In this case it picks B because it has the highest balance.
If the payment was more than 100sat, the forward will fail.