Class 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.
    • 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.