Repository navigation
Use balance estimates from past payments in path-finding - #2308
Merged
Merged
Conversation
thomash-acinq
force-pushed
the
balance-estimate
branch
from
June 9, 2022 15:03
ae2cc36 to
4e724ec
Compare
thomash-acinq
force-pushed
the
balance-estimate
branch
from
June 20, 2022 12:41
4e724ec to
abb263e
Compare
thomash-acinq
force-pushed
the
balance-estimate
branch
from
August 21, 2023 11:46
abb263e to
a834222
Compare
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. @@ Coverage Diff @@
## master #2308 +/- ##
==========================================
- Coverage 85.87% 85.83% -0.05%
==========================================
Files 215 215
Lines 17823 17826 +3
Branches 761 759 -2
==========================================
- Hits 15306 15301 -5
- Misses 2517 2525 +8
|
thomash-acinq
force-pushed
the
balance-estimate
branch
from
November 3, 2023 13:51
a834222 to
a873191
Compare
thomash-acinq
force-pushed
the
balance-estimate
branch
from
November 14, 2023 16:10
a873191 to
62dc746
Compare
thomash-acinq
force-pushed
the
balance-estimate
branch
from
November 12, 2024 14:15
62dc746 to
9fe0f9e
Compare
thomash-acinq
force-pushed
the
balance-estimate
branch
3 times, most recently
from
June 30, 2025 09:00
42b1635 to
bc9253d
Compare
thomash-acinq
force-pushed
the
balance-estimate
branch
from
September 5, 2025 13:00
bc9253d to
e109916
Compare
thomash-acinq
marked this pull request as ready for review
September 8, 2025 09:41
t-bast
reviewed
Sep 8, 2025
thomash-acinq
force-pushed
the
balance-estimate
branch
from
September 8, 2025 15:26
e109916 to
587736d
Compare
t-bast
reviewed
Sep 8, 2025
Co-authored-by: Bastien Teinturier <31281497+t-bast@users.noreply.github.com>
t-bast
approved these changes
Sep 8, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We estimate the probability that a given route can relay a given payment as part of route selection.
Until now this estimate was naively assuming the channel balances to be uniformly distributed.
We will now use data from past payment attempts (both successes and failures) to provide a better estimate, hopefully improving route selection.