samr7 / vanitygen

GNU Affero General Public License v3.0
1.23k stars 632 forks source link

How do I increase the speed? #98

Open thiago17 opened 7 years ago

thiago17 commented 7 years ago

Hello, nice project! I made some addresses and it helped me with the identification of certain wallets. However, the max I could achieve was a 5 customizable digits addresses, which takes 2hours to reach 50% at 1.5Mkey/s. The question is: what determines this speedrate? How may I turn it faster? Is it only related to CPU? Is there a way to send some calculus to GPU and speed up the process? Thanks in advance.

pootsniff commented 7 years ago

Use oclvanitygen to pipe it thru the GPU instead of CPU for a magnitude increase in speed.

thiago17 commented 7 years ago

Thanks, and how do I do that?

pootsniff commented 7 years ago

compile and run oclvanitygen instead of vanitygen

ex: ./oclvanitygen -q -D 0:0 -o myaddress.txt -1 1VanityAddress

thiago17 commented 7 years ago

sudo make all cc -ggdb -O3 -Wall -c -o oclengine.o oclengine.c oclengine.c:37:19: fatal error: CL/cl.h: No such file or directory compilation terminated.

: recipe for target 'oclengine.o' failed make: *** [oclengine.o] Error 1 Do you have any idea to solve this? Thanks.
pootsniff commented 7 years ago

you're missing libraries (PCRE)

sudo apt-get install libpcre3-dev

thiago17 commented 7 years ago

sudo apt-get install libpcre3-dev Reading package lists... Done Building dependency tree
Reading state information... Done libpcre3-dev is already the newest version (2:8.38-3.1). 0 upgraded, 0 newly installed, 0 to remove and 126 not upgraded.

Very weird, looks that I already have this library installed.

pootsniff commented 7 years ago

Is OpenCL installed drivers for your vid card?

try sudo apt-get install opencl-headers

suhailvs commented 7 years ago

https://soslug.org/vanity-bitcoin-address-generator/ says you need graphics card that support Open Cl

logaro commented 6 years ago

Is it possible to use antminer to make this process faster?

natedawg469 commented 6 years ago

Hello,

No it is not possible to use an Application Specific Integrated Circuit/Chip for bruteforcing. Its not designed to do that.