Skip to content

Commit 2ace4c8

Browse files
committed
f! docs
1 parent c4b79a0 commit 2ace4c8

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

lightning/src/util/events.rs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -397,8 +397,9 @@ pub enum BumpTransactionEvent {
397397
/// commitment transaction confirms.
398398
pending_htlcs: Vec<HTLCOutputInCommitment>,
399399
},
400-
/// Indicates that a channel featuring anchor outputs has HTLC(s) that need to be resolved
401-
/// onchain. With the zero-HTLC-transaction-fee variant of anchor outputs, the pre-signed HTLC
400+
/// Indicates that a channel featuring anchor outputs has unilaterally closed on-chain by a
401+
/// holder commitment transaction and its HTLC(s) need to be resolved on-chain. With the
402+
/// zero-HTLC-transaction-fee variant of anchor outputs, the pre-signed HTLC
402403
/// transactions have a zero fee, thus requiring additional inputs and/or outputs to be attached
403404
/// for a timely confirmation within the chain. These additional inputs and/or outputs must be
404405
/// appended to the resulting HTLC transaction to meet the target feerate. Failure to meet the
@@ -419,8 +420,9 @@ pub enum BumpTransactionEvent {
419420
/// the [Replace-By-Fee
420421
/// rules](https://github.com/bitcoin/bitcoin/blob/master/doc/policy/mempool-replacements.md)
421422
/// for fee bumps to be accepted into the mempool, and eventually the chain. As the frequency of
422-
/// these events is not user-controlled, users may ignore/drop the event if they are no longer
423-
/// able to commit external confirmed funds to the HTLC transaction.
423+
/// these events is not user-controlled, users may ignore/drop the event if either they are no
424+
/// longer able to commit external confirmed funds to the HTLC transaction or the fee committed
425+
/// to the HTLC transaction is greater in value than the HTLCs being claimed.
424426
///
425427
/// [`InMemorySigner`]: crate::chain::keysinterface::InMemorySigner
426428
/// [`KeysManager::derive_channel_keys`]: crate::chain::keysinterface::KeysManager::derive_channel_keys

0 commit comments

Comments
 (0)