]> git.bitcoin.ninja Git - rust-lightning/commit
Dont forget RBF previous-feerate info if tx size changed.
authorMatt Corallo <git@bluematt.me>
Mon, 9 Dec 2019 22:22:02 +0000 (17:22 -0500)
committerAntoine Riard <ariard@student.42.fr>
Tue, 10 Dec 2019 20:50:56 +0000 (15:50 -0500)
commit7be903ba006d45d95298d991f687affdee2c978f
tree9bdb7f5cfeab613b7bdf603969308c7ac807b836
parentd421816e8420a9402461bbc96588843a1519cdff
Dont forget RBF previous-feerate info if tx size changed.

While our fee may change wildly (or even go down), the previous
fee *rate* is still valid, and we should use that as the basis for
our RBF.
lightning/src/ln/channelmonitor.rs