Skip to content

Commit 998c0e1

Browse files
committed
f missing docs
1 parent 0902fe4 commit 998c0e1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,10 +562,16 @@ impl_writeable_tlv_based_enum!(EventCompletionAction,
562562
);
563563

564564
#[derive(Clone, PartialEq, Eq, Debug)]
565+
/// If something is blocked on the completion of an RAA-generated [`ChannelMonitorUpdate`] we track
566+
/// the blocked action here. See enum variants for more info.
565567
pub(crate) enum RAAMonitorUpdateBlockingAction {
566-
/// The inbound channel's channel_id
568+
/// A forwarded payment was claimed. We block the downstream channel completing its monitor
569+
/// update which removes the HTLC preimage until the upstream channel has gotten the preimage
570+
/// durably to disk.
567571
ForwardedPaymentOtherChannelClaim {
572+
/// The upstream channel ID (i.e. the inbound edge).
568573
channel_id: [u8; 32],
574+
/// The HTLC ID on the inbound edge.
569575
htlc_id: u64,
570576
},
571577
}

0 commit comments

Comments
 (0)