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

oclvanitygen freezing after approx 5 - 10 mins. #46

Open
twonkos opened this issue Oct 10, 2022 · 4 comments
Open

oclvanitygen freezing after approx 5 - 10 mins. #46

twonkos opened this issue Oct 10, 2022 · 4 comments

Comments

@twonkos
Copy link

twonkos commented Oct 10, 2022

While trying to generate an ETH contract address it seems like the application is freezing after about 5 - 10 mins

  • logs stop refreshing
  • GPU continues running on full power
  • Tested if its just a logging issue by adding "-o result.txt" as param and letting it run for hours (where it should statistically find a solution with very high confidence / 30 min for 50% / having it run for +10 hrs) but it seems that it is really freezing because result.txt was empty
  • if the "challenge" is small everything works perfectly, e.g. contracts like 0xffffff.

I've tested the latest build, compiled with no errors, as well as the windows version (from the guy who ported it to vs19)

@earthchie
Copy link

+1 confirm this issue too.

@lacksfish
Copy link

lacksfish commented May 26, 2023

@echo off
Set COUNTER=0
:loop
start "OCL_Vanitygen" "C:\path_to_vanitygen\oclvanitygen.exe" -k -o results%COUNTER%.txt -f patterns.txt -v
timeout /t 420

taskkill /f /im "oclvanitygen.exe"

timeout /t 7
set /A COUNTER=COUNTER+1
goto loop

This restarts the tool every 7 minutes. I chose a counter because I'm not sure if the previous results would get overwritten otherwise. Might not be needed.

@errantelectron
Copy link

errantelectron commented May 31, 2023

Unfortunately this doesn't seem to be a viable workaround, and I suspect it may be the very process of finding and recording a match which is failing and causing the freezes.

I have tried both the above script in Powershell and an adapted version for Git bash, both of which do not generate any results file, even when running for periods of time that probably should have found many matches.

Running oclvanitygen directly without the file output flag, the program either eventually freezes or eventually passes 100% match probability without delivering any result (from that point the probability calculation disappears from the console output while the number of keys tried continues increasing). I have tried logging both output and errors to text files and no keys are returned, neither is any error information.

@earthchie
Copy link

@echo off
Set COUNTER=0
:loop
start "OCL_Vanitygen" "C:\path_to_vanitygen\oclvanitygen.exe" -k -o results%COUNTER%.txt -f patterns.txt -v
timeout /t 420

taskkill /f /im "oclvanitygen.exe"

timeout /t 7
set /A COUNTER=COUNTER+1
goto loop

This restarts the tool every 7 minutes. I chose a counter because I'm not sure if the previous results would get overwritten otherwise. Might not be needed.

I just came back to check on this issue and found a nice workaround.

Tested, and it works!

Additionally, you don't need to use the counter since the result will be appended to the existing file.

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

4 participants