lambdaclass / lambdaclass/ethlambda
Cache fork-choice weights in `LiveChain`
オープン
まだ誰も着手していません。
- #235 @pablodeymo による — マージされずにクローズ
- 主要言語
- Rust
- スター
- 82
- フォーク
- 28
- 平均マージ
- 1日 20時間
- マージ済み PR(30日)
- 20
説明
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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず LiveChain の実装とその head 更新経路を特定し、続いて参照されている Lighthouse proto-array と Prysm doubly-linked-tree の設計を確認します。LiveChain に計算済みの fork-choice weights が永続化され、新しい attestations が到着したときにのみ更新されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- rust
- 領域
- blockchain
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 30/100