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

Hashes to be stored as integers #3

Open
zethon opened this issue Dec 13, 2020 · 0 comments
Open

Hashes to be stored as integers #3

zethon opened this issue Dec 13, 2020 · 0 comments

Comments

@zethon
Copy link
Owner

zethon commented Dec 13, 2020

Right now hashes are stored as strings and the difficulty is calculated by the number of leading zeros in the hash string. Eventually hashes should be stored as integers and difficulty should be based on "a hash whose integer value is less than difficulty".

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

No branches or pull requests

1 participant