]> git.bitcoin.ninja Git - rust-lightning/commit
Use multiplier in dust exposure threshold calculation
authorAlec Chen <alecchendev@gmail.com>
Thu, 6 Jul 2023 22:46:48 +0000 (17:46 -0500)
committerAlec Chen <alecchendev@gmail.com>
Fri, 7 Jul 2023 19:30:51 +0000 (14:30 -0500)
commitb040335712dd3161a74119b71149bfa2ad69b907
tree3365ad1588f3b11881af36304e4a6933a15212b4
parentc2992fd94bff9c4e5e86e558cb17aa5038e526a3
Use multiplier in dust exposure threshold calculation

This commit makes use of the added enum to calculate the dust
exposure threshold based on the current fee rate. This also updates
tests to ensure it works as intended.
fuzz/src/full_stack.rs
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/onion_route_tests.rs
lightning/src/ln/priv_short_conf_tests.rs