Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

`announcement_signatures` sent before `channel_ready` — possible recurrence

Aperta
#9,552 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
c
Ambito
networking

Direzione di ricerca

Start by reproducing the ordering on regtest with CLN v25.12.1 and LDK Node while mining confirmations rapidly, then compare the CLN log sequence with the BOLT 7 announcement_signatures requirements. Trace the channel-opening readiness and gossip-signature exchange, and verify that channel_ready is sent first and LDK receives the public channel_update without reconnecting.

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

Descrizione

Observed with CLN v25.12.1, commit daa3b06b95deb3aac717bca501e0c19aba9c3858 interacting with LDK Node.

When opening a public channel from LDK Node to CLN on regtest and mining confirmations rapidly, CLN sends announcement_signatures before its own channel_ready. We reproduced this in two independent setups.

Relevant CLN log excerpt, with peer identifiers omitted:

 2026-09-24T10:25:16.465Z ...-connectd: peer_out WIRE_ANNOUNCEMENT_SIGNATURES
 2026-09-24T10:25:16.478Z ...-channeld-chan#1: peer_out WIRE_CHANNEL_READY

LDK rejects the premature signatures with:

Got an announcement_signatures before we were ready for it

The channel becomes usable, but LDK’s public channel_update remains missing. Disconnecting and reconnecting completes the signature exchange and restores that update.

Expected: exchange channel_ready before sending announcement_signatures, as specified by BOLT 7 (https://github.com/lightning/bolts/blob/1aadb719b4007c4cea0ba6e36b08c4fb53788dee/07-routing-gossip.md#the-announcement_signatures-message).

This might be a recurrence of #353, addressed by #352 when the readiness message was named funding_locked. We have not bisected the cause or reproduced it on the latest CLN release.

Lingua principale
C
Stelle
3.1k
Fork
1k
Merge medio
4g 2h
PR unite (30g)
45

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

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 ElementsProject/lightning

Tutte le issue di ElementsProject/lightning

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.