Skip to content

Only return one path per source asset #3

@johansten

Description

@johansten

Horizon path finding currently returns quite a few paths as a result. Pathfinder does too, as an artifact of how the search algorithm works. But does it make any sense? Why would you ever want to use the second best path from asset A to asset B?

Before the release of Horizon v10 you could get into a situation where the best path was using an unbacked offer and would fail if you tried to use it in a path payment, so more options might have been useful. Post-v10, with CAP-0003 in place, that shouldn't be an issue anymore.

A path payment might still fail because the market has moved too much, but then you're better off just finding a new path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions