Skip to content

Commit f16ea99

Browse files
committed
Add recommendation for dust_limit lower bound
330 sat is the default lower bound for P2WSH outputs.
1 parent 58e7ec0 commit f16ea99

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

02-peer-protocol.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,11 @@ The receiving node MAY fail the channel if:
238238
- it considers `max_htlc_value_in_flight_msat` too small.
239239
- it considers `channel_reserve_satoshis` too large.
240240
- it considers `max_accepted_htlcs` too small.
241-
- it considers `dust_limit_satoshis` too small and plans to rely on the sending node publishing its commitment transaction in the event of a data loss (see [message-retransmission](02-peer-protocol.md#message-retransmission)).
241+
- it considers `dust_limit_satoshis` too small and plans to rely on the sending
242+
node publishing its commitment transaction in the event of a data loss
243+
(see [message-retransmission](02-peer-protocol.md#message-retransmission)).
244+
A recommended lower bound is 330 satoshis, which matches the bitcoin network's
245+
dust threshold for p2wsh outputs.
242246
- it considers `dust_limit_satoshis` too large.
243247

244248
The receiving node MUST fail the channel if:
@@ -252,7 +256,7 @@ are not valid secp256k1 pubkeys in compressed format.
252256
- `dust_limit_satoshis` is greater than `channel_reserve_satoshis`.
253257
- the funder's amount for the initial commitment transaction is not sufficient for full [fee payment](03-transactions.md#fee-payment).
254258
- both `to_local` and `to_remote` amounts for the initial commitment transaction are less than or equal to `channel_reserve_satoshis` (see [BOLT 3](03-transactions.md#commitment-transaction-outputs)).
255-
- `funding_satoshis` is greater than or equal to 2^24 and the receiver does not support `option_support_large_channel`.
259+
- `funding_satoshis` is greater than or equal to 2^24 and the receiver does not support `option_support_large_channel`.
256260

257261
The receiving node MUST NOT:
258262
- consider funds received, using `push_msat`, to be received until the funding transaction has reached sufficient depth.

0 commit comments

Comments
 (0)