Skip to content

routing: use distinct probability estimation for local channels - #3686

Merged
cfromknecht merged 2 commits into
lightningnetwork:masterfrom
joostjager:local-apriori
Nov 8, 2019
Merged

cfromknecht merged 2 commits into
lightningnetwork:masterfrom
joostjager:local-apriori

Conversation

@joostjager

@joostjager joostjager commented Nov 7, 2019 •

Copy link
Copy Markdown
Contributor

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 guggero and halseth and removed request for Roasbeef and halseth November 7, 2019 12:11

@guggero guggero left a comment

Copy link
Copy Markdown
Collaborator

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!

@cfromknecht cfromknecht left a comment

Copy link
Copy Markdown
Contributor

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

Comment thread routing/probability_estimator.go

@cfromknecht cfromknecht left a comment

Copy link
Copy Markdown
Contributor

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