Class Event.PaymentPathFailed

  • Enclosing class:
    Event

    public static final class Event.PaymentPathFailed
    extends Event
    • Field Detail

      • payment_hash

        public final byte[] payment_hash
        The hash which was given to ChannelManager::send_payment.
      • rejected_by_dest

        public final boolean rejected_by_dest
        Indicates the payment was rejected for some reason by the recipient. This implies that the payment has failed, not just the route in question. If this is not set, you may retry the payment via a different route.
      • network_update

        public final Option_NetworkUpdateZ network_update
        Any failure information conveyed via the Onion return packet by a node along the failed payment route. Should be applied to the [`NetworkGraph`] so that routing decisions can take into account the update. [`NetGraphMsgHandler`] is capable of doing this. [`NetworkGraph`]: crate::routing::network_graph::NetworkGraph [`NetGraphMsgHandler`]: crate::routing::network_graph::NetGraphMsgHandler
      • all_paths_failed

        public final boolean all_paths_failed
        For both single-path and multi-path payments, this is set if all paths of the payment have failed. This will be set to false if (1) this is an MPP payment and (2) other parts of the larger MPP payment were still in flight when this event was generated.
      • path

        public final RouteHop[] path
        The payment path that failed.