Certificate chain optimization

オープン
#3,672 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust
領域
backend, database

調査の方向性

The issue names no files, so start from the existing epoch-based retention for stake pools, epoch settings and signer registrations, and look for how the aggregator's certificate table is read and written. Decide which signed entity types are protected, such as Cardano stake distributions, and which can be pruned after N epochs. Done means eligible certificates are removed after a configurable N, protected ones remain, and tests cover both cases.

索引モデルが issue の本文から書いたものです。

説明

roadmap :compass:

Why

The Mithril certificate chain grows without bound. Every epoch produces multiple certificates ( one per signed entity type) and none are ever removed. On the aggregator side, no pruning mechanism exists for certificates, unlike stake pools, epoch settings, and signer registrations which all have epoch-based retention policies.
This means the certificate table grows permanently, increasing storage requirements and query latency over time.

Not all certificates have the same retention requirements. Some must be kept indefinitely. For example, Cardano stake distribution certificates are referenced by other systems and cannot be discarded. Others, such as Cardano database snapshot certificates or Cardano transaction certificates, are only relevant for a limited time window and can be safely removed after a configurable number of epochs.

The goal of this MVP is to deliver production-ready certificate chain pruning on the aggregator: certificates for eligible signed entity types are automatically removed after N epochs (where N is configurable), while certificates for protected entity types such as Cardano stake distributions are retained indefinitely. This bounds the aggregator's storage growth and reduces query latency.

主要言語
Rust
スター
155
フォーク
52
平均マージ
2日 17時間
マージ済み PR(30日)
37

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

IntersectMBO/mithril のほかの issue

IntersectMBO/mithril の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。