]> git.bitcoin.ninja Git - rust-lightning/commit
Introduce `RouteParameters::max_total_routing_fee_msat`
authorElias Rohrer <dev@tnull.de>
Fri, 14 Jul 2023 09:47:22 +0000 (11:47 +0200)
committerElias Rohrer <dev@tnull.de>
Tue, 26 Sep 2023 07:44:04 +0000 (09:44 +0200)
commitd7e2ff62203ca5f09cc074bd8b55ca2e09706e03
tree6373c398c60f3a4ada1b2db264e4e637ef40906d
parent7e7e7a0573c6d2c10eb9df668eae0ed838b398b6
Introduce `RouteParameters::max_total_routing_fee_msat`

Currently, users have no means to upper-bound the total fees accruing
when finding a route. Here, we add a corresponding field to
`RouteParameters` which will be used to limit the candidate set during
path finding in the following commits.
lightning-invoice/src/payment.rs
lightning/src/ln/blinded_payment_tests.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/outbound_payment.rs
lightning/src/ln/payment_tests.rs
lightning/src/routing/router.rs