Better parallelize MPP claims

Aberta
#3,986 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

  • #4552 de @Abeeujah — fechado sem integrar

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
32/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
rust

Direção de pesquisa

The issue describes in-order MPP HTLC claims on the same channel waiting on peer RAA+CS before later parts. Start from linked pull request 4552 (closed, unmerged) for prior approach and the current claim path for multi-part payments. Done when remaining parts on one channel can be claimed together without waiting on each monitor update, with lower claim latency. This needs Lightning protocol familiarity and is not scoped to named files.

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

Descrição

Currently if we have an MPP claim from multiple parts on the same channel, we'll walk the HTLCs and claim them totally in-order. This means we'll claim the first part from the first channel then have to wait until the peer responds with their RAA + CS until we can claim the next (or all remaining, hopefully) parts. It would be nice to claim them all in one go, which would reduce total claim latency and time spent waiting on monitor updates.

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.