Author

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

newbie
Activity: 53
Merit: 0
Hi,

Sorry if this has already been asked / answered.

How can I set vanity to generate random or a set of addresses based on a query and save all of the results to a text file?

Thanks,

Jack
sr. member
Activity: 266
Merit: 250
aka 7Strykes
I think i may have found a bug ..

Code:
C:\Users\Administrator\Desktop\vanitygen-0.22-win>vanitygen64 -v -X 30 -k -o C:\Users\Administrator\Desktop\vanitygen-0.22-win\DiGi.txt D
Prefix difficulty:                    1 D
Difficulty: 1
Using 2 worker thread(s)
Pattern: D
..
Address: DGzvrWnrp3ZDSBeKHQ3Nb7Ynj72Z9eDkpq
..
Pattern: D
Address: DHCESDCKogVwKjtjH1tB66PzGZcNWbmigF
...
C:\Users\Administrator\Desktop\vanitygen-0.22-win>vanitygen64 -v -X 30 -k -o C:\Users\Administrator\Desktop\vanitygen-0.22-win\DiGi.txt DiGiHiT
Prefix 'DiGiHiT' not possible
Hint: valid bitcoin addresses begin with "1"

C:\Users\Administrator\Desktop\vanitygen-0.22-win>

Remove the space after the -X flag to change it to -X30. That will fix the script.
full member
Activity: 196
Merit: 100
I think i may have found a bug ..

Code:
C:\Users\Administrator\Desktop\vanitygen-0.22-win>vanitygen64 -v -X 30 -k -o C:\Users\Administrator\Desktop\vanitygen-0.22-win\DiGi.txt D
Prefix difficulty:                    1 D
Difficulty: 1
Using 2 worker thread(s)
Pattern: D
..
Address: DGzvrWnrp3ZDSBeKHQ3Nb7Ynj72Z9eDkpq
..
Pattern: D
Address: DHCESDCKogVwKjtjH1tB66PzGZcNWbmigF
...
C:\Users\Administrator\Desktop\vanitygen-0.22-win>vanitygen64 -v -X 30 -k -o C:\Users\Administrator\Desktop\vanitygen-0.22-win\DiGi.txt DiGiHiT
Prefix 'DiGiHiT' not possible
Hint: valid bitcoin addresses begin with "1"

C:\Users\Administrator\Desktop\vanitygen-0.22-win>
sr. member
Activity: 448
Merit: 254
Use
Code:
./oclvanitygen -D 0:0 -S -X48 -i Light


You cannot have a space after the -X flag.

It seems to work with or without space for me.  But this example showed me the bug seems to be with certain (short?) litecoin prefixes, not litecoin prefixes in general.  Your example worked, as did Ligh and Lig, but Li and L just sit there hashing when they should be finding many addresses per second.  Lp worked even though Li didn't.  Can anyone confirm this?
sr. member
Activity: 266
Merit: 250
aka 7Strykes
Code:
./oclvanitygen -D 0:0 -S -X 48 L

This should find a Litecoin key.  Instead, it runs forever. Is this a known limitation of oclvanitygen?

Use
Code:
./oclvanitygen -D 0:0 -S -X48 -i Light


You cannot have a space after the -X flag.
hero member
Activity: 651
Merit: 501
My PGP Key: 92C7689C
If anyone is interested in generating compressed vanity addresses, see this Pull Request.  salfter did the CPU side, and I commented with a link to my fork that includes his work and adds OpenCL support for the GPU side.  Please be careful and verify that addresses you generate using my changes are correct before sending money to them.

Just got a chance to try out your OpenCL changes.  On my Ubuntu box, the new changes work like a champ.  I'm still trying to get a 12.x driver on my Gentoo box, as 13.1 breaks oclvanitygen. I just brought x11-drivers/ati-drivers-12.10.ebuild back from the dead, updated with some patches that allow it to run with newer kernels.  I have ATI driver 12.10 running on Linux 3.8.13, and with the 7750 in this box, the compressed-key oclvanitygen works with the -S flag (which it's always needed).

I've integrated your oclvanitygen changes into my fork.

BTW, those of you with Gentoo mining rigs might want to look at my overlay.  In addition to the older ATI driver, I have a bunch of ebuilds for Bitcoin, Litecoin, and some other altcoins in there.  (Haven't gotten around to a vanitygen ebuild yet, though...should probably fix that.)

Edit: One thing I noticed is that your oclvanitygen only appears to find Bitcoin keys.  The original appears to have the same behavior, so your changes didn't cause a regression.  Try this:

Code:
./oclvanitygen -D 0:0 -S -X 48 L

This should find a Litecoin key.  Instead, it runs forever. Is this a known limitation of oclvanitygen?
sr. member
Activity: 283
Merit: 250
Thank you Dabs  Grin


Sorry for the "basic" question...

Is there a way to have the results found within the Windows version using the -k command be sent directly to a file?


Thank you

Use the -o switch. Like
vanitygen -k -o filename.txt 1Dabs

Then go to sleep. When you wake up, you have a text file with a bunch of private keys.
legendary
Activity: 3416
Merit: 1912
The Concierge of Crypto
Sorry for the "basic" question...

Is there a way to have the results found within the Windows version using the -k command be sent directly to a file?


Thank you

Use the -o switch. Like
vanitygen -k -o filename.txt 1Dabs

Then go to sleep. When you wake up, you have a text file with a bunch of private keys.
sr. member
Activity: 283
Merit: 250
Sorry for the "basic" question...

Is there a way to have the results found within the Windows version using the -k command be sent directly to a file?


Thank you
sr. member
Activity: 448
Merit: 250
I found printf, I want to extract only the bitcoin address from it because the output contains the private key and another line as well. Anyone knows how to do that?

Why would you only want the address? It's useless without the private key too?
sr. member
Activity: 283
Merit: 250
while running oclvanitygen -d 0 -p 0 -o output.txt 1R
results in
C:\Users\admin\Desktop\vanitygen_catalyst\32>oclvanitygen -d 0 -o output.txt 1R
Difficulty: 1353
Match idx: 0
CPU hash: b3b8b1f62fb59e659835af2b81238fd979ca7e15
GPU hash: 049ae2c66df6d65bb092caa95c759c0599542a13
Found delta: 7338843 Start delta: 1
[3.61 Mkey/s][total 7340032]                                                   M
atch idx: 0
CPU hash: 22c34ee82b97f5b8af8ec9c7d2b9cd3b2e2b0421
GPU hash: 04afbde26e27f40663e0ce86223409a873019ff1
Found delta: 7335852 Start delta: 1
[5.32 Mkey/s][total 14680064]                                                  M
atch idx: 0
CPU hash: 47aa2162ee34797c81c0799254d7b5b266e4d5f1
GPU hash: 049381dea7d7d0638e44a8f0d9f2bc6e10d3ca4c
Found delta: 7326918 Start delta: 1
[6.09 Mkey/s][total 22020096]                                                  M
atch idx: 0
CPU hash: 6635552c18744c27a9f1976801f8439e406abdc3
GPU hash: 04ae7a508a7e8087b54b0947d46186c8f330c875
Found delta: 7338098 Start delta: 1
[6.58 Mkey/s][total 29360128]                                                  ^


And it just goes on forever and ever. but if i do it with the cpu version it work for perfect in no time. i read through form and have not noticed any thing posted about this.


I've come across this too with a full uninstall of newer drivers (removal tool) and downgrading to 12.8.

The only solution I can use to avoid the loop above is to run in safemode with the -S flag.

This does run a lot slower than normal.... however it is still a lot faster than my CPU.
newbie
Activity: 16
Merit: 0
I'm not very familiar with C but I was going through the source code. I wanted to know where the address is generated.
Like, suppose I run vanitygen and it finds an address I want, I wanna know the line that prints the address and its private key on the console.
Thank you Smiley
grep the source for printf Wink

I found printf, I want to extract only the bitcoin address from it because the output contains the private key and another line as well. Anyone knows how to do that?
many ppls know how to do this, but this is a so simple task so you can do it urself.

I can't seem to figure out the indexes in linebuf the address is stored in. Once someone tells me that, I'll figure out the rest myself. Smiley
legendary
Activity: 1792
Merit: 1008
/dev/null
I'm not very familiar with C but I was going through the source code. I wanted to know where the address is generated.
Like, suppose I run vanitygen and it finds an address I want, I wanna know the line that prints the address and its private key on the console.
Thank you Smiley
grep the source for printf Wink

I found printf, I want to extract only the bitcoin address from it because the output contains the private key and another line as well. Anyone knows how to do that?
many ppls know how to do this, but this is a so simple task so you can do it urself.
newbie
Activity: 16
Merit: 0
I'm not very familiar with C but I was going through the source code. I wanted to know where the address is generated.
Like, suppose I run vanitygen and it finds an address I want, I wanna know the line that prints the address and its private key on the console.
Thank you Smiley
grep the source for printf Wink

I found printf, I want to extract only the bitcoin address from it because the output contains the private key and another line as well. Anyone knows how to do that?
legendary
Activity: 1792
Merit: 1008
/dev/null
I'm not very familiar with C but I was going through the source code. I wanted to know where the address is generated.
Like, suppose I run vanitygen and it finds an address I want, I wanna know the line that prints the address and its private key on the console.
Thank you Smiley
grep the source for printf Wink
newbie
Activity: 16
Merit: 0
I'm not very familiar with C but I was going through the source code. I wanted to know where the address is generated.
Like, suppose I run vanitygen and it finds an address I want, I wanna know the line that prints the address and its private key on the console.
Thank you Smiley
hero member
Activity: 651
Merit: 501
My PGP Key: 92C7689C
Mr. salfter,

Where is your key that you used to sign this? I went to your website and this is the key I found:

Quote
Key-ID: 586535F7
Fingerprint: 605237D2007C0B2F6C12D171DFF771D8586535F7


Hmm...I need to fix that. :-| Look next to this post for the key I'm using now (begins with 9, not 5). You should be able to pull it from any keyserver.

Edited after posting: The correct key ID is 92C7689C.

Edited again: my website is fixed.  My current key is now at http://alfter.us/files/salfter.asc.
legendary
Activity: 1792
Merit: 1008
/dev/null
I have a question, is the entropy source in Vanitygen reliable enough to use it as a simple Bitcoin address generator? Like just specify the pattern "1", the combination it then outputs, is it secure and not vulnerable?
its based on OpenSSL's, so yes it should be fine.
hero member
Activity: 938
Merit: 501
I have a question, is the entropy source in Vanitygen reliable enough to use it as a simple Bitcoin address generator? Like just specify the pattern "1", the combination it then outputs, is it secure and not vulnerable?
legendary
Activity: 3416
Merit: 1912
The Concierge of Crypto
Mr. salfter,

Where is your key that you used to sign this? I went to your website and this is the key I found:

Quote
Key-ID: 586535F7
Fingerprint: 605237D2007C0B2F6C12D171DFF771D8586535F7
Jump to: