Secret sauce Sunday: The Triangle Rebalance.
Every node runner has a few channels that are exceptionally hard to rebalance. I’m often able to find success by doing a “triangle rebalance.”
B
/ \
A _ C
I’m A, and the channel where I want to refill my local balance is with peer C. So I look for a peer we both have in common; peer B. If B is a source for me, that’s great, two birds with one stone. Then I just need to make sure that my my potential earnings on A-C will be high enough to make the rebalance economically viable.
I wrote some bash and jq to parse the graph and find all of the B’s for me, and output them in a list including their fees to the target C (sorry it’s too sloppy to share). I pick one and then
I use a modified version of #[0] ‘s igniter script[1] to make the payment.
Give it a try!