mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-25 15:20:24 +01:00
Many of the fields in `HTLCSource::OutboundRoute` are used to rebuild the pending-outbound-payment map on reload if the `ChannelManager` was not serialized though `ChannelMonitor`(s) were after an HTLC was sent. As of 0.0.114, however, such payments are not retryable without allowing them to fail and doing a full, fresh, send. Thus, some of the fields can be safely removed - we only really care about having enough information to provide the user a failure event, not being able to retry. Here we drop one such field - the `payment_secret`, making our `ChannelMonitorUpdate`s another handful of bytes smaller.
3 lines
183 B
Text
3 lines
183 B
Text
## Backwards Compatibility
|
|
* Payments sent with the legacy `*_with_route` methods on LDK 0.0.115+ will no
|
|
longer be retryable via the LDK 0.0.114- `retry_payment` method (#XXXX).
|