Bitcoin Forum
November 17, 2024, 09:44:29 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 [63] 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 ... 191 »
  Print  
Author Topic: Vanitygen: Vanity bitcoin address generator/miner [v0.22]  (Read 1153565 times)
K1773R
Legendary
*
Offline Offline

Activity: 1792
Merit: 1008


/dev/null


View Profile
June 03, 2013, 03:14:00 AM
 #1241

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

[GPG Public Key]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
SinnerShanky
Newbie
*
Offline Offline

Activity: 16
Merit: 0



View Profile
June 03, 2013, 11:31:24 AM
 #1242

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?
K1773R
Legendary
*
Offline Offline

Activity: 1792
Merit: 1008


/dev/null


View Profile
June 03, 2013, 01:07:24 PM
 #1243

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.

[GPG Public Key]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
SinnerShanky
Newbie
*
Offline Offline

Activity: 16
Merit: 0



View Profile
June 03, 2013, 01:55:22 PM
 #1244

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
funkymunky
Sr. Member
****
Offline Offline

Activity: 283
Merit: 250



View Profile
June 03, 2013, 02:00:01 PM
 #1245

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.
daemondazz
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250



View Profile
June 04, 2013, 06:35:27 AM
 #1246

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?

Computers, Amateur Radio, Electronics, Aviation - 1dazzrAbMqNu6cUwh2dtYckNygG7jKs8S
funkymunky
Sr. Member
****
Offline Offline

Activity: 283
Merit: 250



View Profile
June 04, 2013, 08:01:54 AM
 #1247

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
Dabs
Legendary
*
Offline Offline

Activity: 3416
Merit: 1912


The Concierge of Crypto


View Profile
June 04, 2013, 08:05:59 AM
 #1248

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.

funkymunky
Sr. Member
****
Offline Offline

Activity: 283
Merit: 250



View Profile
June 04, 2013, 11:00:40 AM
 #1249

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.
salfter
Hero Member
*****
Offline Offline

Activity: 651
Merit: 501


My PGP Key: 92C7689C


View Profile WWW
June 04, 2013, 08:29:09 PM
Last edit: June 04, 2013, 08:46:19 PM by salfter
 #1250

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?

Tipjars: BTC 1TipsGocnz2N5qgAm9f7JLrsMqkb3oXe2 LTC LTipsVC7XaFy9M6Zaf1aGGe8w8xVUeWFvR | My Bitcoin Note Generator | Pool Auto-Switchers: zpool MiningPoolHub NiceHash
Bitgem Resources: Pool Explorer Paper Wallet
jaywaka2713
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


aka 7Strykes


View Profile
June 05, 2013, 01:09:29 AM
 #1251

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.

scintill
Sr. Member
****
Offline Offline

Activity: 448
Merit: 254


View Profile WWW
June 05, 2013, 01:54:45 AM
 #1252

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?

1SCiN5kqkAbxxwesKMsH9GvyWnWP5YK2W | donations
BitHits
Full Member
***
Offline Offline

Activity: 196
Merit: 100



View Profile WWW
June 05, 2013, 02:15:05 AM
 #1253

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>

Free BTC http://beta.BitHits.info BTC 1DNNERMT5MMusfYnCBfcKCBjBKZWBC5Lg2 DGC DH2Pm4VXxsTeqUYZkEySU1c8p5TLvuLe8u LTC LP2QiL1pnsaKVX5Qa811pFJuFL8FxkxWRz
jaywaka2713
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


aka 7Strykes


View Profile
June 05, 2013, 02:36:48 AM
 #1254

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.

TheJackster
Newbie
*
Offline Offline

Activity: 53
Merit: 0



View Profile WWW
June 05, 2013, 09:11:56 AM
 #1255

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
jaywaka2713
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


aka 7Strykes


View Profile
June 05, 2013, 04:51:52 PM
 #1256

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

I'm unsure if I understand your request, but say you want it to generate from a list.
Code:
1Bitcoin
1Whatever
1Example

Well you will put each prefix on its own line in a text file, place that file in the same directory vanitygen is in, and use the  '-f textfile.txt' flag. There is also a use for using the -f flag like this: '-f -' but I don't know what that does. Generates addresses from stdin, but my knowledge on that is limited.

Teka
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1000



View Profile
June 05, 2013, 09:48:21 PM
 #1257

I've been using this software for a while now and I have to say that its pretty good. Its a shame that it takes ages to create some vanity addresses.
LtPaxIV
Sr. Member
****
Offline Offline

Activity: 400
Merit: 250


View Profile
June 05, 2013, 10:50:28 PM
 #1258

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

if u want to use a set make a *.txt file in same directory as vanity looking like this

1fsvbfs
1fsafreaw
1fsgrsbvr

then use the -f flag >>> oclvanitygen -f file.txt

if u want vanity to write the matches to a file use the -o flag with a filename u want  >>>>>oclvanitygen -f file.txt -o testfile




Example command lines (oclvanitygen, device 0, default platform):

    Search for exact prefix 1ABCDE, keep searching after first match is found (-k):
    >oclvanitygen -d 0 -k 1ABCDE
    Search for prefix 1ABCDE in any combination of upper or lower case (-i):
    >oclvanitygen -d 0 -i 1ABCDE
    Search for ABCD anywhere in address (only supported on CPU vanitygen) (-r):
    >vanitygen -r ABCD
    Search for prefix 1ABCDE, use a seed file to make address generation more secure and random (-s):
    >oclvanitygen -d 0 -s RandomSeedFile.txt 1ABCDE
    Search for prefix 1ABCDE, keep searching after first match is found, and save all found address to a file:
    >oclvanitygen -d 0 -k -o GeneratedAddresses.txt 1ABCDE
    Search for many prefixes at once using a text file listing them (newline after each prefix including last):
    >oclvanitygen -d 0 -k -f PrefixList.txt
    Use all options above including case-insensitive search, and turn on verbose mode for more information:
    >oclvanitygen -d 0 -v -i -k -f PrefixList.txt -o GeneratedAddresses.txt -s RandomSeedFile.txt


When specifying a case-insensitive address prefix on the command line or in a text file list, you must still only use valid Base58 characters.
 This means you must only use lower-case i or o, and only upper-case L, or you will get an error.

    Bad: 1celeron, 1CELERON
    Good: 1ceLeron, 1CELERoN
vlees
Full Member
***
Offline Offline

Activity: 196
Merit: 100



View Profile
June 06, 2013, 02:52:11 PM
 #1259

I never got oclvanitygen to work on my GPU (only CPU which gets 750kkeys/s) so I read here that I should downgrade to AMD Catalyst 12.8.
So I did that, but still oclvanitygen does not work on my GPU:

Code:
Device: Cayman
Vendor: Advanced Micro Devices, Inc. (1002)
Driver: 1084.4 (VM)
Profile: FULL_PROFILE
Version: OpenCL 1.2 AMD-APP (1084.4)
Max compute units: 22
Max workgroup size: 256
Global memory: -2147483648
Max allocation: 536870912
OpenCL compiler flags:
Compiling kernel, can take minutes...LLVM ERROR: Cannot select: 0x549e808: i8 =
setcc 0x5494840, 0x5499070, 0x549a188 [ID=20]
  0x5494840: i32 = AMDILISD::ADD 0x5499070, 0x54997e0 [ID=19]
    0x5499070: i32,ch = CopyFromReg 0x418c8d8, 0x5499428 [ORD=166] [ID=15]
      0x5499428: i32 = Register %vreg33 [ORD=166] [ID=3]
    0x54997e0: i32,ch = load 0x418c8d8, 0x54948c8, 0x54928b8<LD4[getelementptr i
nbounds ([8 x i32] addrspace(2)* @modulus, i32 0, i32 0)]> [ORD=165] [ID=18]
      0x54948c8: i32 = Constant<192> [ORD=164] [ID=13]
      0x54928b8: i32 = undef [ORD=165] [ID=2]
  0x5499070: i32,ch = CopyFromReg 0x418c8d8, 0x5499428 [ORD=166] [ID=15]
    0x5499428: i32 = Register %vreg33 [ORD=166] [ID=3]

Anyone knows how to fix this?

Anyone?

BEEP BEP
salfter
Hero Member
*****
Offline Offline

Activity: 651
Merit: 501


My PGP Key: 92C7689C


View Profile WWW
June 06, 2013, 10:02:46 PM
 #1260

I never got oclvanitygen to work on my GPU (only CPU which gets 750kkeys/s) so I read here that I should downgrade to AMD Catalyst 12.8.
So I did that, but still oclvanitygen does not work on my GPU:

Code:
Compiling kernel, can take minutes...LLVM ERROR: Cannot select: 0x549e808: i8 = ...

Anyone knows how to fix this?

I was getting a similar error from my 7750 when I was running it with 13.1.  It works fine with 12.10, though.  I'd give that version a shot.

Tipjars: BTC 1TipsGocnz2N5qgAm9f7JLrsMqkb3oXe2 LTC LTipsVC7XaFy9M6Zaf1aGGe8w8xVUeWFvR | My Bitcoin Note Generator | Pool Auto-Switchers: zpool MiningPoolHub NiceHash
Bitgem Resources: Pool Explorer Paper Wallet
Pages: « 1 ... 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 [63] 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 ... 191 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!