Skip to content

Commit

Permalink
Merge pull request lightningdevkit#2876 from TheBlueMatt/2024-02-2863…
Browse files Browse the repository at this point in the history
…-doc-nits

Minor doc nits on the new coop close reason variants
  • Loading branch information
tnull authored Feb 6, 2024
2 parents e64342a + bad2efb commit a0917e5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lightning/src/events/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,16 @@ pub enum ClosureReason {
HolderForceClosed,
/// The channel was closed after negotiating a cooperative close and we've now broadcasted
/// the cooperative close transaction. Note the shutdown may have been initiated by us.
///
/// This was only set in versions of LDK prior to 0.0.122.
// Can be removed once we disallow downgrading to 0.0.121
LegacyCooperativeClosure,
/// The channel was closed after negotiating a cooperative close and we've now broadcasted
/// the cooperative close transaction. This indicates that the shutdown was initiated by our
/// counterparty.
///
/// In rare cases where we initiated closure immediately prior to shutting down without
/// persisting, this value may be provided for channels we initiated closure for.
CounterpartyInitiatedCooperativeClosure,
/// The channel was closed after negotiating a cooperative close and we've now broadcasted
/// the cooperative close transaction. This indicates that the shutdown was initiated by us.
Expand Down

0 comments on commit a0917e5

Please sign in to comment.