-
Notifications
You must be signed in to change notification settings - Fork 384
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
Bump dust exposure threshold so we can send HTLCs #2261
Comments
Yeah this only apply to legacy channels due to the feerate being encompassed for second-stage transaction, and the HTLC being trimmed if it’s not economically rational. Note, I think we still have a throughput limit on anchor channels for concurrent low-value payments. We might go to discard dust HTLC output from max_accepted_htlc, or another way could be to advocate for a special policy regime in Core and have under-dust outputs allowed under the condition they are immediately spend by a CPFP in the same block (an extension of the ephemeral anchor idea). |
In discussion with some LDK users it seems like maybe we should limit this as a global dust HTLC limit (which would kill parallelism so kinda annoying), or just a dust HTLC count limit, which lets it scale nicely with channel feerates. Annoying part with that is that if the channel is inbound it would let a counterparty select the dust limit high and then send a single huge dust HTLC and screw us, so maybe we need to split the handling based on anchors. |
With today level of feerates and given our dust exposure is function of |
Not sure why I had assigned this to myself, happy for someone else to work on it. |
I can open this PR - what's a good number to bump to? Maybe 25k sats? |
Currently our default max dust exposure threshold is quite low (5k sats). For a single payment between that number and the dust threshold we'll refuse to send any HTLCs at all. With today's fee market this causes all payments or HTLC forwards between 5k sats and the dust threshold (often up to 10k-15k sats today) to fail entirely.
This doesn't apply to anchor channels.
The text was updated successfully, but these errors were encountered: