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

Proof of work plugin #12

Merged
merged 8 commits into from
Jun 3, 2024
Merged

Proof of work plugin #12

merged 8 commits into from
Jun 3, 2024

Conversation

WizardOfMenlo
Copy link
Contributor

@WizardOfMenlo WizardOfMenlo commented May 27, 2024

This PR addsnimue::plugins::pow for challenges that are generated via a proof of work. The proof of work is generated using Keccak, with a 8-byte nonce. The challenge is set to be 16-bytes.

@WizardOfMenlo WizardOfMenlo marked this pull request as ready for review May 31, 2024 14:25
@mmaker mmaker changed the title Add trait for proof-of-work Proof of work plugin Jun 2, 2024
@mmaker
Copy link
Member

mmaker commented Jun 2, 2024

Pimped up your plugin, can you please have a look and let me know if it's okay? Especially the condition for exiting the PoW loop.

@mmaker mmaker merged commit c958ac4 into arkworks-rs:main Jun 3, 2024
3 checks passed
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