Implement multipath sends using payment_secret.
authorMatt Corallo <git@bluematt.me>
Tue, 7 Jan 2020 01:29:33 +0000 (20:29 -0500)
committerMatt Corallo <git@bluematt.me>
Sun, 1 Mar 2020 04:26:16 +0000 (23:26 -0500)
commitd7f83263cbe3376408c612707adec69bf3faf50c
treee163e907cd7640d2ce4cdce6c6fd37f9076d2ab1
parentf3a8b46fe533b490a2b7a3def54a038e6229606d
Implement multipath sends using payment_secret.

This rather dramatically changes the return type of send_payment
making it much clearer when resending is safe and allowing us to
return a list of Results since different paths may have different
return values.
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/onion_utils.rs