itsneski / lightning-jet

Lightning Jet is a fully automated rebalancer for Lightning nodes. Jet optimizes channel liquidity allocation based on routing volume, missed routing opportunities (htlcs), and other variables.
MIT License
44 stars 11 forks source link

feature request #40

Closed obvioussummer46 closed 2 years ago

obvioussummer46 commented 2 years ago

When jet tries to rebalance and fails due to high fee, it sees the min fee that would be required to rebalance. So would be great if it could save this data and provide it as a recomendation per peer, like rebalance will likely to go through with X ppm

itsneski commented 2 years ago

Good idea. Jet can store the min of prospective rebalances it encounters and factor it into fee analysis.

itsneski commented 2 years ago

two new columns will be added to jet rebalance-history, ppm and min, with 'ppm' being actual ppm used during rebalance and 'min' being the min ppm needed to rebalance in case of a failure due to higher fee.

Screen Shot 2021-12-26 at 9 09 06 PM