Should we expose a way to unilaterally disable channels?

Aberta
#4,454 2 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
22/100
Tipo de issue
Funcionalidade
Clareza
Precisa de esclarecimento
Status de atividade
Pouca atividade
Stack de tecnologia
rust

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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?

Linguagem predominante
Rust
Estrelas
1.4k
Forks
482
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de lightningdevkit/rust-lightning

Todas as issues de lightningdevkit/rust-lightning

Issues semelhantes

Mais issues de Rust

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.