rust-lightning/lightning/src
Matt Corallo 59b1bf6d0f Pass Route to send_payment as a reference, not move
ChannelManager::send_payment stopped utilizing its ownership of the
Route with MPP (which, for readability, now clone()s the individual
paths when creating HTLCSource::OutboundRoute objects). While this
isn't ideal, it likely also makes sense to ensure that the user has
access to the Route after sending to correlate individual path
failures with the paths in the route or, in the future, retry
individual paths.

Thus, the easiest solution is to just take the Route by reference,
allowing the user to retain ownership.
2020-04-14 20:50:42 -04:00
..
chain Add tests for handling channel announcements 2020-04-11 08:30:21 -04:00
ln Pass Route to send_payment as a reference, not move 2020-04-14 20:50:42 -04:00
util Expand the Route object to include multiple paths. 2020-04-14 19:54:17 -04:00
lib.rs Use workspaces to separate crates 2019-11-15 02:44:30 +00:00