lightning-jet
lightning-jet copied to clipboard
Rebalancer broken after upgrade (manual invocation, automatic rebalancing functional)
error running rebalance loop: Error: missing param
from (obfuscated)
jet rebalance node1 node2 100 --ppm 1 --mins 1
Looking at the source and the cli interface
USAGE
jet rebalance <from> <to> <amount>
Calls BalanceOfSatoshis rebalance api in a loop until the target amount is met or all possible routes are exhausted.
ARGUMENTS
<from> From this peer. Can be a partial alias, a pub id, or a bos tag required
<to> To this peer. Can be a partial alias, a pub id, or a bos tag required
<amount> Amount in sats required
OPTIONS
--ppm <ppm> Max ppm optional
--mins [mins] Max time to run in minutes optional
it is clear there are no missing params.
Additionally, post-upgrade, I had to add a db member to config, which is not shown in the example config in README.md