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

Cascading Merkle Tree #70

Merged
merged 75 commits into from
Apr 12, 2024
Merged

Cascading Merkle Tree #70

merged 75 commits into from
Apr 12, 2024

Conversation

0xForerunner
Copy link
Contributor

Opening this up as a draft! I think this is pretty close to where I would like it to be. Please let me know if you guys have any suggestions here!

depth: usize,
root: H::Hash,
empty_value: H::Hash,
sparse_column: Vec<H::Hash>,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we add a little comment here explaining what this field is? As I understand these are the values of empty subtrees by depth

@Dzejkop Dzejkop marked this pull request as ready for review April 12, 2024 12:23
@Dzejkop Dzejkop merged commit 8d236f3 into main Apr 12, 2024
2 checks passed
@Dzejkop Dzejkop deleted the ewoolsey/dynamic-tree branch April 12, 2024 12:23
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.

3 participants