-
Notifications
You must be signed in to change notification settings - Fork 402
Fix and test in-flight HTLC scoring in between retries #2020
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
Fix and test in-flight HTLC scoring in between retries #2020
Conversation
ec20301
to
70f2873
Compare
Codecov ReportBase: 87.33% // Head: 87.31% // Decreases project coverage by
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more Additional details and impacted files@@ Coverage Diff @@
## main #2020 +/- ##
==========================================
- Coverage 87.33% 87.31% -0.03%
==========================================
Files 100 100
Lines 44160 44168 +8
Branches 44160 44168 +8
==========================================
- Hits 38568 38566 -2
- Misses 5592 5602 +10
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Ah the ancient proverbs strike agian. Needs rebase already lol. Basically LGTM tho, but no-std is sad. |
0db65a2
to
6ddf6ba
Compare
Tacked on a small commit to remove unnecessary (as of #1996) |
Needs rebase :( |
406b908
to
61ec630
Compare
Rebased |
61ec630
to
3ddb8ff
Compare
This allows us set scoring expectations and ensure in-flight htlcs are factored into scoring
3ddb8ff
to
2b2965f
Compare
Note that this only actually tests the |
CI failure is #2032, will need to kick it after other jobs complete, nbd. |
Turns out that untested code really is broken code.
I think we don't need to do something similar for the
first_hops
because retries know what scids failed previously. That doesn't cover all cases, but on the other hand it saves a vec allocation to not recompute first hops and should be rare, so I think it's good enough(?).Partially addresses #1932.