Add debug assertions for weight estimates of bump transactions
authorWilmer Paulino <wilmer@wilmerpaulino.com>
Tue, 11 Jul 2023 22:17:34 +0000 (15:17 -0700)
committerWilmer Paulino <wilmer@wilmerpaulino.com>
Fri, 14 Jul 2023 21:45:18 +0000 (14:45 -0700)
commiteac1bc18e37ddcea304f26d4d797381e717708ef
tree9276999e937d7a33388fa5ad361c21002a886cd3
parent9088dae7daab47c46ad9b8447c376eceade7c7c4
Add debug assertions for weight estimates of bump transactions

This ensures our estimates are correct by never underestimating and
only allowing overestimations by a margin of 1%.
lightning/src/events/bump_transaction.rs