Skip to content

Commit c10e92e

Browse files
committed
fixup! add note to max_dust_htlc_exposure_msat
1 parent 1b67393 commit c10e92e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lightning/src/util/config.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,12 @@ pub struct ChannelConfig {
325325
/// to such payments may be sustantial if there are many dust HTLCs present when the
326326
/// channel is force-closed.
327327
///
328+
/// The dust threshold for each HTLC is based on the `dust_limit_satoshis` for each party in a
329+
/// channel negotiated throughout the channel open process, along with the fees required to have
330+
/// a broadcastable HTLC spending transaction. When a channel supports anchor outputs
331+
/// (specifically the zero fee HTLC transaction variant), this threshold no longer takes into
332+
/// account the HTLC transaction fee as it is zero.
333+
///
328334
/// This limit is applied for sent, forwarded, and received HTLCs and limits the total
329335
/// exposure across all three types per-channel. Setting this too low may prevent the
330336
/// sending or receipt of low-value HTLCs on high-traffic nodes, and this limit is very

0 commit comments

Comments
 (0)