fetch beacon entries from gossipsub

未关闭
#7,414 2 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@EclesioMeloJunior 已经在做这个了。

开始于 2026年8月7日。

评估

这个 Issue 还没有评估数据。

描述

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

主要语言
Rust
星标
700
派生
201
平均合并
1 天 17 小时
30 天内合并 PR
65

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ChainSafe/forest 的其他 Issue

查看 ChainSafe/forest 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。