Package org.ldk.structs
Class Event.ChannelPending
- java.lang.Object
-
- org.ldk.structs.Event
-
- org.ldk.structs.Event.ChannelPending
-
- Enclosing class:
- Event
public static final class Event.ChannelPending extends Event
Used to indicate that a channel with the given `channel_id` is being opened and pending confirmation on-chain. This event is emitted when the funding transaction has been signed and is broadcast to the network. For 0conf channels it will be immediately followed by the corresponding [`Event::ChannelReady`] event.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ldk.structs.Event
Event.ChannelClosed, Event.ChannelPending, Event.ChannelReady, Event.DiscardFunding, Event.FundingGenerationReady, Event.HTLCHandlingFailed, Event.HTLCIntercepted, Event.OpenChannelRequest, Event.PaymentClaimable, Event.PaymentClaimed, Event.PaymentFailed, Event.PaymentForwarded, Event.PaymentPathFailed, Event.PaymentPathSuccessful, Event.PaymentSent, Event.PendingHTLCsForwardable, Event.ProbeFailed, Event.ProbeSuccessful, Event.SpendableOutputs
-
-
Field Summary
Fields Modifier and Type Field Description byte[]
channel_id
The `channel_id` of the channel that is pending confirmation.byte[]
counterparty_node_id
The `node_id` of the channel counterparty.byte[]
former_temporary_channel_id
The `temporary_channel_id` this channel used to be known by during channel establishment.OutPoint
funding_txo
The outpoint of the channel's funding transaction.UInt128
user_channel_id
The `user_channel_id` value passed in to [`ChannelManager::create_channel`] for outbound channels, or to [`ChannelManager::accept_inbound_channel`] for inbound channels if [`UserConfig::manually_accept_inbound_channels`] config flag is set to true.
-
Method Summary
-
Methods inherited from class org.ldk.structs.Event
channel_closed, channel_pending, channel_ready, clone, discard_funding, eq, equals, finalize, funding_generation_ready, htlchandling_failed, htlcintercepted, open_channel_request, payment_claimable, payment_claimed, payment_failed, payment_forwarded, payment_path_failed, payment_path_successful, payment_sent, pending_htlcs_forwardable, probe_failed, probe_successful, spendable_outputs, write
-
-
-
-
Field Detail
-
channel_id
public final byte[] channel_id
The `channel_id` of the channel that is pending confirmation.
-
user_channel_id
public final UInt128 user_channel_id
The `user_channel_id` value passed in to [`ChannelManager::create_channel`] for outbound channels, or to [`ChannelManager::accept_inbound_channel`] for inbound channels if [`UserConfig::manually_accept_inbound_channels`] config flag is set to true. Otherwise `user_channel_id` will be randomized for an inbound channel. [`ChannelManager::create_channel`]: crate::ln::channelmanager::ChannelManager::create_channel [`ChannelManager::accept_inbound_channel`]: crate::ln::channelmanager::ChannelManager::accept_inbound_channel [`UserConfig::manually_accept_inbound_channels`]: crate::util::config::UserConfig::manually_accept_inbound_channels
-
former_temporary_channel_id
@Nullable public final byte[] former_temporary_channel_id
The `temporary_channel_id` this channel used to be known by during channel establishment. Will be `None` for channels created prior to LDK version 0.0.115. Note that this (or a relevant inner pointer) may be NULL or all-0s to represent None
-
counterparty_node_id
public final byte[] counterparty_node_id
The `node_id` of the channel counterparty.
-
funding_txo
public final OutPoint funding_txo
The outpoint of the channel's funding transaction.
-
-