Skip to content

Define the retention rules of the certificates in the aggregator #3727

Backlog

Description

@jpraynaud

Why

The certificate chain of the aggregator grows forever, but not all certificates can be removed safely because the chain, the artifacts, the followers and the clients rely on some of them.

What

A validated set of rules that tells which certificates can be pruned after a number of epochs, and which ones must be kept forever, with their impacts on the rest of the system.

How

  • List the certificates that must always be kept (genesis certificates, master certificates of each epoch, protected signed entity types such as the Mithril and Cardano stake distributions)
  • Define how a stale certificate chain is pruned (one that exists before a genesis certificate)
  • Define how the retention is expressed (number of epochs, per signed entity type or global)
  • Are the rules for all networks or specific to each network?
  • Assess the impacts of the pruning on:
    • The verification of the certificate chain by the clients
    • The synchronization of the certificate chain by the follower aggregators
    • The signed entities and artifacts linked to a pruned certificate
    • The aggregator routes that serve certificates and artifacts
  • Document the rules in an ADR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    spike 📡

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions