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

ethhash WIP #807

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft

ethhash WIP #807

wants to merge 12 commits into from

Conversation

rkuris
Copy link
Collaborator

@rkuris rkuris commented Feb 26, 2025

hashednode should really be split into two files so that we aren't doing so many #[cfg(...)] checks inline, but this is a good starting point for adding some tests.

rkuris and others added 12 commits February 26, 2025 13:59
hashednode should really be split into two files so that we aren't doing
so many #[cfg(...)] checks inline, but this is a good starting point for
adding some tests.
Create a hashers module so that we can split out the code needed by
merkledb from the new ethhash option.
Don't recreate the iterator each time, instead consume it using a for
loop.
Added new HashType type alias to decide which compatibilty we need

Tests pass, needs cleanup. Lots of print lines to remove. Doesn't compile without ethhash.

Co-authored-by: Darioush Jalali <[email protected]>
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.

2 participants