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

Store Block Range Merkle roots in signer and aggregator databases #1633

Closed
2 tasks done
Tracked by #1457
jpraynaud opened this issue Apr 11, 2024 · 0 comments · Fixed by #1650
Closed
2 tasks done
Tracked by #1457

Store Block Range Merkle roots in signer and aggregator databases #1633

jpraynaud opened this issue Apr 11, 2024 · 0 comments · Fixed by #1650
Assignees
Labels
feature 🚀 New implemented feature

Comments

@jpraynaud
Copy link
Member

jpraynaud commented Apr 11, 2024

Why

In order to provide faster signature and proof generation of the Cardano transactions, we need to store and use Block range Merkle trees roots in the databases of the signer and aggregator.

What

As soon as transactions of a block range are committed to the store, the corresponding block range root needs to be computed and stored in a new table of the store.

How

  • Add a new block_range_root table to the cardano_transactions database to store the new data.
  • Add to TransactionImporter trait implementations the capacity to computing/storing block range roots.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 🚀 New implemented feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants