]> git.bitcoin.ninja Git - rust-lightning/commit
Replace get_route with get_route_and_payment_hash
authorJeffrey Czyz <jkczyz@gmail.com>
Mon, 27 Sep 2021 20:02:51 +0000 (13:02 -0700)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 13 Oct 2021 23:37:01 +0000 (18:37 -0500)
commit0a5ccd1f13add92ed949bd3f75f5dff18cd0ba7e
tree9ae1b492c74ba22c1a247fb67c3f66790dedfc26
parent3fc035267cf74995310cf2d1bc0e34e7da8daf4b
Replace get_route with get_route_and_payment_hash

The interface for get_route will change to take a scorer. Using
get_route_and_payment_hash whenever possible allows for keeping the
scorer inside get_route_and_payment_hash rather than at every call site.

Replace get_route with get_route_and_payment_hash wherever possible.
Additionally, update get_route_and_payment_hash to use the known invoice
features and the sending node's logger.
lightning/src/ln/chanmon_update_fail_tests.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/monitor_tests.rs
lightning/src/ln/onion_route_tests.rs
lightning/src/ln/payment_tests.rs
lightning/src/ln/shutdown_tests.rs