Class Event.PaymentFailed

  • Enclosing class:
    Event

    public static final class Event.PaymentFailed
    extends Event
    Indicates an outbound payment failed. Individual [`Event::PaymentPathFailed`] events provide failure information for each MPP part in the payment. This event is provided once there are no further pending HTLCs for the payment and the payment is no longer retryable, either due to a several-block timeout or because [`ChannelManager::abandon_payment`] was previously called for the corresponding payment. [`ChannelManager::abandon_payment`]: crate::ln::channelmanager::ChannelManager::abandon_payment
    • Field Detail

      • payment_id

        public final byte[] payment_id
        The id returned by [`ChannelManager::send_payment`] and used with [`ChannelManager::retry_payment`] and [`ChannelManager::abandon_payment`]. [`ChannelManager::send_payment`]: crate::ln::channelmanager::ChannelManager::send_payment [`ChannelManager::retry_payment`]: crate::ln::channelmanager::ChannelManager::retry_payment [`ChannelManager::abandon_payment`]: crate::ln::channelmanager::ChannelManager::abandon_payment
      • payment_hash

        public final byte[] payment_hash
        The hash that was given to [`ChannelManager::send_payment`]. [`ChannelManager::send_payment`]: crate::ln::channelmanager::ChannelManager::send_payment