@@ -33,32 +33,30 @@ pub enum TransactionType {
3333 /// A single funding transaction may establish multiple channels when using batch funding.
3434 channel_ids : Vec < ChannelId > ,
3535 } ,
36- /// A cooperative close transaction mutually agreed upon by both parties .
36+ /// A transaction cooperatively closing a channel .
3737 CooperativeClose {
3838 /// The ID of the channel being closed.
3939 channel_id : ChannelId ,
4040 } ,
41- /// A commitment transaction being broadcast to force-close the channel.
42- Commitment {
41+ /// A transaction being broadcast to force-close the channel.
42+ UnilateralClose {
4343 /// The ID of the channel being force-closed.
4444 channel_id : ChannelId ,
4545 } ,
46- /// An anchor transaction used for CPFP fee-bumping a commitment transaction.
47- Anchor {
48- /// The ID of the channel whose commitment transaction is being fee-bumped.
46+ /// An anchor bumping transaction used for CPFP fee-bumping a closing transaction.
47+ AnchorBump {
48+ /// The ID of the channel whose closing transaction is being fee-bumped.
4949 channel_id : ChannelId ,
5050 } ,
5151 /// A transaction claiming outputs from a commitment transaction (HTLC claims, penalty/justice).
5252 Claim {
5353 /// The ID of the channel from which outputs are being claimed.
5454 channel_id : ChannelId ,
5555 } ,
56- /// An HTLC resolution transaction (HTLC-timeout or HTLC-success) for anchor channels.
57- HtlcResolution {
58- /// The ID of the channel whose HTLCs are being resolved.
59- channel_id : ChannelId ,
60- } ,
61- /// A transaction sweeping spendable outputs to the user's wallet.
56+ /// A transaction genered by the [`OutputSweeper`], sweeping [`SpendableOutputDescriptor`]s to the user's wallet.
57+ ///
58+ /// [`OutputSweeper`]: crate::util::sweep::OutputSweeper
59+ /// [`SpendableOutputDescriptor`]: crate::sign::SpendableOutputDescriptor
6260 Sweep {
6361 /// The IDs of the channels from which outputs are being swept, if known.
6462 ///
0 commit comments