Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On-disk storage of (immutable) certificates #8

Open
amesgen opened this issue Jan 16, 2025 · 0 comments
Open

On-disk storage of (immutable) certificates #8

amesgen opened this issue Jan 16, 2025 · 0 comments
Labels
chaindb Related to the ChainDB

Comments

@amesgen
Copy link
Member

amesgen commented Jan 16, 2025

We need to store certificates boosting immutable blocks indefinitely in order to serve them to syncing peers.

The goal of this ticket is to design the corresponding storage component. This component must efficiently support the operations required by the mechanism we use to diffuse certificates to syncing peers (see #3).

Important to keep in mind: It can be the case that a block is boosted by multiple certificates.


Two ideas:

  • A new, independent component of the ChainDB. Implementation could be backed by something similar to the existing ImmutableDB, or potentially by the lsm-tree lbrary.
  • We could enrich the ImmutableDB to store certificates next to their corresponding blocks. One neat thing about this approach is that certain certificates (before cooldown periods) will be stored in block bodies either way.
@amesgen amesgen added the chaindb Related to the ChainDB label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chaindb Related to the ChainDB
Projects
None yet
Development

No branches or pull requests

1 participant