fetch beacon entries from gossipsub

Aperta
#7,414 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@EclesioMeloJunior ci sta già lavorando.

Dal 7/8/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Type: Task

Summary

See spike at https://github.com/ChainSafe/forest/issues/7364

Right now, when we need beacon entries, we query the https relay; we could avoid our reliance on that by using the dedicated gossipsub topic and feeding it into a cache.

We might also that would somehow resubscribe to the topic in case we don't get queries for longer period.

Completion Criteria

  • Forest should start w/o reaching Drand HTTP
  • Feed beacon entries from gossipsub to the drand cache.
  • Test that it works correctly, e.g., drop drand https relays and ensure recent queries to MinerGetBaseInfo work fine without it.
  • Watchdog - if we don't get updates, we must resubscribe (workaround)
  • Metrics around the new drand entries cache
  • Metrics around the HTTP drand usage

Additional Links & Resources

Lingua principale
Rust
Stelle
700
Fork
201
Merge medio
1g 17h
PR unite (30g)
65

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 ChainSafe/forest

Tutte le issue di ChainSafe/forest

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.