Package org.ldk.structs
Class Event.ChannelClosed
- java.lang.Object
-
- org.ldk.structs.Event
-
- org.ldk.structs.Event.ChannelClosed
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ldk.structs.Event
Event.ChannelClosed, Event.DiscardFunding, Event.FundingGenerationReady, Event.PaymentForwarded, Event.PaymentPathFailed, Event.PaymentReceived, Event.PaymentSent, Event.PendingHTLCsForwardable, Event.SpendableOutputs
-
-
Field Summary
Fields Modifier and Type Field Description byte[]channel_idThe channel_id of the channel which has been closed.ClosureReasonreasonThe reason the channel was closed.longuser_channel_idThe `user_channel_id` value passed in to [`ChannelManager::create_channel`], or 0 for an inbound channel.
-
Method Summary
-
Methods inherited from class org.ldk.structs.Event
channel_closed, clone, discard_funding, finalize, funding_generation_ready, payment_forwarded, payment_path_failed, payment_received, payment_sent, pending_htlcs_forwardable, spendable_outputs, write
-
-
-
-
Field Detail
-
channel_id
public final byte[] channel_id
The channel_id of the channel which has been closed. Note that on-chain transactions resolving the channel are likely still awaiting confirmation.
-
user_channel_id
public final long user_channel_id
The `user_channel_id` value passed in to [`ChannelManager::create_channel`], or 0 for an inbound channel. This will always be zero for objects serialized with LDK versions prior to 0.0.102. [`ChannelManager::create_channel`]: crate::ln::channelmanager::ChannelManager::create_channel
-
reason
public final ClosureReason reason
The reason the channel was closed.
-
-