Closed fishcakeday closed 7 months ago
That is expected behavior, your peer's feerate estimation seems off (your local 10 sat/byte estimation better matches the mempool conditions). When that happens, the specification mandates force-closing to protect against potentially malicious peers. By default, we use a ratio of 10x: https://github.com/ACINQ/eclair/blob/c8184b3e43a603454d672aed61b2ae461a80e1a8/eclair-core/src/main/resources/reference.conf#L260
But you may want to override that default value in your eclair.conf
if your peers seem to overestimate the feerate and you're willing to take the "risk" of overpaying commit tx fees. You can also change that ratio for specific peers using the following per-peer setting: https://github.com/ACINQ/eclair/blob/c8184b3e43a603454d672aed61b2ae461a80e1a8/eclair-core/src/main/resources/reference.conf#L275
Ok, that makes sense. I may have misunderstood the change that I was referencing, where it was supposed to do not FC the channel when Eclair fees are lower than the peer's. Thanks for clarification.
Two channels were force-closed by Eclair 0.10.0 due to feerate differences: remote feeratePerKw=25174 sat/kw, local fee ratePerKw=2500 sat/kw, ratio=10.0696 remote feeratePerKw=25174 sat/kw, local fee ratePerKw=2500 sat/kw, ratio=10.0696
Given that peers fees were too high, I expected that 36a3c8897cae18fe3ef219e24140b8d9c25bf239 would have avoided that closure.
Channels were force-closed
Probably 100% reproducible when the feerate ratio is as shown in the logs.
0.10.0 - compiled from the GitHub cloned code and with the tag checked out.
adoptopenjdk/openjdk11:x86_64-ubuntu-jre-11.0.22_7
Channel 1
Channel 2