File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1553,6 +1553,8 @@ pub(crate) enum EventCompletionAction {
15531553 /// fully-resolved in the [`ChannelMonitor`], which we do via this action.
15541554 /// Note that this action will be dropped on downgrade to LDK prior to 0.2!
15551555 ReleasePaymentCompleteChannelMonitorUpdate(PaymentCompleteUpdate),
1556+ /// XXX
1557+ AckMonitorEvent { event_id: MonitorEventSource },
15561558}
15571559impl_writeable_tlv_based_enum!(EventCompletionAction,
15581560 (0, ReleaseRAAChannelMonitorUpdate) => {
@@ -1564,6 +1566,9 @@ impl_writeable_tlv_based_enum!(EventCompletionAction,
15641566 }
15651567 ChannelId::v1_from_funding_outpoint(channel_funding_outpoint.unwrap())
15661568 })),
1569+ },
1570+ (3, AckMonitorEvent) => {
1571+ (1, event_id, required),
15671572 }
15681573 {1, ReleasePaymentCompleteChannelMonitorUpdate} => (),
15691574);
@@ -15375,6 +15380,9 @@ impl<
1537515380 }
1537615381 }
1537715382 },
15383+ EventCompletionAction::AckMonitorEvent { event_id } => {
15384+ self.chain_monitor.ack_monitor_event(event_id);
15385+ },
1537815386 }
1537915387 }
1538015388 }
You can’t perform that action at this time.
0 commit comments