File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1567,6 +1567,8 @@ pub(crate) enum EventCompletionAction {
15671567 /// fully-resolved in the [`ChannelMonitor`], which we do via this action.
15681568 /// Note that this action will be dropped on downgrade to LDK prior to 0.2!
15691569 ReleasePaymentCompleteChannelMonitorUpdate(PaymentCompleteUpdate),
1570+ /// XXX
1571+ AckMonitorEvent { event_id: MonitorEventSource },
15701572}
15711573impl_writeable_tlv_based_enum!(EventCompletionAction,
15721574 (0, ReleaseRAAChannelMonitorUpdate) => {
@@ -1578,6 +1580,9 @@ impl_writeable_tlv_based_enum!(EventCompletionAction,
15781580 }
15791581 ChannelId::v1_from_funding_outpoint(channel_funding_outpoint.unwrap())
15801582 })),
1583+ },
1584+ (3, AckMonitorEvent) => {
1585+ (1, event_id, required),
15811586 }
15821587 {1, ReleasePaymentCompleteChannelMonitorUpdate} => (),
15831588);
@@ -15449,6 +15454,9 @@ impl<
1544915454 }
1545015455 }
1545115456 },
15457+ EventCompletionAction::AckMonitorEvent { event_id } => {
15458+ self.chain_monitor.ack_monitor_event(event_id);
15459+ },
1545215460 }
1545315461 }
1545415462 }
You can’t perform that action at this time.
0 commit comments