Skip to content

routing: use distinct probability estimation for local channels #3686

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

Merged
merged 2 commits into from
Nov 8, 2019

Conversation

joostjager
Copy link
Contributor

@joostjager joostjager commented Nov 7, 2019

Previously we used the a priori probability also for our own untried channels. This led to local channels that had seen a success already being prioritized over untried local channels. In some cases, depending
on the configured payment attempt cost, this could lead to the payment taking a two hop route while a direct payment was also possible.

Previously we used the a priori probability also for our own untried
channels. This led to local channels that had seen a success already
being prioritized over untried local channels. In some cases, depending
on the configured payment attempt cost, this could lead to the payment
taking a two hop route while a direct payment was also possible.
@joostjager joostjager self-assigned this Nov 7, 2019
@joostjager joostjager added this to the 0.9.0 milestone Nov 7, 2019
@joostjager joostjager added mission control payments Related to invoices/payments routing labels Nov 7, 2019
@joostjager joostjager requested review from halseth and guggero and removed request for Roasbeef and halseth November 7, 2019 12:11
Copy link
Collaborator

@guggero guggero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 💯
Nice, clean and easy to understand PR, nice work!

Copy link
Contributor

@cfromknecht cfromknecht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall PR looks good, one minor comment

Copy link
Contributor

@cfromknecht cfromknecht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cfromknecht cfromknecht merged commit 92fb5ac into lightningnetwork:master Nov 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mission control payments Related to invoices/payments routing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants