Skip to content

Probe only up to the last public hop if there's no other choices #2517

Closed

Description

@TheBlueMatt

If we're doing pre-flight probing for a payment, and the last hop is from an invoice route hint, and there's only one option for the last-hop route, and the node is not public, there's no reason to probe through to the endpoint - we might as well probe to the second-to-last hop. Worse, probing to the endpoint may confuse some LSPs, causing them to open a JIT channel when there's no real payment yet. For ldk-node this should be ~easy, for LDK itself we probably want to do it as a part of #2499.

cc @tnull

Activity

  1. added this to the 0.1.1 milestone on Aug 23, 2023
  2. tnull commented on Aug 23, 2023

    @tnull
    Contributor

    Yup, will make sure to include it in #2499.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions