-
Notifications
You must be signed in to change notification settings - Fork 16
Find path will try other channels considering busyness level #569
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
base: develop
Are you sure you want to change the base?
Conversation
59ff7ea
to
050c7a8
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #569 +/- ##
===========================================
+ Coverage 51.75% 51.82% +0.07%
===========================================
Files 52 52
Lines 34277 34305 +28
===========================================
+ Hits 17739 17778 +39
+ Misses 16538 16527 -11
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
4b4d13c
to
3c4e79a
Compare
3c4e79a
to
8553fdf
Compare
Could you please explain the algorithm to find the route based on busyness level? |
Supposing there are multiple channels between two nodes, use these two functions to track the inflight payment number of a channel(an inflight payment means payment is sent out but haven't received a result). if we have the inflight number for a channel, we can add a penalty when calculating the weight for a channel in path finding: |
3da8ca2
to
8e4b737
Compare
7adaf92
to
8cf88c4
Compare
265e74b
to
efcaff8
Compare
ffeb301
to
43fbff2
Compare
43fbff2
to
444d99d
Compare
b69af61
to
12c428e
Compare
12c428e
to
aa52be3
Compare
0dd0001
to
caeb1e6
Compare
Find path will track how many payments are pending on a channel, then try to pick other channel which is not busy.