Should we expose a way to unilaterally disable channels?

Abierto
#4,454 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
22/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Tranquilo
Stack tecnológico
rust

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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?

Lenguaje dominante
Rust
Estrellas
1.4k
Forks
482
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de lightningdevkit/rust-lightning

Todos los issues de lightningdevkit/rust-lightning

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.