Bitcoin Forum
November 28, 2026, 02:10:28 AM *
News: Latest Bitcoin Core release: 32.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 114 [115] 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 ... 191 »
  Print  
Author Topic: Vanitygen: Vanity bitcoin address generator/miner [v0.22]  (Read 1155343 times)
Jude Austin
Legendary
*
Offline

Activity: 1141
Merit: 1000


The Real Jude Austin


View Profile WWW
July 31, 2015, 11:11:37 PM
 #2281

So I can only get oclvanitygen to recognize 2 GPUs at a time on same rig....even if I have 5 connected. Is this normal?

Did you try using -D argument?

oclvanitygen64 -D 0:0 -D 0:1 -D 0:2 -D 0:3 -D 0:4 12manyGPUs

Buy or sell $100 of Crypto and get $10!
bitcreditscc
Hero Member
*****
Offline

Activity: 602
Merit: 503



View Profile
August 02, 2015, 03:50:47 AM
 #2282

Been wondering how to go about creating a vanity multi-sig address anyone ever attempted ? Fail/Succeed?

TheRealSteve
Hero Member
*****
Offline

Activity: 686
Merit: 505

FUN > ROI


View Profile
August 02, 2015, 11:57:56 AM
 #2283

Been wondering how to go about creating a vanity multi-sig address anyone ever attempted ? Fail/Succeed?
See this discussion for some pointers:
https://www.reddit.com/r/Bitcoin/comments/202ka5/is_it_possible_to_make_a_vanity_multisig_address/

I'm pretty sure I've seen a multisig vanity out there used either by a pool or an exchange, but don't recall any details.

bitcreditscc
Hero Member
*****
Offline

Activity: 602
Merit: 503



View Profile
August 02, 2015, 06:17:39 PM
 #2284

Been wondering how to go about creating a vanity multi-sig address anyone ever attempted ? Fail/Succeed?
See this discussion for some pointers:
https://www.reddit.com/r/Bitcoin/comments/202ka5/is_it_possible_to_make_a_vanity_multisig_address/

I'm pretty sure I've seen a multisig vanity out there used either by a pool or an exchange, but don't recall any details.

great thanks!!!

tspacepilot
Legendary
*
Offline

Activity: 1456
Merit: 1090


I may write code in exchange for bitcoins.


View Profile
August 03, 2015, 09:16:11 PM
 #2285

I guess I finally noticed this paragraph on the wiki page for vanitygen:

Quote
As vanitygen performs a lot of large integer arithmetic, running it in 64-bit mode makes a huge difference in key search rate, easily a 50% improvement over 32-bit mode. If you are using a 64-bit edition of Windows, and not using a GPU, be sure to use vanitygen64.exe.
So that made me double-check and it turned out that my binary of vanitygen was:

Code:
tspacepilot@computer:~/src/vanitygen$ file vanitygen
vanitygen: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=36407df1ab36b5bef2906e418394ec750806c884, not stripped

Whoops!

So I rebuilt it and now Ihave a 64-bit executable and things are faster.  Okay, so I continue reading on the same page:

Quote
In custom builds, CPU performance will be less than expected if the OpenSSL library is an older version (<1.0.0d) or is not built with the appropriate optimizations enabled.


Well, I had built by just saying "make", so this makes me wonder what are the appropriate optimizations (are they Makefile options I should be passing?).  That's the point of this question then, should I just say "make" or should I be passing some kind of optimization parameters?
hexafraction
Sr. Member
****
Offline

Activity: 392
Merit: 273

Tips welcomed: 1CF4GhXX1RhCaGzWztgE1YZZUcSpoqTbsJ


View Profile
August 03, 2015, 09:36:40 PM
 #2286

I guess I finally noticed this paragraph on the wiki page for vanitygen:

Quote
As vanitygen performs a lot of large integer arithmetic, running it in 64-bit mode makes a huge difference in key search rate, easily a 50% improvement over 32-bit mode. If you are using a 64-bit edition of Windows, and not using a GPU, be sure to use vanitygen64.exe.
So that made me double-check and it turned out that my binary of vanitygen was:

Code:
tspacepilot@computer:~/src/vanitygen$ file vanitygen
vanitygen: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=36407df1ab36b5bef2906e418394ec750806c884, not stripped

Whoops!

So I rebuilt it and now Ihave a 64-bit executable and things are faster.  Okay, so I continue reading on the same page:

Quote
In custom builds, CPU performance will be less than expected if the OpenSSL library is an older version (<1.0.0d) or is not built with the appropriate optimizations enabled.


Well, I had built by just saying "make", so this makes me wonder what are the appropriate optimizations (are they Makefile options I should be passing?).  That's the point of this question then, should I just say "make" or should I be passing some kind of optimization parameters?

You might need to set CFLAGS and/or CXXFLAGS to include -O3 when running configure if you don't see -O3 in the command lines shown when running make. However, -O3 might be already set most likely. I'd need to double check.

I have recently become active again after a long period of inactivity. Cryptographic proof that my account has not been compromised is available.
tspacepilot
Legendary
*
Offline

Activity: 1456
Merit: 1090


I may write code in exchange for bitcoins.


View Profile
August 03, 2015, 09:42:59 PM
 #2287

I guess I finally noticed this paragraph on the wiki page for vanitygen:

Quote
As vanitygen performs a lot of large integer arithmetic, running it in 64-bit mode makes a huge difference in key search rate, easily a 50% improvement over 32-bit mode. If you are using a 64-bit edition of Windows, and not using a GPU, be sure to use vanitygen64.exe.
So that made me double-check and it turned out that my binary of vanitygen was:

Code:
tspacepilot@computer:~/src/vanitygen$ file vanitygen
vanitygen: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=36407df1ab36b5bef2906e418394ec750806c884, not stripped

Whoops!

So I rebuilt it and now Ihave a 64-bit executable and things are faster.  Okay, so I continue reading on the same page:

Quote
In custom builds, CPU performance will be less than expected if the OpenSSL library is an older version (<1.0.0d) or is not built with the appropriate optimizations enabled.


Well, I had built by just saying "make", so this makes me wonder what are the appropriate optimizations (are they Makefile options I should be passing?).  That's the point of this question then, should I just say "make" or should I be passing some kind of optimization parameters?

You might need to set CFLAGS and/or CXXFLAGS to include -O3 when running configure if you don't see -O3 in the command lines shown when running make. However, -O3 might be already set most likely. I'd need to double check.

I might be completely wrong here, but isn't the -O3 just going to build the program in parallel?  I guess I thought the wiki wasn't referring to optimizing the build process itself, but to optimizing the built binary for working on some harware or another.  Please correct me if I'm wrong!
hexafraction
Sr. Member
****
Offline

Activity: 392
Merit: 273

Tips welcomed: 1CF4GhXX1RhCaGzWztgE1YZZUcSpoqTbsJ


View Profile
August 03, 2015, 09:52:42 PM
 #2288


I might be completely wrong here, but isn't the -O3 just going to build the program in parallel?  I guess I thought the wiki wasn't referring to optimizing the build process itself, but to optimizing the built binary for working on some harware or another.  Please correct me if I'm wrong!

No, that's -j2 (or some other number) passed to make. -O3 means optimization level 3 (highest performance). When you add it to CFLAGS or CXXFLAGS and then run ./configure, the makefile will contain -O3 for all compiler steps. Thus the compiler will be called with -O3 and thus every compilation unit/source file will be compiled with maximum optimizations.

I have recently become active again after a long period of inactivity. Cryptographic proof that my account has not been compromised is available.
tspacepilot
Legendary
*
Offline

Activity: 1456
Merit: 1090


I may write code in exchange for bitcoins.


View Profile
August 03, 2015, 10:14:18 PM
 #2289


I might be completely wrong here, but isn't the -O3 just going to build the program in parallel?  I guess I thought the wiki wasn't referring to optimizing the build process itself, but to optimizing the built binary for working on some harware or another.  Please correct me if I'm wrong!

No, that's -j2 (or some other number) passed to make. -O3 means optimization level 3 (highest performance). When you add it to CFLAGS or CXXFLAGS and then run ./configure, the makefile will contain -O3 for all compiler steps. Thus the compiler will be called with -O3 and thus every compilation unit/source file will be compiled with maximum optimizations.

Thanks, I'll look at the Makefile that I downloaded from github and see what's going on in there with respect to CFLAGS/CXXFLAGS.

EDIT:

This is the top of the default Makefile, looks like I'm okay if that's the only optimizations they're referring to in the wiki:

Code:
LIBS=-lpcre -lcrypto -lm -lpthread
CFLAGS=-ggdb -O3 -Wall
hexafraction
Sr. Member
****
Offline

Activity: 392
Merit: 273

Tips welcomed: 1CF4GhXX1RhCaGzWztgE1YZZUcSpoqTbsJ


View Profile
August 03, 2015, 10:21:46 PM
 #2290


I might be completely wrong here, but isn't the -O3 just going to build the program in parallel?  I guess I thought the wiki wasn't referring to optimizing the build process itself, but to optimizing the built binary for working on some harware or another.  Please correct me if I'm wrong!

No, that's -j2 (or some other number) passed to make. -O3 means optimization level 3 (highest performance). When you add it to CFLAGS or CXXFLAGS and then run ./configure, the makefile will contain -O3 for all compiler steps. Thus the compiler will be called with -O3 and thus every compilation unit/source file will be compiled with maximum optimizations.

Thanks, I'll look at the Makefile that I downloaded from github and see what's going on in there with respect to CFLAGS/CXXFLAGS.

EDIT:

This is the top of the default Makefile, looks like I'm okay if that's the only optimizations they're referring to in the wiki:

Code:
LIBS=-lpcre -lcrypto -lm -lpthread
CFLAGS=-ggdb -O3 -Wall

Yep, it looks like it's being fully optimized. I'm not sure why -ggdb is included; debug builds usually have poorer performance. -ggdb should be removed and the final executable tested.

I have recently become active again after a long period of inactivity. Cryptographic proof that my account has not been compromised is available.
tspacepilot
Legendary
*
Offline

Activity: 1456
Merit: 1090


I may write code in exchange for bitcoins.


View Profile
August 03, 2015, 10:26:32 PM
 #2291


I might be completely wrong here, but isn't the -O3 just going to build the program in parallel?  I guess I thought the wiki wasn't referring to optimizing the build process itself, but to optimizing the built binary for working on some harware or another.  Please correct me if I'm wrong!

No, that's -j2 (or some other number) passed to make. -O3 means optimization level 3 (highest performance). When you add it to CFLAGS or CXXFLAGS and then run ./configure, the makefile will contain -O3 for all compiler steps. Thus the compiler will be called with -O3 and thus every compilation unit/source file will be compiled with maximum optimizations.

Thanks, I'll look at the Makefile that I downloaded from github and see what's going on in there with respect to CFLAGS/CXXFLAGS.

EDIT:

This is the top of the default Makefile, looks like I'm okay if that's the only optimizations they're referring to in the wiki:

Code:
LIBS=-lpcre -lcrypto -lm -lpthread
CFLAGS=-ggdb -O3 -Wall

Yep, it looks like it's being fully optimized. I'm not sure why -ggdb is included; debug builds usually have poorer performance. -ggdb should be removed and the final executable tested.

Thanks for the tip, I'll remove the debugger flag and rebuild.  Cheers!

EDIT: that actually does appear to have made a small difference, but to be honest I think it's in the margin of error (10Kkeys/s or so) since I'm doing other things on this computer at the same time.
hexafraction
Sr. Member
****
Offline

Activity: 392
Merit: 273

Tips welcomed: 1CF4GhXX1RhCaGzWztgE1YZZUcSpoqTbsJ


View Profile
August 03, 2015, 10:33:23 PM
 #2292


I might be completely wrong here, but isn't the -O3 just going to build the program in parallel?  I guess I thought the wiki wasn't referring to optimizing the build process itself, but to optimizing the built binary for working on some harware or another.  Please correct me if I'm wrong!

No, that's -j2 (or some other number) passed to make. -O3 means optimization level 3 (highest performance). When you add it to CFLAGS or CXXFLAGS and then run ./configure, the makefile will contain -O3 for all compiler steps. Thus the compiler will be called with -O3 and thus every compilation unit/source file will be compiled with maximum optimizations.

Thanks, I'll look at the Makefile that I downloaded from github and see what's going on in there with respect to CFLAGS/CXXFLAGS.

EDIT:

This is the top of the default Makefile, looks like I'm okay if that's the only optimizations they're referring to in the wiki:

Code:
LIBS=-lpcre -lcrypto -lm -lpthread
CFLAGS=-ggdb -O3 -Wall

Yep, it looks like it's being fully optimized. I'm not sure why -ggdb is included; debug builds usually have poorer performance. -ggdb should be removed and the final executable tested.

Thanks for the tip, I'll remove the debugger flag and rebuild.  Cheers!

EDIT: that actually does appear to have made a small difference, but to be honest I think it's in the margin of error (10Kkeys/s or so) since I'm doing other things on this computer at the same time.

No problem, I'll do some testing myself. I don't have working OpenCL drivers so I'm forced to go CPU, so I'm always on the lookout for compile-time optimizations beyond the defaults for some CPU-intensive executables I use.

I have recently become active again after a long period of inactivity. Cryptographic proof that my account has not been compromised is available.
ChetnotAtkins
Full Member
***
Offline

Activity: 131
Merit: 101


View Profile
August 20, 2015, 01:42:52 PM
 #2293

Could anybody post the necessary code changes to allow oclvanitygen to generate compressed and uncompressed keys simultaneously? I suspect the speed increase must be substantial

Thanks!
deepceleron
Legendary
*
Offline

Activity: 1512
Merit: 1064



View Profile WWW
August 23, 2015, 12:42:06 PM
 #2294

Could anybody post the necessary code changes to allow oclvanitygen to generate compressed and uncompressed keys simultaneously? I suspect the speed increase must be substantial

Thanks!
Your "suspicion" is misplaced. The only calculation in common that would be saved is the calculation of the x coordinate of the public key, which is just a few multiplications. Everything else, from creating the compressed public key parity, creating an address from a compressed public key and checking for the vanity match would be a completely different process.
Monopoly
Hero Member
*****
Offline

Activity: 546
Merit: 500



View Profile
August 23, 2015, 03:05:23 PM
 #2295

I have 5 prefix letters , what is the command line for find at least a BTC address for it ?
hexafraction
Sr. Member
****
Offline

Activity: 392
Merit: 273

Tips welcomed: 1CF4GhXX1RhCaGzWztgE1YZZUcSpoqTbsJ


View Profile
August 23, 2015, 03:06:15 PM
 #2296

I have 5 prefix letters , what is the command line for find at least a BTC address for it ?

Um, just vanitygen 1Prefix or oclvanitygen 1Prefix?

I have recently become active again after a long period of inactivity. Cryptographic proof that my account has not been compromised is available.
Monopoly
Hero Member
*****
Offline

Activity: 546
Merit: 500



View Profile
August 23, 2015, 03:09:52 PM
 #2297

I have 5 prefix letters , what is the command line for find at least a BTC address for it ?

Um, just vanitygen 1Prefix or oclvanitygen 1Prefix?

vanitygen 1Prefix
Muhammed Zakir
Hero Member
*****
Offline

Activity: 560
Merit: 518


I prefer Zakir over Muhammed when mentioning me!


View Profile WWW
August 23, 2015, 03:24:56 PM
Last edit: August 23, 2015, 04:09:50 PM by Muhammed Zakir
 #2298

I have 5 prefix letters , what is the command line for find at least a BTC address for it ?

Case-sensitive prefix search:
Code:
"path\to\vanitygen.exe" 1Prefix

Case-insensitive prefix search (faster):
Code:
"path\to\vanitygen.exe" -i 1Prefix

Case-sensitive prefix search but not limited to 1 match:
Code:
"path\to\vanitygen.exe" -k 1Prefix

Case-sensitive prefix search but not limited to 1 match and saves all matches to a file:
Code:
"path\to\vanitygen.exe" -k -o anything 1Prefix

Note: If you want to save all matches to a file in the same folder Vanitygen is, specify the path to directory. Eg:- "path\to\vanitygen.exe" -k -o "path\to\anything" 1za

Edit: Searching for compressed key is faster than uncompressed key. Download Lifeboat's vanitygen. See https://bitcointalk.org/index.php?topic=301068.0. Also, see https://bitcointalk.org/index.php?topic=25804.msg10590011#msg10590011.

Case-sensitive prefix search but not limited to 1 match and saves all matches to a file (compressed):
Code:
"path\to\vanitygen.exe" -k -F compressed -o anything 1Prefix

tspacepilot
Legendary
*
Offline

Activity: 1456
Merit: 1090


I may write code in exchange for bitcoins.


View Profile
August 23, 2015, 06:48:15 PM
 #2299

Could anybody post the necessary code changes to allow oclvanitygen to generate compressed and uncompressed keys simultaneously? I suspect the speed increase must be substantial

Thanks!
Your "suspicion" is misplaced. The only calculation in common that would be saved is the calculation of the x coordinate of the public key, which is just a few multiplications. Everything else, from creating the compressed public key parity, creating an address from a compressed public key and checking for the vanity match would be a completely different process.

Given that there are two bitcoin addresses per private key, that if you are iterating through private keys pseudo-randomly (i assume this is what vanitygen does, at the end of the day), it does seem that you may as well look at both the addresses each time you calculate a point on the curve for a given private key.  I recently implemented this using some code from ken sherrif's bitcoins-the-hard-way blog along with some library routines from ecdsa module in python and I could basically as step one create a seed; step 2, get a point on the curve; and from there the process forks and you'd have two methods of generating a pubkey (one with and one without the y part).  Anyway, it seems to me like there could be some value in looking at both addresses once you have a point on the curve.

Code:
def pubKeyToAddr(s):
  ripemd160 = hashlib.new('ripemd160')
  ripemd160.update(hashlib.sha256(s.decode('hex')).digest())
  return base58CheckEncode(0, ripemd160.digest())

def privateKeyToPublicKey(s, compressed=False):
  sk = ecdsa.SigningKey.from_string(s.decode('hex'), curve=ecdsa.SECP256k1)
  vk = sk.verifying_key

  if compressed:
    from ecdsa.util import number_to_string
    order = vk.pubkey.order
    x_str = number_to_string(vk.pubkey.point.x(), order).encode('hex')
    sign = '02' if vk.pubkey.point.y() % 2 == 0 else '03'
    return (sign+x_str)
  else:
    return ('\04' + vk.to_string()).encode('hex')


private_key = ''.join(['%x' % random.randrange(16) for x in range(0,64)])
print "A private key: ", private_key
public_key = privateKeyToPublicKey(private_key)
cpublic_key = privateKeyToPublicKey(private_key,compressed=True)
print "The uncompressed bitcoin address: ", pubKeyToAddr(public_key)
print "The bitcoin address: ", pubKeyToAddr(cpublic_key)
Monopoly
Hero Member
*****
Offline

Activity: 546
Merit: 500



View Profile
August 24, 2015, 02:35:05 AM
Last edit: August 24, 2015, 03:12:48 AM by Monopoly
 #2300

I have 5 prefix letters , what is the command line for find at least a BTC address for it ?

Case-sensitive prefix search:
Code:
"path\to\vanitygen.exe" 1Prefix

Case-insensitive prefix search (faster):
Code:
"path\to\vanitygen.exe" -i 1Prefix

Case-sensitive prefix search but not limited to 1 match:
Code:
"path\to\vanitygen.exe" -k 1Prefix

Case-sensitive prefix search but not limited to 1 match and saves all matches to a file:
Code:
"path\to\vanitygen.exe" -k -o anything 1Prefix

Note: If you want to save all matches to a file in the same folder Vanitygen is, specify the path to directory. Eg:- "path\to\vanitygen.exe" -k -o "path\to\anything" 1za

Edit: Searching for compressed key is faster than uncompressed key. Download Lifeboat's vanitygen. See https://bitcointalk.org/index.php?topic=301068.0. Also, see https://bitcointalk.org/index.php?topic=25804.msg10590011#msg10590011.

Case-sensitive prefix search but not limited to 1 match and saves all matches to a file (compressed):
Code:
"path\to\vanitygen.exe" -k -F compressed -o anything 1Prefix

What are command lines for oclvanitygen ? does oclvanitygen use graphic card for computing ? and this is faster than vanitygen ?
Pages: « 1 ... 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 114 [115] 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 ... 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!