Bitcoin Forum
December 06, 2016, 06:18:47 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 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 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 ... 155 »
  Print  
Author Topic: Vanitygen: Vanity bitcoin address generator/miner [v0.22]  (Read 808876 times)
TheRealSteve
Hero Member
*****
Offline Offline

Activity: 686

FUN > ROI


View Profile
February 26, 2015, 08:43:58 PM
 #2021

On the CPU the hashing is done in batches of 256 ECDSA keys, I have to recheck the code but I think that when a match is found the remaining 255 might no longer be checked/validated.
That would certainly explain the ~0.39% (1/256*100%) Smiley

As for the rest: yeah, as expected.  If organofcorti isn't already working on it himself, I'm sure he'd appreciate somebody making the appropriate changes.
I know just enough about the code to be dangerous, so count me out.  Happy to throw in for a bounty though - guy does nice things with data collection/analysis/visualization

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Kangaderoo
Member
**
Offline Offline

Activity: 79


View Profile
February 26, 2015, 09:00:42 PM
 #2022


Probably the reason the "1" and "1A" are relative equal in speed, statistically each batch will have about 10 "1A" matches.

Just to correct myself, 256 /58 (base 58) is just over 4 not 10  Grin

Slow but steady Android coin mining with NeoNeonMiner
BTC:1NeoArmnGyWHKfbje9JNWqw3tquMY7jHCw
Kangaderoo
Member
**
Offline Offline

Activity: 79


View Profile
February 26, 2015, 09:27:09 PM
 #2023

I did a little code review,
The following can be found in the 'vanitygen.c' file
Code:
    vxcp->vxc_delta=vxcp->vxc_delta-step;
   for (j=0;j<step;j++){
    memcpy(vxcp->vxc_binres+1,MDBufChar+j*32,20);
    switch (test_func(vxcp)) {
case 1:
npoints = 0;
rekey_at = 0;
i = nbatch;
j = step;
break;
case 2:
break;
goto out;
default:
break;
}
    vxcp->vxc_delta++;
   }
}
The test_func(vxcp) returns a "1" when a match is found, all counters are reset, so it is not evaluating the remaining codes.

When using the -k (keep searching) and the -q (just don't want to many screen updates) it seems that all 256 keys in the batch are evaluated.
if the following lines are remarked.
Code:
case 1:
// remark npoints = 0;
// remark rekey_at = 0;
// remark i = nbatch;
// remark        j = step;
break;

Since it is now determining the checksum for each match the speed is not increased by 256  Sad
but on my system the output file is about twice the size after a short run.

Slow but steady Android coin mining with NeoNeonMiner
BTC:1NeoArmnGyWHKfbje9JNWqw3tquMY7jHCw
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 1946


Poor impulse control.


View Profile WWW
February 27, 2015, 05:18:10 AM
 #2024

Thanks Kangaderoo, TheRealSteve and K1773R. You've given me some things to try now, I'll see how it goes.

Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
salfter
Hero Member
*****
Offline Offline

Activity: 550


My PGP Key: 92C7689C


View Profile WWW
March 02, 2015, 11:19:27 PM
 #2025

I've made a vanitygen ebuild (for Gentoo) available:

https://github.com/salfter/portage

It's under app-crypt.  If the opencl USE flag is enabled, oclvanitygen is built as well.  The ebuild uses my vanitygen fork, which includes nonnakip's patch for newer Radeons:

https://github.com/salfter/vanitygen

So far, I've tested it on an AMD A4-3300.  oclvanitygen (using the latest fglrx driver in Portage) runs about 4x faster than vanitygen.

My Bitgem Pool - PPLNS, Stratum | Gridseed Miners - $25 off your first order | BTG Explorer
Tipjars: BTC 1TipsGocnz2N5qgAm9f7JLrsMqkb3oXe2 LTC LTipsVC7XaFy9M6Zaf1aGGe8w8xVUeWFvR BTG gTipsVB9qmyYHuqMMKTuCYMHpfkUFBXKrZ | My Bitcoin Note Generator | Pyramining: 1 2 3 4 5
DonQuijote
Legendary
*
Offline Offline

Activity: 1064


♠ ♥ ♣ ♦ < ♛♚&#


View Profile
March 02, 2015, 11:35:55 PM
 #2026

~/vanitygen $ env LD_LIBRARY_PATH=./sdklib ./oclvanitygen -d 0:1 -d 0:2 -d 0:3 -k 1Nasty
Difficulty: 259627881
Pattern: 1Nasty                                                               
Address: 1Nastyf64qw5xXuBD6ybVLvTVhncLmU9zb
Privkey: 5JizejJoHntiZbG6JHofV97559RjeeYGbHKAwUj63tNrMrMpWri
[25.01 Mkey/s][total 96468992][Prob 9.2%][50% in 6.2s][Found 1]                ^C
~/vanitygen $

didn't work still the program sees 1 vga only.

i did this to see what the programs sees:
~/vanitygen $ env LD_LIBRARY_PATH=./sdklib ./oclvanitygen -d 3:1 -k 1Nasty
Difficulty: 259627881
Available OpenCL platforms:
0: [Advanced Micro Devices, Inc.] AMD Accelerated Parallel Processing
  0: [Advanced Micro Devices, Inc.] Tahiti
  1: [AuthenticAMD] AMD Athlon(tm) II X2 270 Processor
~/vanitygen $

it sees 1 vga only? :/

Did you check the drivers? Is everything updated? Does your PC detects 3 VGAs?

   ~~MZ~~

(they are not in crossfire, i will try to install drivers again i think ). I dont know how to check in linux if the pc reads 4 vga. Is there any program for that? like... aida64? but for linux :p
i followed the guide in page 75, meaby is something wrong wrriten here:

# This is the procedure to get oclvanitygen running with AMD Raedon 7xxx
# on a fresh install of Ubuntu 64-bit. (tested with Ubuntu 12.04 and 14.04)

# install tools, dependencies and driver
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) restricted"
sudo apt-get update
sudo apt-get install build-essential git libssl-dev libpcre3-dev opencl-headers fglrx-dev
sudo reboot

# get source and compile oclvanitygen
git clone https://github.com/samr7/vanitygen.git
cd vanitygen
wget https://nastyfans.org/download/patch-oclvanitygen-amd.diff
patch -p1 < patch-oclvanitygen-amd.diff
wget https://nastyfans.org/download/AMD-APP-SDK-v2.7-lib-lnx64.tar.gz
mkdir sdklib
tar -xzvf AMD-APP-SDK-v2.7-lib-lnx64.tar.gz -C sdklib
make oclvanitygen

# run oclvanitygen (from inside vanitygen directory)
env LD_LIBRARY_PATH=./sdklib ./oclvanitygen -D 0:0 -k 1Nasty

Is it working now?
Is it the last "working guide"
Thanks

THE INGENIOUS GENTLEMAN DON QUIXOTE OF LA MANCHA
♠ ♥ ♣ ♦ < ♛♚♝♞♜ BTC tips address: 18vHV7TsnAfj16PfR5VVtCu9BiYuSidaeb
salfter
Hero Member
*****
Offline Offline

Activity: 550


My PGP Key: 92C7689C


View Profile WWW
March 13, 2015, 04:38:01 PM
 #2027

I've made a vanitygen ebuild (for Gentoo) available:

https://github.com/salfter/portage

It's under app-crypt.  If the opencl USE flag is enabled, oclvanitygen is built as well.  The ebuild uses my vanitygen fork, which includes nonnakip's patch for newer Radeons:

https://github.com/salfter/vanitygen

So far, I've tested it on an AMD A4-3300.  oclvanitygen (using the latest fglrx driver in Portage) runs about 4x faster than vanitygen.

These have now been updated so that calc_addrs.cl gets loaded from /usr/lib/oclvanitygen and the object code generated at runtime from it gets saved to /tmp.  This makes oclvanitygen nearly as easy to use as vanitygen, as you don't need to keep these files in your home directory (or whatever).

My Bitgem Pool - PPLNS, Stratum | Gridseed Miners - $25 off your first order | BTG Explorer
Tipjars: BTC 1TipsGocnz2N5qgAm9f7JLrsMqkb3oXe2 LTC LTipsVC7XaFy9M6Zaf1aGGe8w8xVUeWFvR BTG gTipsVB9qmyYHuqMMKTuCYMHpfkUFBXKrZ | My Bitcoin Note Generator | Pyramining: 1 2 3 4 5
onewiseguy
Hero Member
*****
Offline Offline

Activity: 728



View Profile
March 14, 2015, 05:28:52 PM
 #2028

Does this vanity gen still work?
TheRealSteve
Hero Member
*****
Offline Offline

Activity: 686

FUN > ROI


View Profile
March 14, 2015, 06:03:28 PM
 #2029

Does this vanity gen still work?
That's a question that needs expanding.  What exactly are you trying to get an answer to?

Can you still run vanitygen?  Yes.
Can you still use vanity addresses?  Of course.
Can you still run oclvanitygen?  Might depend on your graphics card.  Works fine here.

tspacepilot
Legendary
*
Offline Offline

Activity: 1232


I will write code in exchange for bitcoins.


View Profile
March 14, 2015, 06:07:55 PM
 #2030

Does this vanity gen still work?

I don't have any problem running vanitygen, ie it works for me.  Did you experience some issue with it?

Not currently actively browsing this forum.  I do still respond to PMs though.
mitus-2
Full Member
***
Offline Offline

Activity: 168



View Profile
March 14, 2015, 06:08:52 PM
 #2031

Does this vanity gen still work?

sure it works fine

onewiseguy
Hero Member
*****
Offline Offline

Activity: 728



View Profile
March 14, 2015, 06:13:03 PM
 #2032

Does this vanity gen still work?
That's a question that needs expanding.  What exactly are you trying to get an answer to?

Can you still run vanitygen?  Yes.
Can you still use vanity addresses?  Of course.
Can you still run oclvanitygen?  Might depend on your graphics card.  Works fine here.


sorry :/ meant no stealing no back doors.

and can it be used on mac:)
tspacepilot
Legendary
*
Offline Offline

Activity: 1232


I will write code in exchange for bitcoins.


View Profile
March 14, 2015, 06:14:59 PM
 #2033

Does this vanity gen still work?
That's a question that needs expanding.  What exactly are you trying to get an answer to?

Can you still run vanitygen?  Yes.
Can you still use vanity addresses?  Of course.
Can you still run oclvanitygen?  Might depend on your graphics card.  Works fine here.


sorry :/ meant no stealing no back doors.

and can it be used on mac:)

No back doors.  But this is an open-source program so you can download the source and see for yourself.  As I recall, I downloaded a source tarball and built it (I don't know if they distribute binaries).

As far as running on mac, I would guess you'll have luck.  I've only run it on GNU/Linux but given the *nix similarities I would suppose you'll be fine.

Not currently actively browsing this forum.  I do still respond to PMs though.
onewiseguy
Hero Member
*****
Offline Offline

Activity: 728



View Profile
March 14, 2015, 06:15:35 PM
 #2034

Does this vanity gen still work?

I don't have any problem running vanitygen, ie it works for me.  Did you experience some issue with it?

Better question is there a img file for mac already to run Smiley
onewiseguy
Hero Member
*****
Offline Offline

Activity: 728



View Profile
March 14, 2015, 06:17:22 PM
 #2035

Does this vanity gen still work?
That's a question that needs expanding.  What exactly are you trying to get an answer to?

Can you still run vanitygen?  Yes.
Can you still use vanity addresses?  Of course.
Can you still run oclvanitygen?  Might depend on your graphics card.  Works fine here.


sorry :/ meant no stealing no back doors.

and can it be used on mac:)

No back doors.  But this is an open-source program so you can download the source and see for yourself.  As I recall, I downloaded a source tarball and built it (I don't know if they distribute binaries).

As far as running on mac, I would guess you'll have luck.  I've only run it on GNU/Linux but given the *nix similarities I would suppose you'll be fine.


thanks checking now. Appreciate the response.  I would pay for some one to do it since i would think it will take a while on a mac. but afraid of private key being used :/  any legit services out there?
TheRealSteve
Hero Member
*****
Offline Offline

Activity: 686

FUN > ROI


View Profile
March 14, 2015, 06:27:30 PM
 #2036

sorry :/ meant no stealing no back doors.
and can it be used on mac:)
Good questions! Smiley

The official repo has no back doors last I checked, which is a week-ish ago.  You'd have to do a diff between any of the third party ones. and the official one to double-check if any of those contain any changes other than optimizations/etc.  I do recommend using one that's more actively being maintained, like salfter's, or an earlier one like WyseNinja's

Although I don't know off-hand about any published OS X binaries, the source code comes with a Makefile that includes OS X support.  Should just be a matter of downloading the repo and running 'make'; though that may require further steps (alternative steps).

tspacepilot
Legendary
*
Offline Offline

Activity: 1232


I will write code in exchange for bitcoins.


View Profile
March 14, 2015, 06:28:52 PM
 #2037

Does this vanity gen still work?
That's a question that needs expanding.  What exactly are you trying to get an answer to?

Can you still run vanitygen?  Yes.
Can you still use vanity addresses?  Of course.
Can you still run oclvanitygen?  Might depend on your graphics card.  Works fine here.


sorry :/ meant no stealing no back doors.

and can it be used on mac:)

No back doors.  But this is an open-source program so you can download the source and see for yourself.  As I recall, I downloaded a source tarball and built it (I don't know if they distribute binaries).

As far as running on mac, I would guess you'll have luck.  I've only run it on GNU/Linux but given the *nix similarities I would suppose you'll be fine.


thanks checking now. Appreciate the response.  I would pay for some one to do it since i would think it will take a while on a mac. but afraid of private key being used :/  any legit services out there?

Well, yes, I don't know how to sort that out because if I or anyone else ran this program for you then by definition we'd be finding your priv/public key and you'd need to get that info from us. However, consider this: the vanity address you want will take longer (on average) to find the longer the vanity string is, BUT, you might just get lucky.  vanitygen randomly searches and so it's totally possibly (but improbable) to find a long vanity string very soon.  How long is the vanity string you're trying to find?  I was able to find 5 and 6 character vanity strings in a half day or so on a low-power, portable laptop.

Not currently actively browsing this forum.  I do still respond to PMs though.
TheRealSteve
Hero Member
*****
Offline Offline

Activity: 686

FUN > ROI


View Profile
March 14, 2015, 06:44:54 PM
 #2038

thanks checking now. Appreciate the response.  I would pay for some one to do it since i would think it will take a while on a mac. but afraid of private key being used :/  any legit services out there?
Actually, yes.  ANY service that lets you use your own public key* in a split key generation method.
The split key generation method ensures that you can get your vanity address without the person generating it knowing what the private key for that address is, but you will know.  Vanitygen includes support for this.

* Note that this very specifically excludes any services that offer to generate that key for you.  Even if they pinkie swear not to store it on their servers or anything like that.

For more information, see: https://bitcointalk.org/index.php?topic=81865.msg901491#msg901491

tspacepilot
Legendary
*
Offline Offline

Activity: 1232


I will write code in exchange for bitcoins.


View Profile
March 14, 2015, 06:48:19 PM
 #2039

Thanks therealsteve, for correcting me there.  I had a feeling I had seen something of this sort before but I guess I discounted it without actually looking around.  ppreciate you setting the record straight and providing a link to the appropriate system (I'm reading about it now).

Not currently actively browsing this forum.  I do still respond to PMs though.
TheRealSteve
Hero Member
*****
Offline Offline

Activity: 686

FUN > ROI


View Profile
March 14, 2015, 06:52:17 PM
 #2040

No problem Smiley

I haven't checked services lately, but these do accept split key generation using your own split key part:
https://vanitypool.appspot.com/
http://vircurvault.com/order/bitcoin/vanity/custom
https://bitcointalk.org/index.php?topic=270180.0

Example of a service that's doing it wrong, because they generate your part of the split key for you:
https://coinbit.tk/generate.php
Last I checked - which is almost a year ago now - they indeed did not send the key to their server.  BUT, here's why you still shouldn't trust services that generate your part of the split key anyway:
https://bitcointalk.org/index.php?topic=118968.0
( tl;dr: vanity address generation service operator says his site was hacked to send the split key part to a malicious actor's server, thus compromising the generated vanity addresses. )

Pages: « 1 ... 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 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 ... 155 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!