Feature Request: Investigate Use of Existing Impl Pathfinding
@f3r10 ci sta già lavorando.
Dal 25/6/2025.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Describe desired feature
When running with a fully simulated network, it would be amazing of SimLN could use the same pathfinding as LND/CLN/Eclair. LND would be the highest priority, because it's the majority of the network.
Possible Approaches
Extern C
- Create C libraries that implement each pathfinding algorithm
- CLN: easy, compile library in C
- LND: use
c-sharedto build C shared library - Eclair: not possible, so far as I know
- Use extern to call C code for each pathfinding
This would require some (likely painful) investigation to figure out if the c-shared approach would work for LND. There are all sorts of caveats about C-compatible types that I haven't looked into.
IPC
- Create "stub" servers that call directly to the implementations routing code:
- Listen on socket, accepting parameters expressed in json
- Run pathfinding
- Return result
- SimLN then spins up each of these small servers using Command
- Implement the
Pathfindertrait in #273 which is responsible for shooting the request into the socket
Notes:
- I don't have strong opinions on how to handle IPC (never done this myself)
- We could also define a common RPC for these mini-servers, but that's a lot of boilerplate
- Main priority is that this should be ✨ seamless ✨ for the end user, SimLN should handle all the ugly stuff.
Use case for feature
A common use case for SimLN's random payment generation is to create "background noise" payments in a network, and then take and measure some action within that busy network.
Would you like to contribute code for this feature?
I don't have capacity to take this on right now, but would be happy to participate in design discussions and review.
- Lingua principale
- Rust
- Stelle
- 80
- Fork
- 44
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di bitcoin-dev-project/sim-ln
-
feature
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
bitcoin-dev-project/sim-ln#299 ·
-
feature
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
bitcoin-dev-project/sim-ln#293 · 3 commenti ·
-
simln-lib: handle graceful shutdown during htlc interceptionForse di nuovo libera @mubarak23 l’ha presa 522 giorni fa e non c’è nessuna pull request aperta. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
bitcoin-dev-project/sim-ln#272 · 3 commenti ·
-
Feature Request: Scripts to Convert Impl Graphs to Sim FilesForse di nuovo libera @Godwin-88 l’ha presa 204 giorni fa e non c’è nessuna pull request aperta. Apertafeature good first issue
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
bitcoin-dev-project/sim-ln#266 · 1 commento ·
-
Feature Request: Introduce Custom Pathfinding in SimNodeForse di nuovo libera @sangbida l’ha presa 575 giorni fa e non c’è nessuna pull request aperta. Apertafeature
bitcoin-dev-project/sim-ln#256 · 11 commenti · 1 assegnatario ·
Tutte le issue di bitcoin-dev-project/sim-ln
Issue simili
-
triage: failed
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
oxc-project/tsrs#1277 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
autofixer: follow-up triage: bug triage: classified triage: correctness triage: has-reproducer
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
tursodatabase/turso#13221 ·
I maintainer di solito rispondono entro 1 giorno
-
Update Wasmtime to 48.0.11 for RUSTSEC-2026-0648Forse già presa @flyingrobots l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
flyingrobots/edict#457 ·