Certificate chain optimization

Abierto
#3,672 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust
Área
backend, database

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Rust
Estrellas
155
Forks
52
Merge medio
2 d 17 h
PR fusionados (30 d)
37

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de IntersectMBO/mithril

Todos los issues de IntersectMBO/mithril

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.