]> git.bitcoin.ninja Git - rust-lightning/commit
Define Payee abstraction for use in get_route
authorJeffrey Czyz <jkczyz@gmail.com>
Wed, 20 Oct 2021 14:15:31 +0000 (09:15 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Mon, 25 Oct 2021 15:18:11 +0000 (10:18 -0500)
commitb5be4c210c804488c18a0f5fe912728fdede6984
treeaaab84d8782fc4bfa2f6b9df0cbbe3536ca05eca
parent107c6c793980b44aff9d1ebed226ae8141378e5c
Define Payee abstraction for use in get_route

A payee can be identified by a pubkey and optionally have an associated
set of invoice features and route hints. Use this in get_route instead
of three separate parameters. This may be included in PaymentPathFailed
later to use when finding a new route.
fuzz/src/full_stack.rs
fuzz/src/router.rs
lightning-invoice/src/lib.rs
lightning-invoice/src/utils.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/shutdown_tests.rs
lightning/src/routing/router.rs
lightning/src/routing/scorer.rs