Uh oh!
There was an error while loading. Please reload this page.
Introduce &RoutingFees to channel_penalty_msat - #2510
Conversation
This can be used to introduce costumzied filters based on fees
| } else { | ||
| let curr_hop_path_idx = path.hops.len() - 1 - idx; | ||
| scorer.channel_penalty_msat(hop.short_channel_id, &NodeId::from_pubkey(&path.hops[curr_hop_path_idx - 1].pubkey), &NodeId::from_pubkey(&hop.pubkey), usage, &()); | ||
| scorer.channel_penalty_msat(hop.short_channel_id, &NodeId::from_pubkey(&path.hops[curr_hop_path_idx - 1].pubkey), &NodeId::from_pubkey(&hop.pubkey), usage, &(), &RoutingFees { base_msat: 0, proportional_millionths: 0 }); |
There was a problem hiding this comment.
not sure about this one..
how to get base_mast and proportional_millionths from RouteHop tho?
codecov-commenter
commented
Aug 21, 2023
Codecov ReportPatch coverage:
❗ 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. Additional details and impacted files@@ Coverage Diff @@## main #2510 +/- ##
==========================================
- Coverage 90.40% 90.38% -0.02%
==========================================
Files 106 106 Lines 56268 56274 +6 Branches 56268 56274 +6 ==========================================
- Hits 50868 50865 -3 - Misses 5400 5409 +9
☔ View full report in Codecov by Sentry. |
TheBlueMatt
commented
Aug 23, 2023
Sorry, a bunch of conversation on #2509 (comment) - do you want to give exposing the full |
jbesraa
commented
Aug 27, 2023
@TheBlueMatt added some comments in the issue |
resolves#2509