Author

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

full member
Activity: 140
Merit: 430
Firstbits: 1samr7
It's been a while since vanitygen has been updated.  I went through the earlier posts on this thread, and have tried to summarize the most common issues and feature requests:

  • Split key address generation, ability to use with a bounty pool.
    Support for additive public keys has been implemented, which will be specified via a new command line argument.  Also present is a new miner program that works with ThePiachu's vanity pool.  This feature is available in the current github trunk, and will be in the next release.
    Thanks go to BurtW and others who made concise posts on this topic.
  • Ability to generate P2SH (type-3) addresses
    Luke-jr contributed a patch to generate private keys that, when added to a single address multi-signature script, hash to a desired type-3 vanity address.  This is a very convenient way of doing it, because it works with the addmultisigaddress command in the unmodified Satoshi client.  This feature will be in the next release.
    As several folks have pointed out, by placing a nonce of some sort into the script, it is possible to generate type-3 addresses much more efficiently and without any elliptic curve operations.  However, getting a specific bitcoin client to support this is the main obstacle.
  • Ability to generate compressed public keys
    Currently reading about this issue.
  • How do I get oclvanitygen to use all of my GPUs?
    Support for using multiple GPUs from the same instance will not be very difficult to do, and is planned for a future release.
  • Help, oclvanitygen doesn't work with Catalyst prior to 11.11
    This needs to go in the FAQ.  I believe this is the issue that Rassah reported a while back.  I added some OpenCL diagnostics, and Rassah sent me some traces, but I couldn't come up with a good explanation of what was going on, and would have had to ask for a lot of experimentation.  Since folks who have reported issues similar to Rassah's have also reported success with Catalyst 11.11, fully understanding and possibly fixing this isn't high priority.
  • This program doesn't have a GUI / when I double-click on vanitygen, a window pops up and immediately disappears.
    Under consideration for the future, seeking ideas/code.
    The FAQ could certainly do a better job of explaining how to launch vanitygen.  Deepceleron, I really liked your earlier post, it has instructions that are very clear and concise.  If it's okay with you, I'd like to merge that into the FAQ.
  • oclvanitygen runs really slow with the -r flag
    Currently oclvanitygen lets you search for regular expressions, but the regex matching is performed on the CPU.  There's no easy or gainful way to do regex matching on the GPU.  Having oclvanitygen accept regexes currently causes more confusion than it's worth, and it needs to be removed.  Don't expect it to be present in the next release.
  • Ability to specify case-sensitive and case-insensitive prefixes at the same time
    This could be handled by supporting multiple -f options, with the case-sensitive file first, then -i, then the case-insensitive file.  Sound OK?
  • The link to the file is broken
    Sendspace is not the best place to host this stuff.  Seeking alternatives.  It might also be desirable to sign future releases with a bitcoin address signature instead of GPG, but I'm not sure of the best way to do it that will be convenient to verify.

Anything else?
hero member
Activity: 784
Merit: 1010
Bitcoin Mayor of Las Vegas
You can't use the openssl packages from centos repositories. They do not build openssl with EC due to some perceived patent infringements. Download the original openssl sources and compile them yourself and you'll be well on your way.


Hi I'm trying to compile vanitygen (cpu) on a centos 5 server, but I'm getting this error when I compile it.

vanitygen.c:28:24: error: openssl/ec.h: No such file or directory

I already install  openssl and openssl-devel, fix some missing files, but the ec.h file still missing, then I try to install openssl from source (official website), but don't fix the problem.

Can anyone help me please?
sr. member
Activity: 351
Merit: 250
Hi I'm trying to compile vanitygen (cpu) on a centos 5 server, but I'm getting this error when I compile it.

vanitygen.c:28:24: error: openssl/ec.h: No such file or directory

I already install  openssl and openssl-devel, fix some missing files, but the ec.h file still missing, then I try to install openssl from source (official website), but don't fix the problem.

Can anyone help me please?
legendary
Activity: 1512
Merit: 1036
You need to pass it command line arguments - the best way is with the command prompt. Windows 7 gives a shortcut when you right-click on the folder where you've unzipped vanitygen while holding down the shift button: "Open command window here".

When the window doesn't disappear, you get to see what arguments to use to make it search for something:

>vanitygen.exe
Vanitygen 0.17 (OpenSSL 1.0.0d 8 Feb 2011)
Usage: vanitygen.exe [-vqrikNT] [-t ] [-f |-] [...]
Generates a bitcoin receiving address matching , and outputs the
address and associated private key.  The private key may be stored in a safe
location or imported into a bitcoin client to spend any balance received on
the address.
By default, is interpreted as an exact prefix.

Options:
-v            Verbose output
-q            Quiet output
-r            Use regular expression match instead of prefix
              (Feasibility of expression is not checked)
-i            Case-insensitive prefix search
-k            Keep pattern and continue search after finding a match
-N            Generate namecoin address
-T            Generate bitcoin testnet address
-X   Generate address with the given version
-t   Set number of worker threads (Default: number of CPUs)
-f      File containing list of patterns, one per line
              (Use "-" as the file name for stdin)
-o      Write pattern matches to
-s      Seed random number generator from
sr. member
Activity: 420
Merit: 250
how do I use this? I opened it and it just flashes and then closes. I tyr and open it through run but same thing.
hero member
Activity: 560
Merit: 500
I am the one who knocks
Well where did you put the SDK files?  Set it to that directory

I thought the SDK for OSX came with XCode?
hero member
Activity: 742
Merit: 500
Now if we could just working instructions for OSX Lion.
Maybe you need to specify the LD_LIBRARY_PATH like caish5 did.



I would but I have no idea what to set it to :/
Well where did you put the SDK files?  Set it to that directory
hero member
Activity: 560
Merit: 500
I am the one who knocks
Now if we could just working instructions for OSX Lion.
Maybe you need to specify the LD_LIBRARY_PATH like caish5 did.



I would but I have no idea what to set it to :/
hero member
Activity: 742
Merit: 500
Now if we could just working instructions for OSX Lion.
Maybe you need to specify the LD_LIBRARY_PATH like caish5 did.

hero member
Activity: 560
Merit: 500
I am the one who knocks
Now if we could just working instructions for OSX Lion.
sr. member
Activity: 324
Merit: 250
I can't get oclvanitygen to compile in ubuntu 12.04 with 12.04 AMD drivers and AMDSDK 2.7.
I'm getting "oclvanitygen.c:37:19: fatal error: CL/cl.h: No such file or directory
compilation terminated."

Can anyone help?

Never mind i figured it out.

export LD_LIBRARY_PATH=/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64/:/opt/ati-stream-sdk-v2.7-lnx64/lib/x86_64/:
did the trick after naming the ati directory correctly manually
sr. member
Activity: 324
Merit: 250
I can't get oclvanitygen to compile in ubuntu 12.04 with 12.04 AMD drivers and AMDSDK 2.7.
I'm getting "oclvanitygen.c:37:19: fatal error: CL/cl.h: No such file or directory
compilation terminated."

Can anyone help?
hero member
Activity: 560
Merit: 500
I am the one who knocks
I am jealous!
vip
Activity: 571
Merit: 504
I still <3 u Satoshi
Problem is that the name I want will be about 50% in 60yrs. Sad

I've got one now that my wifes 7970 @1125 is within striking distance: 50% (13d)
hero member
Activity: 560
Merit: 500
I am the one who knocks
Problem is that the name I want will be about 50% in 60yrs. Sad
hero member
Activity: 742
Merit: 500
Does anyone have a working build for OSX Lion?  I get the following output:

Code:
$ make -f Makefile.osx oclvanitygen                                                                                                     
cc -ggdb -O3 -Wall   -c -o oclvanitygen.o oclvanitygen.c
clang: warning: argument unused during compilation: '-ggdb'
oclvanitygen.c:311:36: warning: conversion specifies type 'long' but the argument has type 'cl_ulong' (aka 'unsigned long long') [-Wformat]
        fprintf(stderr, "Global memory: %ld\n",
                                        ~~^
                                        %llu
oclvanitygen.c:313:37: warning: conversion specifies type 'long' but the argument has type 'cl_ulong' (aka 'unsigned long long') [-Wformat]
        fprintf(stderr, "Max allocation: %ld\n",
                                         ~~^
                                         %llu
oclvanitygen.c:494:2: warning: 'MD5_Init' is deprecated [-Wdeprecated-declarations]
        MD5_Init(&ctx);
        ^
oclvanitygen.c:497:2: warning: 'MD5_Update' is deprecated [-Wdeprecated-declarations]
        MD5_Update(&ctx, str, strlen(str) + 1);

Full output: http://pastebin.com/CYwyPQgZ
I've only built vanitygen in Lion, haven't tried oclvanitygen.
hero member
Activity: 560
Merit: 500
I am the one who knocks
Does anyone have a working build for OSX Lion?  I get the following output:

Code:
$ make -f Makefile.osx oclvanitygen                                                                                                     
cc -ggdb -O3 -Wall   -c -o oclvanitygen.o oclvanitygen.c
clang: warning: argument unused during compilation: '-ggdb'
oclvanitygen.c:311:36: warning: conversion specifies type 'long' but the argument has type 'cl_ulong' (aka 'unsigned long long') [-Wformat]
        fprintf(stderr, "Global memory: %ld\n",
                                        ~~^
                                        %llu
oclvanitygen.c:313:37: warning: conversion specifies type 'long' but the argument has type 'cl_ulong' (aka 'unsigned long long') [-Wformat]
        fprintf(stderr, "Max allocation: %ld\n",
                                         ~~^
                                         %llu
oclvanitygen.c:494:2: warning: 'MD5_Init' is deprecated [-Wdeprecated-declarations]
        MD5_Init(&ctx);
        ^
oclvanitygen.c:497:2: warning: 'MD5_Update' is deprecated [-Wdeprecated-declarations]
        MD5_Update(&ctx, str, strlen(str) + 1);

Full output: http://pastebin.com/CYwyPQgZ
hero member
Activity: 714
Merit: 504
^SEM img of Si wafer edge, scanned 2012-3-12.
The name I want will take 500 years

could take 500 years. It could take 30 seconds too.
Could take 10 000 years too.
You have 50% chance to find it within 500 years.
hero member
Activity: 658
Merit: 500
The name I want will take 500 years

could take 500 years. It could take 30 seconds too.
vip
Activity: 571
Merit: 504
I still <3 u Satoshi
The name I want will take 500 years
Jump to: