]> git.bitcoin.ninja Git - rust-lightning/commit
Set a default `max_total_routing_fee_msat` of 1% + 50sats 2023-09-default-route-limit
authorMatt Corallo <git@bluematt.me>
Tue, 26 Sep 2023 21:28:29 +0000 (21:28 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 26 Sep 2023 22:03:59 +0000 (22:03 +0000)
commit0c31c6f162df1ae280fd232e26d0c1f173959ee6
treeaf026ade7c097f049570b9b81e2224d811b86e06
parent793a1bf679b2631e215e7850bb1b35e727a69d0f
Set a default `max_total_routing_fee_msat` of 1% + 50sats

When using the normal default constructors, we should have some
fee maximum to ensure our default behavior is safe. Here we pick
1% + 50 sats to ensure we're always willing to pay
reasonabl(y high) fees, but not anything too wild.
lightning/src/ln/outbound_payment.rs
lightning/src/ln/payment_tests.rs
lightning/src/routing/router.rs