]> git.bitcoin.ninja Git - rust-lightning/commit
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)
commit53b68236a485370a2798af143244ffa4458bb784
treef8ebbf70a80c9d2c00089ea29c46488e20078a0e
parent01bdc15fe61d7df625f7b9bf1a0996ef4e3c433d
Add new config setting `max_balance_dust_htlc_msat`

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.
lightning/src/util/config.rs