Be willing to pick smaller paths at the end of pathfinding if there's not much left to find
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 32/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- rust
- Bereich
- blockchain, payments
Rechercherichtung
The issue is about MPP path selection: when leftover to send is below amount/max_path_count, still accept a smaller finishing path instead of stalling. Search the pathfinding code for max_path_count and the per-path minimum, then relax that check for the remaining amount. No files or tests are named in the issue; locate those entry points in the Lightning pathfinder and add or extend coverage for the 2.6M-available / 2.5M-send example. Done when such a send completes instead of refusing the last hop.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
If we have only marginally more available to send than we're trying to send, and pick a few MPP paths which total just less than we're trying to send, we might find ourselves stuck as we won't be willing to pick a small path to finish out the rest if what we need is < 1/max_path_count (default 10).
eg if we have 2.6M sats available to send, and are trying to send 2.5, if we get unlucky and the paths we pick total to 2.4, we will refuse to pick another path because our first hop channel doesn't have enough to meet our path minimum (2.5M/10 = 250k) but we should really be willing to relax that minimum because we only need another 100k sats left.
- Vorherrschende Sprache
- Rust
- Sterne
- 1.4k
- Forks
- 482
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus lightningdevkit/rust-lightning
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 83/100
lightningdevkit/rust-lightning#4767 ·
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 65/100
lightningdevkit/rust-lightning#1849 ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 22/100
lightningdevkit/rust-lightning#4764 · 3 Kommentare ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 22/100
lightningdevkit/rust-lightning#4757 · 1 Kommentar ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 28/100
lightningdevkit/rust-lightning#4739 ·
Alle Issues in lightningdevkit/rust-lightning
Ähnliche Issues
-
bug help wanted ui
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
userFRM/egui-charts#4292 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 83/100
Tripstack-Corp/spyc#1352 ·
Maintainer antworten meist innerhalb von 1 Tag
-
marketing
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Maintainer antworten meist innerhalb von 1 Tag
-
area:tui enhancement P2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
agent-of-empires/agent-of-empires#6077 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag