]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Add new config setting `max_balance_dust_htlc_msat`
authorAntoine Riard <dev@ariard.me>
Wed, 28 Jul 2021 23:51:02 +0000 (19:51 -0400)
committerAntoine Riard <dev@ariard.me>
Tue, 10 Aug 2021 17:43:32 +0000 (13:43 -0400)
Trimmed-to-dust HTLCs are at risk of being burnt as miner fees
at anytime during their lifetime due to the broadcast of either
holder commitment transaction or counterparty's one.

To hedge against this risk, we introduce a new config setting
`max_balance_dust_htlc_msat`, with the initial value of
5_000_000 msat.


No differences found