rust-lightning/pending_changelog
Matt Corallo 6c203d803e Stop relying on ChannelMonitor persistence after manager read
When we discover we've only partially claimed an MPP HTLC during
`ChannelManager` reading, we need to add the payment preimage to
all other `ChannelMonitor`s that were a part of the payment.

We previously did this with a direct call on the `ChannelMonitor`,
requiring users write the full `ChannelMonitor` to disk to ensure
that updated information made it.

This adds quite a bit of delay during initial startup - fully
resilvering each `ChannelMonitor` just to handle this one case is
incredibly excessive.

Over the past few commits we dropped the need to pass HTLCs
directly to the `ChannelMonitor`s using the background events to
provide `ChannelMonitorUpdate`s insetad.

Thus, here we finally drop the requirement to resilver
`ChannelMonitor`s on startup.
2024-10-24 17:44:33 +00:00
..
.empty_folder Update release notes for 0.0.111 2022-09-12 22:33:37 +00:00
3243-remove-balance_msat.txt Remove AvailableBalances::balance_msat 2024-09-09 19:37:03 +02:00
3259-no-downgrade.txt Add missing pending changelog for downgrade on unsafe funding 2024-08-27 19:31:25 +00:00
3322-a.txt Pass info about claimed payments, incl HTLCs to ChannelMonitors 2024-10-24 17:44:33 +00:00
3322-b.txt Stop relying on ChannelMonitor persistence after manager read 2024-10-24 17:44:33 +00:00