TheRealSteve
|
|
June 07, 2015, 05:31:32 PM |
|
Try with -r command. It is working for me. [...] it is better than nothing. I disagree. | -r (1a|1ab|1abc) | 1a 1ab 1abc | 1a | ocl -r | ocl 1a 1ab 1abc | complains about overlap | no | yes | no | n/a | yes | finds 1a | yes | yes | yes | n/a | yes | finds 1ab | yes | yes | yes | n/a | yes | finds 1abc | yes | yes | yes | n/a | yes | finds 1ax | yes | yes | yes | n/a | yes | Kkeys/s (example) | ~150 | ~220 | ~220 | n/a | ~2800 |
So at the benefit of it not complaining about overlap, you lose a lot of performance compared to just the CPU version alone - never mind compared against the OpenCL version (which doesn't support regex). And that would be the only benefit, as functionally it's still the exact same. The only time there's a functional difference is if the prefixes are provided in reduced specificity order, e.g. '1abc 1ab 1a' - which is something a preparser could easily deal with before sending them to vanitygen.
|
|
|
|
georgem
Legendary
Offline
Activity: 1484
Merit: 1007
spreadcoin.info
|
|
June 07, 2015, 05:35:46 PM |
|
remove return vp; and replace it with ptrp = &itemp->ai_left;
And it doesn't even matter if I replace it with ptrp = &itemp->ai_right; It works either way. Thanks again.
|
|
|
|
santzi
Newbie
Offline
Activity: 3
Merit: 0
|
|
June 23, 2015, 11:21:06 AM |
|
Helou,
Could someone give some coding support for vanitygen (oclvanitygen)? I'm using oclvanitygen (GPU) with Linux and I could compile a new version from source code.
So I need some advices for my "problem". When oclvanitygen found ex "1GeGeA" pattern with -k option (Keep pattern and continue search after finding a match), now it's generate a new random seed and start again from different point. I need to modify the source code that way, when it found a pattern, it does not generate a random seed value, only increase X value amount to "secret exponent value". So the starting point is quite near the previous one (diff X).
example: Difficulty: 259627881 Pattern: 1GeGeA Address: 1GeGeAAzBwzcPpCiMdGSURUBxLdSW3PFV3 Privkey: 5JpiwYTQZmKCtfumGP1wsZuZdfEvEBqSiEojSHh6QUPdM1a1pgV
This Privkey is hex and dec (=secret exponent): 84b05b4fff33236fe6f1e8d886d94fd8f4498d71ea0420d1902c90d9bf246bd5 60016891312021175057331173446731109351198050644514140408495846939253006429141
If X value is 12345678, next starting point is: 60016891312021175057331173446731109351198050644514140408495846939253018774819 Address: 1FwwNCewMPk8RsnzA528QSse3NjXuV6745 Privkey: 5JpiwYTQZmKCtfumGP1wsZuZdfEvEBqSiEojSHh6QbXg96Bfepr
Could someone please give piece of code for me? I'm quite noob to code. I have look the source code, but it's quite difficult to understand.
Thank you very much!
|
|
|
|
Kangaderoo
Member
Offline
Activity: 89
Merit: 11
|
|
June 23, 2015, 11:50:44 AM Last edit: June 23, 2015, 02:28:15 PM by Kangaderoo |
|
Helou,
Could someone give some coding support for vanitygen (oclvanitygen)? I'm using oclvanitygen (GPU) with Linux and I could compile a new version from source code.
So I need some advices for my "problem". When oclvanitygen found ex "1GeGeA" pattern with -k option (Keep pattern and continue search after finding a match), now it's generate a new random seed and start again from different point. I need to modify the source code that way, when it found a pattern, it does not generate a random seed value, only increase X value amount to "secret exponent value". So the starting point is quite near the previous one (diff X).
---snip ----
Could someone please give piece of code for me? I'm quite noob to code. I have look the source code, but it's quite difficult to understand.
Thank you very much!
I Guess what you are looking for kind of kills the purpose of the ECDSA algorithm. The algorithms to find ECSDA points for addition and multiplications are not so straightforward to find points that are 'close'. The result is also hashed with SHA256, creating a big change in the result for each minor change. All the code you need for your problem is available, its called vanitygen, unfortunately >99% of the solutions/time is waisted.......
|
BTC:1NeoArmnGyWHKfbje9JNWqw3tquMY7jHCw
|
|
|
dnp
|
|
July 05, 2015, 09:10:50 PM |
|
for an arbitrary altcoin, how do i determine the -X value (address family, eg: dogecoin is value 30) to use in vanitygen ? is there a standard place in the coin's source code?
|
Explorer and full node hosting at explorer.dognose.net
|
|
|
TheRealSteve
|
|
July 05, 2015, 09:22:14 PM |
|
for an arbitrary altcoin, how do i determine the -X value (address family, eg: dogecoin is value 30) to use in vanitygen ? is there a standard place in the coin's source code?
Edit: Dogecoin's had some changes - updated link to new correct line number.
|
|
|
|
dnp
|
|
July 05, 2015, 09:31:45 PM |
|
It's usually in there assigned to PUBKEY_ADDRESS in one way or another.
thanks!
|
Explorer and full node hosting at explorer.dognose.net
|
|
|
gregory021998
Member
Offline
Activity: 129
Merit: 11
|
|
July 08, 2015, 02:38:00 PM |
|
Guys i have this error when i run oclvanitygen64.exe -v -i -D 0:0 1myaddress Error loading kernel file 'calc_addrs.cl': No such file or directory Could not open device '0:0', ignoring But they are in the same folder! How can i fix? Win 8.1
|
|
|
|
TheRealSteve
|
|
July 08, 2015, 02:57:59 PM |
|
You have to make sure that oclvanitygen is being run with its folder as the 'working directory'. It's best to open a command line window (cmd), make sure you're in the vanitygen folder ('cd' on over if needed), and then run it / any prepared batch file you made. If you're using a desktop shortcut, right-click it, choose properties, and make sure that the "Start in" field has the vanitygen folder. If you need further assistance on this, detail exactly how and what you run so we can give a more targeted approach
|
|
|
|
gregory021998
Member
Offline
Activity: 129
Merit: 11
|
|
July 08, 2015, 03:28:56 PM |
|
You have to make sure that oclvanitygen is being run with its folder as the 'working directory'. It's best to open a command line window (cmd), make sure you're in the vanitygen folder ('cd' on over if needed), and then run it / any prepared batch file you made. If you're using a desktop shortcut, right-click it, choose properties, and make sure that the "Start in" field has the vanitygen folder. If you need further assistance on this, detail exactly how and what you run so we can give a more targeted approach Cd worked thank you!
|
|
|
|
Itskok
Jr. Member
Offline
Activity: 54
Merit: 4
|
|
July 10, 2015, 04:12:02 PM |
|
Hi, How can i "loop" the generator so he can create more and more addresses for me when he finished the first one? instead of checking the machine each hour/day to see if its over and then press "enter" again..
Tnx!
|
|
|
|
Muhammed Zakir
|
|
July 10, 2015, 04:41:51 PM |
|
Hi, How can i "loop" the generator so he can create more and more addresses for me when he finished the first one? instead of checking the machine each hour/day to see if its over and then press "enter" again..
Tnx!
Use -k and you always use -o <name> to save the addresses and private keys generated to that file. Eg:- vanitygen.exe -k 1MZakir -o asd.txt
|
|
|
|
Itskok
Jr. Member
Offline
Activity: 54
Merit: 4
|
|
July 10, 2015, 04:51:44 PM |
|
Hi, How can i "loop" the generator so he can create more and more addresses for me when he finished the first one? instead of checking the machine each hour/day to see if its over and then press "enter" again..
Tnx!
Use -k and you always use -o <name> to save the addresses and private keys generated to that file. Eg:- vanitygen.exe -k 1MZakir -o asd.txtgreat,tnx where the txt is saved?
|
|
|
|
TheRealSteve
|
|
July 10, 2015, 04:54:12 PM |
|
It should get written away to the same folder as the vanitygen executable.
|
|
|
|
hexafraction
Sr. Member
Offline
Activity: 392
Merit: 268
Tips welcomed: 1CF4GhXX1RhCaGzWztgE1YZZUcSpoqTbsJ
|
|
July 10, 2015, 08:33:47 PM |
|
It should get written away to the same folder as the vanitygen executable.
If vanitygen.exe is on your path and your current directory isn't the dir where vanitygen.exe is located, then the file will be saved to the current directory instead.
|
|
|
|
RustyNomad
|
|
July 10, 2015, 08:36:10 PM |
|
Hi, How can i "loop" the generator so he can create more and more addresses for me when he finished the first one? instead of checking the machine each hour/day to see if its over and then press "enter" again..
Tnx!
Use -k and you always use -o <name> to save the addresses and private keys generated to that file. Eg:- vanitygen.exe -k 1MZakir -o asd.txtgreat,tnx where the txt is saved? You can tell it where to save the file by specifying the drive letter, example: vanitygen -k 1Test -o d:\MyAddress.txt
|
|
|
|
TheRealSteve
|
|
July 10, 2015, 08:44:32 PM |
|
If vanitygen.exe is on your path and your current directory isn't the dir where vanitygen.exe is located, then the file will be saved to the current directory instead.
And then they try to use oclvanitygen and have to jump through further hoops to avoid calc_addrs.cl not being found (see further up). I'd personally just as soon discourage running any flavor of vanitygen outside of its own directory.
|
|
|
|
hexafraction
Sr. Member
Offline
Activity: 392
Merit: 268
Tips welcomed: 1CF4GhXX1RhCaGzWztgE1YZZUcSpoqTbsJ
|
|
July 10, 2015, 09:38:06 PM |
|
If vanitygen.exe is on your path and your current directory isn't the dir where vanitygen.exe is located, then the file will be saved to the current directory instead.
And then they try to use oclvanitygen and have to jump through further hoops to avoid calc_addrs.cl not being found (see further up). I'd personally just as soon discourage running any flavor of vanitygen outside of its own directory. On Windows systems, perhaps. Windows was never known for its good file organization or path handling.
|
|
|
|
TheRealSteve
|
|
July 10, 2015, 09:40:01 PM |
|
On Windows systems, perhaps. Windows was never known for its good file organization or path handling.
Ain't that the truth
|
|
|
|
MaoChao
Legendary
Offline
Activity: 996
Merit: 1133
Get Some!
|
|
July 11, 2015, 08:06:07 AM |
|
It's working on Windows 8.1? I can not launch
|
|
|
|
|