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

feat(hardano): implement immutable db chunk parsing #328

Merged
merged 8 commits into from
Dec 10, 2023

Conversation

scarmuega
Copy link
Member

@scarmuega scarmuega commented Nov 11, 2023

The immutable db (confirmed blocks) of the Haskell node is based on a custom file format that relies on storing blocks as cbor in a sequential file, while keeping some extra indexes in separate files.

This PR introduces a naive approach for streaming blocks from these files.

Why do we need it in Pallas?
Because it's the format used in Mithril snapshots ;)

PS: Hardano is a temporal name we'll be using to refer to the Haskell implementation of the Cardano node until a better name appears.

@scarmuega scarmuega marked this pull request as ready for review November 11, 2023 19:11
@scarmuega scarmuega merged commit fa913e4 into main Dec 10, 2023
5 checks passed
@scarmuega scarmuega deleted the feat/immutable-db-parsing branch December 10, 2023 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant