Reduce the maximum allowed counterparty dust limit to 546 sat/vbyte
authorMatt Corallo <git@bluematt.me>
Wed, 1 Sep 2021 20:18:47 +0000 (20:18 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 27 Sep 2021 18:19:51 +0000 (18:19 +0000)
commitc43db960628e142756bc5b796a7b71c201dc0ef7
tree22d95d1a251d0edb6aec4ba1c9585716f665c16e
parent8fad49890049c12c892220d22eba024f6d6a5a6a
Reduce the maximum allowed counterparty dust limit to 546 sat/vbyte

546 sat/vbyte is the current default dust limit on most
implementations, matching the network dust limit for P2SH outputs.
Implementations don't currently appear to send any larger dust
limits, and allowing a larger dust limit implies higher payment
failure risk, so we'd like to be as tight as we can here.
lightning/src/ln/channel.rs
lightning/src/ln/functional_tests.rs