Skip to content

Be willing to pick smaller paths at the end of pathfinding if there's not much left to find #3901

Open

Description

@TheBlueMatt

If we have only marginally more available to send than we're trying to send, and pick a few MPP paths which total just less than we're trying to send, we might find ourselves stuck as we won't be willing to pick a small path to finish out the rest if what we need is < 1/max_path_count (default 10).

eg if we have 2.6M sats available to send, and are trying to send 2.5, if we get unlucky and the paths we pick total to 2.4, we will refuse to pick another path because our first hop channel doesn't have enough to meet our path minimum (2.5M/10 = 250k) but we should really be willing to relax that minimum because we only need another 100k sats left.

Activity

  1. added this to the 0.2 milestone on Jun 30, 2025
  2. TheBlueMatt commented on Sep 2, 2025

    @TheBlueMatt
    CollaboratorAuthor

    We haven't heard any more complaints about pathfinding since 0.1.5, so slipping this, though we should loop around to it.

  3. modified the milestones: 0.2, 0.4 on Sep 2, 2025
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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions