-
Notifications
You must be signed in to change notification settings - Fork 31
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
another issue not finding genesis block #5
Comments
I do not think there is an issue here. You're just being unlucky and it just takes time to find a valid hash with the parameters. I was able to get one valid hash with your parameters and it took 30-45 min on my end unfortunately:
It went from timestamp 1714777860 to 1714777866 which means it computed like 30 trillions signatures (~60 trillions sha256 unless I'm wrong) to get there. Please remember this piece of code is written in golang which is definitely not the best language for this kind of stuff as I'm 100% sure our modern CPUs could handle a lot more hashes/sec and have faster results. However, it's been a while I did not profile golang compiled stuff but I might give a look to find out if there is no quick win scenario to have faster results. I've already added configurable workers/GOMAXPROCS flags to customize cpu usage but golang seems to limit cpu usage to 85% here (50% prior modification) |
Aha, fair enough! |
Running latest version of master, this took 4 minutes on my machine:
This command found a solution in a couple minutes:
But this one ran for over half an hour without finding anything and exhausting the nonce space:
The text was updated successfully, but these errors were encountered: