]> git.bitcoin.ninja Git - rust-lightning/commit
Account for zero fee HTLC transaction within dust limit calculation
authorWilmer Paulino <wilmer.paulino@gmail.com>
Mon, 29 Aug 2022 19:34:34 +0000 (12:34 -0700)
committerWilmer Paulino <wilmer.paulino@gmail.com>
Tue, 13 Sep 2022 17:58:36 +0000 (10:58 -0700)
commitaf2ff9b5b9ded15969031f329070af5024013626
tree39cf3ae3850f9624093b0223f5156e9ba0684278
parentcd0d19c005ee4fa11de93a2bca621eda6b81ce95
Account for zero fee HTLC transaction within dust limit calculation

With the zero fee HTLC transaction anchors variant, HTLCs can no longer
be trimmed due to their amount being too low to have a mempool valid
HTLC transaction. Now they can only be trimmed based on the dust limit
of each party within the channel.
lightning/src/ln/channel.rs
lightning/src/util/config.rs