Author

Topic: Vanitygen: Vanity bitcoin address generator/miner [v0.22] - page 149. (Read 1153383 times)

hero member
Activity: 784
Merit: 1009
firstbits:1MinerQ
when using the -P option, vanitygen wants to know the public key in hex format after the -P, and specifying only the bitcoin address is not sufficient.

Is there any way to generate the public key in hex format from the bitcoin address alone?

If not, are other methods (no vanitygen, but similar methods) known that work the same way when only the bitcoin address, but not the hex format public key is known?
I seem to recall on the blockchain.info thread there was discussion of an algorithm he used to find the public key from the address. Has a fancy name but I can't recall that now or else it would be easy to use search. This was some months back I believe.
sr. member
Activity: 278
Merit: 251
Bitcoin-Note-and-Voucher-Printing-Empowerer
I  (still) use ubuntu 8.04 LTS.

Interesting:
With the pre-compiled windows executable and wine 1.0, I get almost twice the performance as with the version that I just built from source (both v0.22):

With wine:
$ wine vanitygen -f patterns.txt -o output.txt -k -t 1    (i.e. 1 core)
--> 103 Kkey/s
$ wine vanitygen -f patterns.txt -o output.txt -k -t 2    (i.e. 2 cores)
--> 187 Kkey/s

Native on Linux:
$ ./vanitygen -f patterns.txt -o output.txt -k -t 1    (i.e. 1 core)
--> 57 Kkey/s
$ ./vanitygen -f patterns.txt -o output.txt -k -t 2    (i.e. 2 cores)
--> 108 Kkey/s
hero member
Activity: 566
Merit: 500
blah! delete the compiled kernels and then I can run it with the -S command... DOH!
hero member
Activity: 651
Merit: 501
My PGP Key: 92C7689C
I can actually find my way around a linux terminal (a tiny bit), so I put Lubuntu on another computer that I'm getting all setup for ASICs, and tried it there. Actually a little MK802, neat little toy! Bit I digress, I've just come to the conclusion that I'm totally F-ing retarded cuz the end result is that I can't get oclvanitygen64 to work in Windows 7x64 on my 7970 (without the -S flag, which I guess changes the kernel compilation parameters).

I need -S to run oclvanitygen (compiled under Gentoo Linux AMD64) on my 7750.  It's not a Windows-vs.-Linux thing; AFAIK it's some slight incompatibility between oclvanitygen and 7-series AMD GPUs that hasn't yet been fixed.
legendary
Activity: 952
Merit: 1000
use "patch < nameofpatchfile"
I'm on Win7. Is there a way for me to still do this?
  • Get Cygwin.
  • Use its installer to install patchutils (listed under "Devel").
  • Open a Cygwin prompt (looks like the usual command prompt, but has a real shell behind it...usually bash).
  • Proceed as you would with a real OS.  Grin
I can actually find my way around a linux terminal (a tiny bit), so I put Lubuntu on another computer that I'm getting all setup for ASICs, and tried it there. Actually a little MK802, neat little toy! Bit I digress, I've just come to the conclusion that I'm totally F-ing retarded cuz the end result is that I can't get oclvanitygen64 to work in Windows 7x64 on my 7970 (without the -S flag, which I guess changes the kernel compilation parameters).
hero member
Activity: 651
Merit: 501
My PGP Key: 92C7689C
use "patch < nameofpatchfile"
I'm on Win7. Is there a way for me to still do this?

  • Get Cygwin.
  • Use its installer to install patchutils (listed under "Devel").
  • Open a Cygwin prompt (looks like the usual command prompt, but has a real shell behind it...usually bash).
  • Proceed as you would with a real OS.  Grin
sr. member
Activity: 278
Merit: 251
Bitcoin-Note-and-Voucher-Printing-Empowerer
when using the -P option, vanitygen wants to know the public key in hex format after the -P, and specifying only the bitcoin address is not sufficient.

Is there any way to generate the public key in hex format from the bitcoin address alone?

If not, are other methods (no vanitygen, but similar methods) known that work the same way when only the bitcoin address, but not the hex format public key is known?

newbie
Activity: 52
Merit: 0
After running for about 15 hours on my GTX 460, it exploded and crashed my display driver with the following message:

Code:
oclvanitygen.exe 1jtibbs
Difficulty: 888446610538
[13.18 Mkey/s][total 670354112512][Prob 53.0%][75% in 11.8h]                   c
lWaitForEvents(NDRange,1): CL_OUT_OF_RESOURCES
vg_ocl_context_callback error: CL_OUT_OF_RESOURCES error waiting for idle on GeF
orce GTX 460 (Device 0).

vg_ocl_context_callback error: CL_OUT_OF_RESOURCES error executing CL_COMMAND_MA
P_BUFFER on GeForce GTX 460 (Device 0).

clEnqueueMapBuffer(4): CL_OUT_OF_RESOURCES
Device: GeForce GTX 460
Vendor: NVIDIA Corporation (10de)
Driver: 306.97
Profile: FULL_PROFILE
Version: OpenCL 1.1 CUDA
Max compute units: 7
Max workgroup size: 1024
Global memory: 1073414144
Max allocation: 268353536
Device: GeForce GTX 460
Vendor: NVIDIA Corporation (10de)
Driver: 306.97
Profile: FULL_PROFILE
Version: OpenCL 1.1 CUDA
Max compute units: 7
Max workgroup size: 1024
Global memory: 1073414144
Max allocation: 268353536
ERROR: Could not map row buffer for slot 1
ERROR: allocation failure?
vg_ocl_context_callback error: CL_OUT_OF_RESOURCES error waiting for idle on GeF
orce GTX 460 (Device 0).

Any thoughts? This was with the most recent version.
hero member
Activity: 742
Merit: 500
Many thanks, kind sir!   Is there a spot where this is all documented?
Most command line applications have a "--help" flag that will show you all the flags with a short description.
sr. member
Activity: 364
Merit: 250
Many thanks, kind sir!   Is there a spot where this is all documented?
legendary
Activity: 916
Merit: 1003

oclvanityminer -u https://vanitypool.appspot.com/ -a 1XXXXXZTzBssUq6bnE27cz4rv5SJ4sr5


oclvanityminer -u https://vanitypool.appspot.com/ -a 1XXXXXZTzBssUq6bnE27cz4rv5SJ4sr5 -d 0

There ya go hun.
sr. member
Activity: 364
Merit: 250
When I run the command line:
oclvanityminer -u https://vanitypool.appspot.com/ -a 1XXXXXZTzBssUq6bnE27cz4rv5SJ4sr5

to generate addresses, it returns a list of my available OpenCL platforms.  It's my Processor and my graphics card.  then it simply stops running.  I am running this in the command line.

"
C:\Program Files\OCLVANITYMINER>oclvanityminer -u https://vanitypool.appspot.com
/ -a 1GdtkZzhZTzBssUq6bnE27cz4rv5SJ4sr5
Available OpenCL platforms:
0: [Advanced Micro Devices, Inc.] AMD Accelerated Parallel Processing
  0: [Advanced Micro Devices, Inc.] Juniper
  1: [AuthenticAMD] AMD Phenom(tm) II X4 925 Processor
"

Is there some documentation I'm missing to make it run? 

many thanks!
sr. member
Activity: 369
Merit: 250
So I wanted a palindrome in my bitcoin address:

Code:
vanitygen64 -r -k (.)(.).\2\1
vanitygen64 -r -k (.)(.)(.).\3\2\1
vanitygen64 -r -k (.)(.)(.)(.).\4\3\2\1
vanitygen64 -r -k (.)(.)(.)(.)(.).\5\4\3\2\1
vanitygen64 -r -k (.)(.)(.)(.)(.)(.).\6\5\4\3\2\1
vanitygen64 -r -k (.)(.)(.)(.)(.)(.)(.).\7\6\5\4\3\2\1

the 5 and 7 character palindrome is trivial, but with four or more backreferences, I get this:

Quote
CRE error: 0



Edited to add:

I went looking for the source to see about debugging the cre / pcre problems (if only be allowing more memory or heap space or whatever... this is a known compile-time difference between real perl and PCRE library)

Code:
vanitygen-master.zip
size: 89731 bytes
CRC32: CC22C3C1
MD5: 7DC5FE247AB21651EF14E5CCD201C125
SHA-1: 202EA5824B33D483F267077FB45159B63737ED8A

^grabbed source from the github, everything seems to be dated october 24th 2012...

1) I'm trying to figure out why there is no vanitygen64.exe make target in the makefile / windows version of makefile, etc.

2) Wondering what the recommended toolchain for building this is... I was planning to just use msys environment / mingw gcc since it's fairly standard

3) Noticed some of the hardcoded paths, specifically C:\OpenSSL-Win32, and was wondering which openssl was used... is official / vanilla / mainstream openssl-1.0.1c really what is being used? I'm having a bit of confusion with this more than anything, because there is no folder in the official / vanilla / mainstream openssl-1.0.1c source tarball named OpenSSL-Win32
legendary
Activity: 1792
Merit: 1008
/dev/null
use "patch < nameofpatchfile"
I'm on Win7. Is there a way for me to still do this?
i dont support Winblow$ unless u pay me Tongue
full member
Activity: 125
Merit: 100
Here http://www.bitbin.it/TCUrsCoR is what mine looks like in its entirety, not sure how close to the current one with vanitygen the base was when I started, my whole vanitygen directory has been rather heavily modified and I haven't had a chance to try and rebase against the current version to get a clean patch.

Also note that changing the .cl file alone will just give what appear to be a bunch of hardware errors when it finds a compressed solution.  For testing purposes on mine I have just disabled the hardware error checking completely (which is a bad idea, I did purposely leave off detailed instructions on doing it because if you can't figure out how you probably shouldn't be playing with it), but basically it involves replacing the memcmp after the "/* Make sure the GPU produced the expected hash */" comment with a memcpy and adjusting the logic in oclvanitygen.c and recompiling (unless there's some switch to disable it now, again this is based off an older version).
legendary
Activity: 916
Merit: 1003
It's few enough lines changed that you could just hand edit to add the changes.
legendary
Activity: 952
Merit: 1000
legendary
Activity: 916
Merit: 1003
use "patch < nameofpatchfile"
I'm on Win7. Is there a way for me to still do this?

Have you tried this?
legendary
Activity: 952
Merit: 1000
use "patch < nameofpatchfile"
I'm on Win7. Is there a way for me to still do this?
legendary
Activity: 1792
Merit: 1008
/dev/null
Jump to: