Add helper for circular rebalancing

Offen
#3,791 13 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

@Ferryx349 arbeitet bereits daran.

Seit 10.5.2026.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
45/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Ruhig
Tech-Stack
rust

Rechercherichtung

Start by reading the existing payment-probing helper and the LDK APIs for selecting channels, crafting a path, and sending a spontaneous payment. Define a convenient circular-rebalancing helper using those capabilities; done means callers can use it to select send/receive channels, construct the path, and send the payment.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

good first issue Take a Friday Leave a Friday

We had users interested in circular rebalancing. Of course, selecting two channels (send/receive over) to use, crafting an appropriate path and sending a spontaneous payment should be rather trivial to achieve with LDK's current API, but it would still be nice to have a convenient helper method for it, similar as we do for payment probing.

Vorherrschende Sprache
Rust
Sterne
1.4k
Forks
482
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus lightningdevkit/rust-lightning

Alle Issues in lightningdevkit/rust-lightning

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.