LND Channel Rebalancing -- Keep Liquidity Balanced
LND Troubleshooting GuideWhy Rebalance?
Channels become unbalanced over time. Rebalancing restores bidirectional flow.
Option 1: bos rebalance
bos rebalance --out PEER1_PUBKEY --in PEER2_PUBKEY --amount 100000 --max-fee-rate 500
Option 2: Circular Payment via lncli
lncli sendpayment --dest YOUR_PUBKEY --amt 100000 --outgoing_chan_id CHAN_ID --last_hop PEER_PUBKEY
Option 3: Lightning Loop Out
loop out --amt 500000 --addr YOUR_ONCHAIN_ADDR
Check Channel Balance
lncli listchannels | python3 -c "import json,sys; [print(c['peer_alias'], c['local_balance'], c['remote_balance']) for c in json.load(sys.stdin)['channels']]"
Key Tips
Always set max-fee-rate lower than your routing income. Rebalance during low-fee periods. Use autopilot to automate channel management.