Add an Option<>al InvoiceFeatures object for the payee in get_route
authorMatt Corallo <git@bluematt.me>
Fri, 5 Mar 2021 03:13:18 +0000 (22:13 -0500)
committerMatt Corallo <git@bluematt.me>
Mon, 8 Mar 2021 22:19:23 +0000 (17:19 -0500)
commit9e57364a891be67cb6756f3c4ce3eda69e77125f
treebb9b5dce3c377d4c33868f7b11df40e8303efe97
parent5b230d9137ed03c0a6739378920947f5ee2f92b9
Add an Option<>al InvoiceFeatures object for the payee in get_route

We currently only use it to override the graph-specific features
returned in the route, though we should also use it to enable or
disable MPP.

Note that tests which relied on MPP behavior have had all of their
get_route calls upgraded to provide the MPP flag.
fuzz/src/full_stack.rs
fuzz/src/router.rs
lightning/src/ln/chanmon_update_fail_tests.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/onion_route_tests.rs
lightning/src/routing/router.rs