⚡LightThisNow⚡'s Posts
Posted almost 3 years ago
After the swap is complete and all channels are opened, everybody should set fees to 0. This will allow for free/cheap re-balancing (see my other post).
Hopefully you are using something like ThunderHub or Ride The Lightning to manage your node.
Select the incoming channel. Set base fee to 0, set Fee rate to 0. Hit apply.
Select the outgoing channel. Set base fee to 0, set Fee rate to 0. Hit apply.
One person in the swap does the rebalance.
Once you are rebalanced you can put the fees back to something sensible like 1 and 50 or 0 and 150.
0 base fee will generate more traffic, you can recoup the cost with a higher fee rate for larger transfer.
Or you can use a small base fee like 1 and a lower fee rate. This should stimulate larger transfers only.
Hopefully you are using something like ThunderHub or Ride The Lightning to manage your node.
Select the incoming channel. Set base fee to 0, set Fee rate to 0. Hit apply.
Select the outgoing channel. Set base fee to 0, set Fee rate to 0. Hit apply.
One person in the swap does the rebalance.
Once you are rebalanced you can put the fees back to something sensible like 1 and 50 or 0 and 150.
0 base fee will generate more traffic, you can recoup the cost with a higher fee rate for larger transfer.
Or you can use a small base fee like 1 and a lower fee rate. This should stimulate larger transfers only.
Posted almost 3 years ago
An open channel will by default have liquidity on one side only so cannot be use to route payments both ways. A rebalance will push 50% of the liquidity to the other side so that it can be used either way.
A "rebalance" is actually a payment yourself, exactly via the route of the participants of a swap. This will move everybody's liquidity to 50/50.
We lower the fees to 0 during the rebalance otherwise the person doing the rebalance will have to incur fees for this "internal" transfer.
We increase fees as soon as we are finished.
A triangle swap with only two participants can be rebalanced via Thunder Hub or Right The Lightning (RTL) plugin.
Select the channel you opened as Outgoing and the channel that was connected to you as incoming. Set the amount to half the channel capacity or slightly lower.
For any larger swaps you have to use the lncli command line command that allows you to specify a route via all the participants.