Skip to content

Commit cfcd1b2

Browse files
committed
f missing docs
1 parent 2414f71 commit cfcd1b2

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
@@ -559,10 +559,16 @@ impl_writeable_tlv_based_enum!(EventCompletionAction,
559559
);
560560

561561
#[derive(Clone, PartialEq, Eq, Debug)]
562+
/// If something is blocked on the completion of an RAA-generated [`ChannelMonitorUpdate`] we track
563+
/// the blocked action here. See enum variants for more info.
562564
pub(crate) enum RAAMonitorUpdateBlockingAction {
563-
/// The inbound channel's channel_id
565+
/// A forwarded payment was claimed. We block the downstream channel completing its monitor
566+
/// update which removes the HTLC preimage until the upstream channel has gotten the preimage
567+
/// durably to disk.
564568
ForwardedPaymentOtherChannelClaim {
569+
/// The upstream channel ID (i.e. the inbound edge).
565570
channel_id: [u8; 32],
571+
/// The HTLC ID on the inbound edge.
566572
htlc_id: u64,
567573
},
568574
}

0 commit comments

Comments
 (0)