Difference between revisions of "Balancing channels"

From lightningwiki.net
Jump to navigation Jump to search
Line 5: Line 5:


= Script =
= Script =
There is a script to rebalance a LND channel: [[Rebalance-lnd]]
* There is a script to rebalance a LND channel: [[Rebalance-lnd]]
* Testnet currently: [https://lntoolkit.com/commands/auto-balance lntoolkit]

Revision as of 05:17, 4 April 2019

A channel always has two sides. A local and a remote side. It could be someone opened a channel TO you. That would mean from your perspective there is 0 local balance, and all the balance is remote. That remote balance is the amount the channel was opened with, paid by the peer. This channel can now be used to pay TO you. Because there is remote balance. Now, if you have local balance, this channel could also be used to pay FROM your node TO the peer. (re)Balancing a channel levels the local and remote balance.

Having more balanced channels will help routing payments which will earn you more fees.

Script