Skip to content

Commit 7202bb7

Browse files
committed
f missing docs
1 parent d1596dd commit 7202bb7

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
@@ -567,10 +567,16 @@ impl_writeable_tlv_based_enum!(EventCompletionAction,
567567
);
568568

569569
#[derive(Clone, PartialEq, Eq, Debug)]
570+
/// If something is blocked on the completion of an RAA-generated [`ChannelMonitorUpdate`] we track
571+
/// the blocked action here. See enum variants for more info.
570572
pub(crate) enum RAAMonitorUpdateBlockingAction {
571-
/// The inbound channel's channel_id
573+
/// A forwarded payment was claimed. We block the downstream channel completing its monitor
574+
/// update which removes the HTLC preimage until the upstream channel has gotten the preimage
575+
/// durably to disk.
572576
ForwardedPaymentOtherChannelClaim {
577+
/// The upstream channel ID (i.e. the inbound edge).
573578
channel_id: [u8; 32],
579+
/// The HTLC ID on the inbound edge.
574580
htlc_id: u64,
575581
},
576582
}

0 commit comments

Comments
 (0)