You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some channels have only a few sats available to send but other nodes don't know it so they try to use them and fail.
When the balance goes below configurable thresholds we now advertize a lower maxHtlcAmount.
This should reduce the number of failed attempts and benefit the network.
Copy file name to clipboardexpand all lines: docs/release-notes/eclair-vnext.md
+23
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,29 @@ You can now use Eclair to manage the private keys for on-chain funds monitored b
29
29
30
30
See `docs/BitcoinCoreKeys.md` for more details.
31
31
32
+
### Advertise low balance with htlc_maximum_msat
33
+
34
+
Eclair used to disable a channel when there was no liquidity on our side so that other nodes stop trying to use it.
35
+
However, other implementations use disabled channels as a sign that the other peer is offline.
36
+
To be consistent with other implementations, we now only disable channels when our peer is offline and signal that a channel has very low balance by setting htlc_maximum_msat to a low value.
37
+
The balance thresholds at which to update htlc_maximum_msat are configurable like this:
38
+
39
+
```eclair.conf
40
+
eclair.channel.channel-update {
41
+
balance-thresholds = [{
42
+
available-sat = 1000 // If our balance goes below this,
43
+
max-htlc-sat = 0 // set the maximum HTLC amount to this (or htlc-minimum-msat if it's higher).
44
+
},{
45
+
available-sat = 10000
46
+
max-htlc-sat = 1000
47
+
}]
48
+
49
+
min-time-between-updates = 1 hour // minimum time between channel updates because the balance changed
50
+
}
51
+
```
52
+
53
+
This feature leaks a bit of information about the balance when the channel is almost empty, if you do not wish to use it, set `eclair.channel.channel-update.balance-thresholds = []`.
54
+
32
55
### API changes
33
56
34
57
-`bumpforceclose` can be used to make a force-close confirm faster, by spending the anchor output (#2743)
0 commit comments