Skip to content

Commit 342ab55

Browse files
committed
Add rationale for closing tx below dust
Explain why we must force-close channels for which the closing tx doesn't meet bitcoin's default relay policies.
1 parent 3e7771e commit 342ab55

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

02-peer-protocol.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -695,6 +695,12 @@ to have a maximum feerate. It may want a minimum feerate, however, to ensure
695695
that the transaction propagates. It can always use CPFP later to speed up
696696
confirmation if necessary, so that minimum should be low.
697697

698+
It may happen that the closing transaction doesn't meet bitcoin's default relay
699+
policies (e.g. when using a non-segwit shutdown script for an output below 546
700+
satoshis, which is possible if `dust_limit_satoshis` is below 546 satoshis).
701+
No funds are at risk when that happens, but the channel must be force-closed as
702+
the closing transaction will likely never reach miners.
703+
698704
## Normal Operation
699705

700706
Once both nodes have exchanged `funding_locked` (and optionally [`announcement_signatures`](07-routing-gossip.md#the-announcement_signatures-message)), the channel can be used to make payments via Hashed Time Locked Contracts.

0 commit comments

Comments
 (0)