Be willing to pick smaller paths at the end of pathfinding if there's not much left to find
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 32/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- rust
- Área
- blockchain, payments
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Rust
- Estrellas
- 1.4k
- Forks
- 482
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de lightningdevkit/rust-lightning
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
lightningdevkit/rust-lightning#4767 ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 65/100
lightningdevkit/rust-lightning#1849 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 22/100
lightningdevkit/rust-lightning#4764 · 3 comentarios ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 22/100
lightningdevkit/rust-lightning#4757 · 1 comentario ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 28/100
lightningdevkit/rust-lightning#4739 ·
Todos los issues de lightningdevkit/rust-lightning
Issues similares
-
bug help wanted ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
userFRM/egui-charts#4292 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Tripstack-Corp/spyc#1352 ·
Los mantenedores suelen responder en 1 día
-
marketing
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
area:tui enhancement P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
agent-of-empires/agent-of-empires#6077 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día