1

First of all, there are already scripts that automate this process. Check C-Otto's rebalance script, for example. Secondly, I wouldn't assume that finding a route via queryroute guarantees that the balances in the used channels could actually support your payment. I think it just means that the theoretical capacity in your nodes' view of the LN is ...


Only top voted, non community-wiki answers of a minimum length are eligible