Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rebalance: allow max fee to be set in absolute terms (msat or sat) #270

Open
billygarrison opened this issue Jul 11, 2021 · 2 comments
Open

Comments

@billygarrison
Copy link
Contributor

Currently the fee ratio for rebalance feels unintuitive, I recommend allowing an optional parameter, perhaps maxfeeabsolute where you can specify "I am only willing to pay 5sat to balance this channel"

rebalanceall is a bit harder to implement maxfeeabsolute, but you could still use it and then if any of the rebalances would go above that amount then it doesn't do the rebalance.

@billygarrison
Copy link
Contributor Author

A related solution for rebalance for individual channels could be to prompt the user: "Route found, rebalancing will cost 3500msat. Continue?"

@manreo
Copy link
Contributor

manreo commented Aug 24, 2021

I think it actually already exists.. Although not very intuitive, the parameter exemptfee will do that, if one sets maxfeepercent to 0, then exemptfee acts as your suggested maxfeeabsolute

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants