]> git.bitcoin.ninja Git - rust-lightning/commit
Correct RBF bump rate calculation
authorMatt Corallo <git@bluematt.me>
Tue, 8 Oct 2024 20:03:21 +0000 (20:03 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 15 Oct 2024 15:43:40 +0000 (15:43 +0000)
commit3f6567c7f4a4663b007c0d5ad7c6291423606a2d
tree6d297b4ec8e5651a8707608fae657dace526b170
parent71e6506c6ea6cec198165c7a7eaf0eeafa6e5fb8
Correct RBF bump rate calculation

Dating back to its introduction in
757bcc2951b6750d39ef1d841593be1e7f1c57cd, `get_height_timer` has
never used the `MIDDLE_FREQUENCY_BUMP_INTERVAL` (then not even a
constant) as its if tree was in the wrong order.

This fixes that.
lightning/src/chain/package.rs