Move commitment tx fee calculation helpers to `chan_utils`
authorMatt Corallo <git@bluematt.me>
Fri, 29 Sep 2023 17:26:01 +0000 (17:26 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 14 Nov 2023 21:55:48 +0000 (21:55 +0000)
commitadc77df5b3c427b0e3322a59fc11e861c323ee79
tree1c289f0cfeb32d219d3f8f5e5ca16d28228eabe5
parent5e628d6f61f457506d01e0d346d4296a7d92cd85
Move commitment tx fee calculation helpers to `chan_utils`

These don't really belong in `channel` as they're now used in other
parts of the codebase.
lightning/src/ln/chan_utils.rs
lightning/src/ln/channel.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/monitor_tests.rs