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

Auto-fees enhancement: fee-rate constraints #665

Open
dekdynamics opened this issue Oct 24, 2023 · 1 comment
Open

Auto-fees enhancement: fee-rate constraints #665

dekdynamics opened this issue Oct 24, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@dekdynamics
Copy link

Is your feature request related to a problem? Please describe.

There are some channels that I never want to charge more than 2500 ppm on, and other channels that I never want to drop to 0 ppm. Sometimes I want to set a global range, and sometimes I have specific channels that need a more, or less restrictive range.

Describe the solution you'd like

  1. Global fee-rate constraints

I would like the ability to set upper and lower bounds for auto-fees globally. Perhaps I want the upside ppm to be infinite (don't restrict), but I also want 100ppm as my lowest fee rate. Auto-fees would not adjust fee rates outside of the configured range. Ideally, a global constraints option would be two input boxes: Upper limit, lower limit. Entering a value in the upper limit box (in ppm) would limit all channels to a maximum ppm. Entering a value in the lower limit box (in ppm) would limit all channels to a minimum ppm. Leaving a box blank would mean dont restrict.

  1. Per-channel constraints

Imagine I have a channel to my friend, and a channel to LOOP. For my friendly channel, I want to use the global constraints that I have set: 1000 max, 10 min. For that channel, I would not set any per-channel constraints. For my LOOP channel, a 1000 ppm max is way too restrictive, and more importantly, a 10 ppm minimum is way too low. For my LOOP channel, I want to set a per-channel constraint so that the upper limit is infinite, and the lower limit is 2000 ppm.

@dekdynamics dekdynamics added the enhancement New feature or request label Oct 24, 2023
@levmi
Copy link
Contributor

levmi commented Oct 24, 2023

Thanks for the very detailed issue. Greatly appreciated! We'll take a look at this in coming sprints and keep you updated!

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

No branches or pull requests

2 participants