Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

routing: improve equal cost route comparison #3782

Merged

Commits on Dec 2, 2019

  1. routing: improve equal cost route comparison

    When the (virtual) payment attempt cost is set to zero, probabilities
    are no longer a factor in determining the best route. In case of routes
    with equal costs, we'd just go with the first one found. This commit
    refines this behavior by picking the route with the highest probability.
    So even though probability doesn't affect the route cost, it is still
    used as a tie breaker.
    joostjager committed Dec 2, 2019
    Copy the full SHA
    3aaf32d View commit details
    Browse the repository at this point in the history