rust-lightning/lightning/src/ln
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
..
chan_utils.rs Make Readable::read a templated on the stream, not Readable itself 2020-03-04 14:29:06 -05:00
chanmon_update_fail_tests.rs Pass Route to send_payment as a reference, not move 2020-04-14 20:50:42 -04:00
channel.rs Broadcast final local txn via ChannelMonitorUpdate 2020-03-19 19:21:36 -04:00
channelmanager.rs Pass Route to send_payment as a reference, not move 2020-04-14 20:50:42 -04:00
channelmonitor.rs Remove useless local commitment txn signatures 2020-03-21 17:03:54 -04:00
features.rs Add/announce features for payment_secret and basic_mpp 2020-04-14 19:54:17 -04:00
functional_test_utils.rs Pass Route to send_payment as a reference, not move 2020-04-14 20:50:42 -04:00
functional_tests.rs Pass Route to send_payment as a reference, not move 2020-04-14 20:50:42 -04:00
mod.rs Introduce OnchainTxHandler, move bumping and tracking logic 2020-03-04 16:06:29 -05:00
msgs.rs panic!() when serializing OnionHopDatas with value > 21m BTC 2020-04-14 20:50:42 -04:00
onchaintx.rs Enforce MINIMALIF-compliant witness for timeout tx 2020-04-02 17:10:35 -04:00
onion_utils.rs Implement multipath sends using payment_secret. 2020-04-14 20:50:42 -04:00
peer_channel_encryptor.rs Merge branch 'master' of github.com:rust-bitcoin/rust-lightning into use-workspaces 2019-11-18 19:44:55 +00:00
peer_handler.rs Allow relaying of only one direction in a channel, log on recv 2020-04-11 08:30:21 -04:00
reorg_tests.rs Impl Base AMP in the receive pipeline and expose payment_secret 2020-04-14 19:54:17 -04:00
router.rs Expand the Route object to include multiple paths. 2020-04-14 19:54:17 -04:00
wire.rs Add test cases for feature messages from other lightning clients. 2020-03-11 12:55:00 -04:00