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

refactor calculate_hashes #45

Merged

Conversation

Davidson-Souza
Copy link
Collaborator

calculate_hashes is used to verify proofs and update the Stump, and it's overly complex with a if/else hell. This commit refactors it using a rustier style and much easier to read. No big performance change in my tests.

@Davidson-Souza Davidson-Souza force-pushed the refactor/calculate-hashes branch from ddf5a93 to 6617e6f Compare March 26, 2024 15:24
@Davidson-Souza Davidson-Souza force-pushed the refactor/calculate-hashes branch from 6617e6f to 4ebf95f Compare March 26, 2024 15:39
@Davidson-Souza Davidson-Souza merged commit 1a5fffe into mit-dci:main Mar 27, 2024
20 checks passed
Davidson-Souza added a commit to Davidson-Souza/rustreexo that referenced this pull request Jun 8, 2024
We had some bugs that would only appear on testnet.
This commit fixes them
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