mirror of
https://github.com/ACINQ/eclair.git
synced 2025-02-24 22:58:23 +01:00
We were previously only counting the additional HTLC at twice the current feerate. An HTLC in isolation doesn't make much sense: the feerate applies to the whole commit tx. Our fee buffer needs to account for a x2 feerate increase on the commit tx + an additional htlc. Note that this introduces another subtlety. The commit tx fee at twice the current feerate may actually be lower than the commit tx fee at the current feerate (if the commit tx contains many htlcs that are only slightly above the trim threshold). |
||
---|---|---|
.. | ||
src | ||
eclair-cli | ||
pom.xml |