Skip to content

Commit 24ee163

Browse files
committed
Allow high remote dust_limit_satoshis
Now that we only accept anchor output channels and beyong, we should let our peers use high `dust_limit_satoshis` values to ensure that the transaction outputs are economically spendable. We can't yet raise our `dust_limit_satoshis`: we must first accept high values, and in the next release (and once other implementations support it as well), then we'll be able to increase our default value.
1 parent df75ed5 commit 24ee163

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

eclair-core/src/main/resources/reference.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,9 @@ eclair {
118118
}
119119

120120
dust-limit-satoshis = 546
121-
max-remote-dust-limit-satoshis = 600
121+
// Starting with anchor outputs channels, the on-chain feerate is not taken into account when trimming outputs.
122+
// We must thus use a high enough dust limit to ensure that the outputs can economically be spent on-chain.
123+
max-remote-dust-limit-satoshis = 10000
122124
htlc-minimum-msat = 1
123125
// The following parameters apply to each HTLC direction (incoming or outgoing), which means that the maximum amount in flight will be at most twice what is set here.
124126
// Note that our peer may use a lower value than ours, which would reduce the maximum amount in flight.

0 commit comments

Comments
 (0)