Bitcoin Forum
May 08, 2024, 04:56:36 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 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 ... 191 »
  Print  
Author Topic: Vanitygen: Vanity bitcoin address generator/miner [v0.22]  (Read 1152832 times)
luv2drnkbr
Hero Member
*****
Offline Offline

Activity: 793
Merit: 1016



View Profile
December 27, 2011, 06:51:09 PM
 #421

I'm worried about running my video card at full for long periods of time because I don't have any kind of cooling other than the chasis fan and the fan in the card itself.  When I run the ocl version, it gives me a timeframe until the probability approaches 100%.

My question is, can I run it for a bit, then quit and run it later, or will it re-find the same old tries?  Do I need to let it run until it finds it, or can I for example close it at 1% and then just look for 1% each day until I find it?

Sorry if this is a stupid question.  I understand what probability means and that it's just brute force guessing, but the fact that it gives me a time frame makes me wonder if it has a certain starting seed, which would mean re-starting it over and over, doing a little each day, would not be effective in finding a solution.

So, do I need to run it all the way through or can I just do a little bit each day?

1715144196
Hero Member
*
Offline Offline

Posts: 1715144196

View Profile Personal Message (Offline)

Ignore
1715144196
Reply with quote  #2

1715144196
Report to moderator
1715144196
Hero Member
*
Offline Offline

Posts: 1715144196

View Profile Personal Message (Offline)

Ignore
1715144196
Reply with quote  #2

1715144196
Report to moderator
The forum strives to allow free discussion of any ideas. All policies are built around this principle. This doesn't mean you can post garbage, though: posts should actually contain ideas, and these ideas should be argued reasonably.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715144196
Hero Member
*
Offline Offline

Posts: 1715144196

View Profile Personal Message (Offline)

Ignore
1715144196
Reply with quote  #2

1715144196
Report to moderator
1715144196
Hero Member
*
Offline Offline

Posts: 1715144196

View Profile Personal Message (Offline)

Ignore
1715144196
Reply with quote  #2

1715144196
Report to moderator
bulanula
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile
December 27, 2011, 08:56:43 PM
 #422

I'm worried about running my video card at full for long periods of time because I don't have any kind of cooling other than the chasis fan and the fan in the card itself.  When I run the ocl version, it gives me a timeframe until the probability approaches 100%.

My question is, can I run it for a bit, then quit and run it later, or will it re-find the same old tries?  Do I need to let it run until it finds it, or can I for example close it at 1% and then just look for 1% each day until I find it?

Sorry if this is a stupid question.  I understand what probability means and that it's just brute force guessing, but the fact that it gives me a time frame makes me wonder if it has a certain starting seed, which would mean re-starting it over and over, doing a little each day, would not be effective in finding a solution.

So, do I need to run it all the way through or can I just do a little bit each day?

Interested in this too. Hope we get a comprehensive answer.
Red Emerald
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500



View Profile WWW
December 27, 2011, 09:25:20 PM
Last edit: December 28, 2011, 10:20:40 AM by Red Emerald
 #423

It should be fine to start and stop the process. Just like mining, previous hashes have no effect on later hashes. Even if you manually set the seed, then you still don't get the same hashes.  Your calculations for time to solve will be less accurate, but the probability to find the key is the same no matter how many times you have already tried.

EDIT: See the link from deepceleron below

deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1032



View Profile WWW
December 28, 2011, 10:06:58 AM
 #424

I'm worried about running my video card at full for long periods of time because I don't have any kind of cooling other than the chasis fan and the fan in the card itself.  When I run the ocl version, it gives me a timeframe until the probability approaches 100%.

My question is, can I run it for a bit, then quit and run it later, or will it re-find the same old tries?  Do I need to let it run until it finds it, or can I for example close it at 1% and then just look for 1% each day until I find it?

Sorry if this is a stupid question.  I understand what probability means and that it's just brute force guessing, but the fact that it gives me a time frame makes me wonder if it has a certain starting seed, which would mean re-starting it over and over, doing a little each day, would not be effective in finding a solution.

So, do I need to run it all the way through or can I just do a little bit each day?

Interested in this too. Hope we get a comprehensive answer.

There is an answer, just five pages back: https://bitcointalk.org/index.php?topic=25804.msg611858#msg611858
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
January 05, 2012, 02:47:12 PM
 #425

I seem to be having a problem w/ regular expression option.

I want to use a regular expression but only at the beginning of the address.

For example:
I assumed ^1TCa[1-9] would look for addresses which match

1TCa1....
1TCa2....
1TCa3....
etc

however it returns things like:
16Xo9HWAexrC1TCa21T51vhUBCesyZ58KKU

I skimmed through the thread and searched for the word "regular" so if it was already covered I must have missed it.

It looks like in the thread people are searching minus the "1" so can regular expression searches not be limited to the front of address.

The long version of what I am looking for is something like this

1TCaXXXX
where XXXX is a 4 digit number sequence (obviously only 1 to 9 due to base 58 limits).
BTCurious
Hero Member
*****
Offline Offline

Activity: 714
Merit: 504


^SEM img of Si wafer edge, scanned 2012-3-12.


View Profile
January 05, 2012, 03:02:34 PM
 #426

It's about 58 times more likely to find addresses that start with your pattern. You could do a filtering step afterwards…

DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
January 05, 2012, 03:10:42 PM
 #427

It's about 58 times more likely to find addresses that start with your pattern. You could do a filtering step afterwards…

Yeah that is an option but that is a lot of filtering.  I was just searching for 1 numeric digit as a test.  Ultimately I would want a 4 digit or 5 digit sequence. 

The 4 digit address space is 58^4 and the valid range is 9^4 so only 1 in 1724 will be valid. 
The 5 digit address space is 58^4 and the valid range is 9^5 so only 1 in 11,115 will be valid. 


I am assuming that based on your answer it isn't possible to use regular expressions and limit the search to start of string.   If that is the case I guess I could modify the code.
BTCurious
Hero Member
*****
Offline Offline

Activity: 714
Merit: 504


^SEM img of Si wafer edge, scanned 2012-3-12.


View Profile
January 05, 2012, 03:15:46 PM
 #428

I meant: Just use vanitygen to generate addresses with your digits. You will get a lot of addresses which start with your pattern, and only some that have your pattern somewhere in between. It doesn't matter how long the digit sequence is. Then afterwards you can filter the resulting list.

I haven't tried regex matching with vanitygen, so I don't know if it can work. What you describes sounds like a bug.

DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
January 05, 2012, 03:20:16 PM
 #429

I meant: Just use vanitygen to generate addresses with your digits. You will get a lot of addresses which start with your pattern, and only some that have your pattern somewhere in between. It doesn't matter how long the digit sequence is. Then afterwards you can filter the resulting list.

I haven't tried regex matching with vanitygen, so I don't know if it can work. What you describes sounds like a bug.

Hmm.  I got you.  So if the entire pattern is 8 digits and the address is 34 digits then there is equal chance of it finding the pattern starting @ digit 2, 3 ...... 26.  We only want the patterns which begin @ digit 2 so one in 26 should be good.

I am having a slow morning this morning.  I had to re-read your post twice before I got it.
BurtW
Legendary
*
Offline Offline

Activity: 2646
Merit: 1136

All paid signature campaigns should be banned.


View Profile WWW
January 05, 2012, 03:21:14 PM
 #430

After reading more carefully what you really want is:

    \A1TCa[1-9]{4}

I just tried it and it works.

Our family was terrorized by Homeland Security.  Read all about it here:  http://www.jmwagner.com/ and http://www.burtw.com/  Any donations to help us recover from the $300,000 in legal fees and forced donations to the Federal Asset Forfeiture slush fund are greatly appreciated!
BTCurious
Hero Member
*****
Offline Offline

Activity: 714
Merit: 504


^SEM img of Si wafer edge, scanned 2012-3-12.


View Profile
January 05, 2012, 03:28:35 PM
 #431

I meant: Just use vanitygen to generate addresses with your digits. You will get a lot of addresses which start with your pattern, and only some that have your pattern somewhere in between. It doesn't matter how long the digit sequence is. Then afterwards you can filter the resulting list.

I haven't tried regex matching with vanitygen, so I don't know if it can work. What you describes sounds like a bug.

Hmm.  I got you.  So if the entire pattern is 8 digits and the address is 34 digits then there is equal chance of it finding the pattern starting @ digit 2, 3 ...... 26.  We only want the patterns which begin @ digit 2 so one in 26 should be good.

I am having a slow morning this morning.  I had to re-read your post twice before I got it.
Actually, now I'm confused. It should return addresses starting with "1TCa" much more often than having "1TCa" in the middle, because the first character is always a "1". If it doesn't, then something's weird.

DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
January 05, 2012, 03:29:50 PM
 #432

After reading more carefully what you really want is:

    \A1TCa[1-9]{4}

I just tried it and it works.

Thanks for your help.  \A instead of ^ for start of string.  I likely wouldn't have got that.
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
January 05, 2012, 03:55:24 PM
 #433

DOH just realized you can't use regular expression w/ GPU.  Given that regular expressions are next to useless.  A good CPU = 200 KH/s.  A good GPU = 20MH/s. 
BurtW
Legendary
*
Offline Offline

Activity: 2646
Merit: 1136

All paid signature campaigns should be banned.


View Profile WWW
January 05, 2012, 03:59:24 PM
 #434

Is this true?  I have never set up for GPU vanity generation but I always just assumed that you could - if you want to - use regular expressions on the GPU version.  Of course all that checking of the results would slow you down but that is the price you would pay.

Our family was terrorized by Homeland Security.  Read all about it here:  http://www.jmwagner.com/ and http://www.burtw.com/  Any donations to help us recover from the $300,000 in legal fees and forced donations to the Federal Asset Forfeiture slush fund are greatly appreciated!
BkkCoins
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1009


firstbits:1MinerQ


View Profile WWW
January 05, 2012, 04:07:09 PM
 #435

Ya, I tried regex with GPU too and it just went off to la la land. Doesn't work and has a message about using the CPU for regex.

So I guess you could run it with -k (keep going) and pipe the output thru grep or something and collect matches, or use them to trigger killing the process. Or just collect them in a file and grep it later. I haven't tried this.

BurtW
Legendary
*
Offline Offline

Activity: 2646
Merit: 1136

All paid signature campaigns should be banned.


View Profile WWW
January 05, 2012, 04:11:03 PM
 #436

So in D&Ts case match for exactly 1TCa, store them in a file, grep for those that happened to have 4 digits after the 1TCa offline later.  Sounds like a very large file with a few good ones in it Smiley

Our family was terrorized by Homeland Security.  Read all about it here:  http://www.jmwagner.com/ and http://www.burtw.com/  Any donations to help us recover from the $300,000 in legal fees and forced donations to the Federal Asset Forfeiture slush fund are greatly appreciated!
BkkCoins
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1009


firstbits:1MinerQ


View Profile WWW
January 05, 2012, 05:12:15 PM
Last edit: January 05, 2012, 05:47:39 PM by BkkCoins
 #437

This seems to work ok,

Code:
$vanitygen -k 1T |grep -A1 -P 1T[1-9]{2}.*
WARNING: Built with OpenSSL 0.9.8o 01 Jun 2010
WARNING: Use OpenSSL 1.0.0d+ for best performance
Difficulty: 1353
Address: 1T51oxW5TodSMEHoL8j7r9Ztuv4tVXTuu
Privkey: 5JnQkMpSHPQp34XmDi79nzUNsEYLcudD6a9gVwJ4wWjheQWGcCD
--
Address: 1T95SQJawGuQHVjqXhHdsNn27iEX3rrag
Privkey: 5JANavEjXEp34SEPVPgMM3BhqhgQq49Zgi2ZLNdxboUfKRUudNR
--
Address: 1T77PtZF5wFqDfy17QbLVUk532JWHbouB
Privkey: 5KSAeZTGCmVLXraPsPU3DmwXG4x3FFm3jtGYLHiyMx2eRDSLWar

I made it easier so I could see results quicker but the actual cmd would be,

oclvanitygen -k 1TCa |grep -A1 -P 1TCa[1-9]{4}.*


-A1 for including next line too.(with key).
-P to use Perl regex which I know unlike POSIX regex.

Or to save in a file, and view on screen,

oclvanitygen -k 1TCa |grep --line-buffered -A1 -P 1TCa[1-9]{4}.* | tee -a list.txt


--line-buffered is needed because grep buffers it's output.

Edit: I forgot you would need a -d  arg for oclvanitygen to select device. Also, I tried this on GPU and it said for low difficulty it would be faster on CPU. Seems it is too. But it's faster if you make it more difficult for the GPU, eg.

oclvanitygen -k 1TCa1 |grep -A1 -P 1TCa[1-9]{4}.*

Weird.



malevolent
can into space
Legendary
*
Offline Offline

Activity: 3472
Merit: 1721



View Profile
January 05, 2012, 10:32:56 PM
 #438

Hello everyone, I have a few (noob) questions Smiley

- Anyone know how to use all GPUs for oclvanitygen?
And why if I select GPU #2,for ex.:

oclvanitygen -r -d=2 123

Only my primary GPU (GPU #0) will be used? In my case this is a slower GPU.

- Why with -r only the CPU can be used (vanitygen prints "WARNING: Using CPU pattern matcher")?

- Are there any better/faster address generators out there?

- Why I can only generate addresses starting with "1"? Aren't there anymore addresses left starting with "3"? Tongue

- Why am I getting higher speeds without "-r" on CPU?
Without: ~350kkeys/sec
With: ~75kkeys/sec
Isn't it supposed to be the other way around (expression can be placed anywhere in the address instead just at the beginning)? Or am I getting something wrong?

- I have a Q9300 undervolted to 0.975V and underclocked to 2GHz to save power (stock 2.5GHz and sth like 1.1 or 1.2Vcore), before mining this used to be primarily a gaming rig, and I had this CPU running @ 3.5GHz and 1.32Vcore, what speed can I expect if I decide to O/C it back to 3.5GHz? I think it'll increase linearly but not sure and will probably do it unless I find a way to generate addresses with the "-r" option.

- Any way to generate shorter addresses (shortest as possible, 25 base58 chars?)

Thanks.

Signature space available for rent.
BkkCoins
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1009


firstbits:1MinerQ


View Profile WWW
January 06, 2012, 02:52:22 AM
 #439

oclvanitygen -r -d=2 123
Only my primary GPU (GPU #0) will be used? In my case this is a slower GPU.
Take out the equal sign. -d 2

- Why with -r only the CPU can be used (vanitygen prints "WARNING: Using CPU pattern matcher")?
See docs. GPU isn't good at regex expression evaluation.

- Are there any better/faster address generators out there?
I haven't heard of any other vanity gens with GPU support at all.
This one is kind of a miracle it exists at all considering the work involved.

- Why I can only generate addresses starting with "1"? Aren't there anymore addresses left starting with "3"? Tongue
Because ALL bitcoin addresses always start with 1. No such thing as a 3 address.

- Why am I getting higher speeds without "-r" on CPU?
Without: ~350kkeys/sec
With: ~75kkeys/sec
I guess the regex eval process slows it down a lot.

- I have a Q9300 undervolted to 0.975V and underclocked to 2GHz to save power (stock 2.5GHz and sth like 1.1 or 1.2Vcore), before mining this used to be primarily a gaming rig, and I had this CPU running @ 3.5GHz and 1.32Vcore, what speed can I expect if I decide to O/C it back to 3.5GHz? I think it'll increase linearly but not sure and will probably do it unless I find a way to generate addresses with the "-r" option.
See post above, explains how to do regex without -r

malevolent
can into space
Legendary
*
Offline Offline

Activity: 3472
Merit: 1721



View Profile
January 06, 2012, 12:00:13 PM
 #440

Because ALL bitcoin addresses always start with 1. No such thing as a 3 address.

https://en.bitcoin.it/wiki/Address :
Quote
A Bitcoin address, or simply address, is an identifier of approximately 34 alphanumeric characters, beginning with the number
1 or 3
An example of a Bitcoin address is 37muSN5ZrukVTvyVh3mT5Zc5ew9L9CBare

So there's no way to make use of all GPUs simulatenously?
Or maybe I could be running 3 instances of oclvanitygen each for each GPU to increase the probability of finding an address and it's priv key? Would that be the same?

Signature space available for rent.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 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 ... 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!