Skip to content

Commit c2429bd

Browse files
committed
f docs on htlcspendconfirmation
1 parent c9b1c50 commit c2429bd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lightning/src/chain/channelmonitor.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,12 @@ enum OnchainEvent {
404404
/// commitment transaction, and this is the delay on the to_self output).
405405
on_local_output_csv: Option<u16>,
406406
},
407+
/// A spend of an HTLC output in a commitment transaction, `confirmation_threshold` is is the
408+
/// height where a SpendableOutput is generated for local claims or ANTI_REORG_DELAY for
409+
/// remote claims.
410+
/// Included for both claims and failures, to allow us to track when we should stop informing
411+
/// users there is a contentious claim and stop informing users there is a pending claim after
412+
/// we generate a `SpendableOutput`.
407413
HTLCSpendConfirmation {
408414
input_idx: u32,
409415
/// Only set if the claim was made by us with a preimage

0 commit comments

Comments
 (0)