Circular rebalancing
See original GitHub issueIssue Description
It’d be great to have support for circular rebalancing. The easiest API to work with would allow to specify outgoing channel, incoming channel and amount. However it doesn’t need to be that advanced to be useful.
A simpler approach would be to implement #1068 and also add a flag to sendtoroute
to allow sending a payment to self. The client could then write this simple algorithm:
- find route from the counterparty node belonging to outgoing channel to self
- prepend the route with the ID of the counterparty node belonging to outgoing channel
- use sendtoroute with the resulting route and self-payment enabled
This was also discussed in https://github.com/Ride-The-Lightning/RTL/issues/535
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (7 by maintainers)
Top Results From Across the Web
Rebalancing in the Lightning Network: Circular Payments, Fee ...
Circular payments are a completely off-chain rebalancing strategy where a node makes a payment to itself across a circular path of chained ...
Read more >How does circular rebalance on LN work?
Basically, my outbound capacity decreased on the channel with Bob by the expected amount but the commit_fee on that channel rose by 100...
Read more >Circular Rebalance on Umbrel? - Lightning Network Plus
Circular rebalancing can be expensive. It most probably doesn't work because the max fee you put is too low. If you bump it...
Read more >Circular Rebalance shows as failed on every rebalancing ...
Navigate to "Peers/Channels"; Click on "Actions dropdown" of the channel you want to rebalance and choose Circular rebalance option. Choose ...
Read more >What is Round Robin Load Balancing? Definition & FAQs
Round robin load balancing is a simple way to distribute client requests across a group of servers. A client request is forwarded to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Kixunil here is a (very crude) bash script for eclair rebalancing: https://github.com/spesmilo/eclair-tools/blob/master/rebalance
Done with #1969