Cache fork-choice weights in `LiveChain`
维护者通常 1 天内回复
还没有人认领这个 Issue。
- #235 来自 @pablodeymo —— 已关闭,未合并
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 30/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- rust
- 领域
- blockchain
调研方向
首先定位 LiveChain 的实现及其 head 更新路径,然后查看所引用的 Lighthouse proto-array 和 Prysm doubly-linked-tree 设计。当计算出的 fork-choice 权重持久化到 LiveChain 中,并且仅在新的 attestations 到达时更新时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
We currently discard computed weights after each head update. We should instead cache them in our LiveChain and update it only with new attestations.
For reference, Lighthouse uses a "proto-array" implementation: https://github.com/sigp/lighthouse/tree/stable/consensus/proto_array/src
while Prysm uses a doubly-linked tree: https://github.com/OffchainLabs/prysm/tree/develop/beacon-chain/forkchoice/doubly-linked-tree
- 主要语言
- Rust
- 星标
- 82
- 派生
- 29
- 平均合并
- 2 天 22 小时
- 30 天内合并 PR
- 14
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
lambdaclass/ethlambda 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
lambdaclass/ethlambda#529 · 4 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
lambdaclass/ethlambda#521 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
lambdaclass/ethlambda#609 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 48/100
lambdaclass/ethlambda#602 ·
维护者通常 1 天内回复
-
performance
难度 4/5 3-5 天 新手友好度 55/100
lambdaclass/ethlambda#599 · 3 条评论 ·
维护者通常 1 天内回复
查看 lambdaclass/ethlambda 的全部 Issue
相似的 Issue
-
security-scan
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
content good first issue
难度 2/5 1 小时以内 新手友好度 68/100
StudentSuite/awesome-skills-plugins-for-students#293 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
gfx-rs/wgpu-native#636 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复