@@ -3657,13 +3657,16 @@ impl<Signer: Sign> Channel<Signer> {
3657
3657
log_trace ! ( logger, "Peer disconnection resulted in {} remote-announced HTLC drops on channel {}" , inbound_drop_count, log_bytes!( self . channel_id( ) ) ) ;
3658
3658
}
3659
3659
3660
- /// Indicates that a ChannelMonitor update failed to be stored by the client and further
3661
- /// updates are partially paused.
3662
- /// This must be called immediately after the call which generated the ChannelMonitor update
3663
- /// which failed. The messages which were generated from that call which generated the
3664
- /// monitor update failure must *not* have been sent to the remote end, and must instead
3665
- /// have been dropped. They will be regenerated when monitor_updating_restored is called.
3666
- pub fn monitor_update_failed ( & mut self , resend_raa : bool , resend_commitment : bool ,
3660
+ /// Indicates that a ChannelMonitor update is in progress and has not yet been fully persisted.
3661
+ /// This must be called immediately after the [`chain::Watch`] call which returned
3662
+ /// [`ChannelMonitorUpdateStatus::InProgress`].
3663
+ /// The messages which were generated with the monitor update must *not* have been sent to the
3664
+ /// remote end, and must instead have been dropped. They will be regenerated when
3665
+ /// [`Self::monitor_updating_restored`] is called.
3666
+ ///
3667
+ /// [`chain::Watch`]: crate::chain::Watch
3668
+ /// [`ChannelMonitorUpdateStatus::InProgress`]: crate::chain::ChannelMonitorUpdateStatus::InProgress
3669
+ pub fn monitor_updating_paused ( & mut self , resend_raa : bool , resend_commitment : bool ,
3667
3670
resend_channel_ready : bool , mut pending_forwards : Vec < ( PendingHTLCInfo , u64 ) > ,
3668
3671
mut pending_fails : Vec < ( HTLCSource , PaymentHash , HTLCFailReason ) > ,
3669
3672
mut pending_finalized_claimed_htlcs : Vec < HTLCSource >
0 commit comments