-
Notifications
You must be signed in to change notification settings - Fork 914
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
Is there a way to put a max limit on forwarded payment size? #2509
Comments
There's two things currently in flight that (sort of) address this. The first is actually the opposite that you want, it'll allow you to set a The other, more flexible solution, is a proposed |
Thanks for sharing those PRs, the Could there be negative consequences to rejecting HTLCs on the fly like that? For example, it would look bad to my peers if they see I have high capacity and low fees and then they try to route through me, only to get rejected. A high failure rate like this may cause them to blacklist my node. Compare this to the |
Hi Billy, |
Hi @mloop1, I've created some Python scripts for rebalancing but they still error out most of the time. Still debugging, but I plan to release them when I get them in better condition. |
Thats not precisely correct, #2506 will add a min_capacity parameter for new channels being initiated by remote peers. It will not limit htlc forwarding on the lower bound. |
Yes, that could be done. C-lightning only creates a "temporary" ban for each Plugins to C-lightning may (eventually be able to) change this behavior, too.
Jit-routing by @renepickhardt (more like "Jit-rebalance") may serve your needs better, though it still needs more infrastructure before we can implement it completely:
|
#2267 provides sufficient functionality to do this already. |
Closing, since #2267 implements this (though still needs a separate plugin to actually impose it). |
Say I have a channel with 1M sats:
This problem could be solved by setting a max payment size of say 50k sats (if you wanted to target small payments with your routing node).
Not sure if this is possible with c-lightning or allowed under the protocol rules, but just thought I'd ask anyway in case anyone can offer any insights.
The text was updated successfully, but these errors were encountered: