Should we expose a way to unilaterally disable channels?

Aperta
#4,454 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
22/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
rust

Direzione di ricerca

This is an open design question, not a specified change: whether to document that rejecting HTLCs on announced channels is discouraged, and whether to expose a way to unilaterally disable one side of an announced channel. Start from the issue thread and Lightning channel-update / disable semantics; there are no files or tests named. Done is a maintainer decision plus either a docs clarification or a scoped API if they agree to build it.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Now with HTLC interception users could announce a channel to then reject every / most HTLC based on some metric. This would be a huge disservice to the network, i.e., to everybody who tries to route through them.

We should strongly clarify in the docs that this is discouraged and that rejecting HTLCs over announced channels is really contradictory - if you announce a channel it holds the semantics of "will be 24/7 online for routing payments".

Apart from that, I do wonder if we should allow users to unilaterally disable their side of an announced channel to signal that no HTLCs will be routed in a direction?

Lingua principale
Rust
Stelle
1.4k
Fork
482
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di lightningdevkit/rust-lightning

Tutte le issue di lightningdevkit/rust-lightning

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.