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
We are slowly dropping support for non-segwit outputs, as proposed in
lightning/bolts#894
We can thus safely allow dust limits all the way down to 354 satoshis.
In very rare cases where dust_limit_satoshis is negotiated to a low value,
our peer may generate closing txs that will not correctly relay on the
bitcoin network due to dust relay policies.
When that happens, we detect it and force-close instead of completing the
mutual close flow.
Copy file name to clipboardExpand all lines: src/commonMain/kotlin/fr/acinq/lightning/channel/ChannelException.kt
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,7 @@ data class InvalidCommitmentSignature (override val channelId: Byte
48
48
data classInvalidHtlcSignature (overridevalchannelId:ByteVector32, valtx:Transaction) : ChannelException(channelId, "invalid htlc signature: tx=$tx")
49
49
data classInvalidCloseSignature (overridevalchannelId:ByteVector32, valtx:Transaction) : ChannelException(channelId, "invalid close signature: tx=$tx")
50
50
data classInvalidCloseFee (overridevalchannelId:ByteVector32, valfee:Satoshi) : ChannelException(channelId, "invalid close fee: fee_satoshis=$fee")
51
+
data classInvalidCloseAmountBelowDust (overridevalchannelId:ByteVector32, valtx:Transaction) : ChannelException(channelId, "invalid closing tx: some outputs are below dust: tx=$tx")
51
52
data classHtlcSigCountMismatch (overridevalchannelId:ByteVector32, valexpected:Int, valactual:Int) : ChannelException(channelId, "htlc sig count mismatch: expected=$expected actual: $actual")
52
53
data classForcedLocalCommit (overridevalchannelId:ByteVector32) : ChannelException(channelId, "forced local commit")
0 commit comments