Pages:
Author

Topic: VanitySearch (Yet another address prefix finder) - page 32. (Read 32072 times)

jr. member
Activity: 75
Merit: 2

Haven't been using the program for a couple of weeks, today gave it another try.
What I noticed:
Right now it is 20 Mkey/s GPU 20 Mkey/s and it periodically goes down to 10 / 10
two weeks ago it was 100 / 100 Mkeys. Why such a downgrade, what does it depend on?

Also, my laptop now makes a quiet sound while scanning, something like tac-tac-tac-tac-tac-tac every 5 seconds
sr. member
Activity: 462
Merit: 701
OMG, I changed the grid size as you suggested now I am getting 51 GK/s, amazing ...

Great:)

Is there any chance to use regex with gpu?

You can only use wildcard characters ? and *:
C:\C++\VanitySearch\x64\Release>VanitySearchCUDA8.exe -stop -gpu 1AB*C?D
VanitySearch v1.15
Search: 1AB*C?D [Compressed]
Start Fri Apr  3 08:57:58 2020
Base Key: 181D206E917CAA73BBD771F81508B51E6EAD5B63A4ACFE7C0EB334436372AEE9
Number of CPU thread: 3
GPU: GPU #0 GeForce GTX 645 (3x192 cores) Grid(24x128)

PubAddress: 1ABsAWqsewBsiTAFzUuABocgEAP8JP9C7D
Priv (WIF): p2pkh:L3uif98QLuVLNb71SgTrhKt61SjKXdJk1czxNb4j8ekRhpHYcmMj
Priv (HEX): 0xC79B2930ABC2F63E601320D0412AC8BAF4E39933AF67FBC445AEEC73DC981FFA
full member
Activity: 227
Merit: 100
Try to play with gridsize, ex: -g 640,256,640,256,....
On the benchmark by DaveF, for a Tesla V100-SXM2-16GB we have 1.815 GK/s per board.
You have 40GK/s , so 2.5 GK/s per board, not so bad...


OMG, I changed the grid size as you suggested now I am getting 51 GK/s, amazing ...

Is there any chance to use regex with gpu?
sr. member
Activity: 462
Merit: 701
Try to play with gridsize, ex: -g 640,256,640,256,....
On the benchmark by DaveF, for a Tesla V100-SXM2-16GB we have 1.815 GK/s per board.
You have 40GK/s , so 2.5 GK/s per board, not so bad...
full member
Activity: 227
Merit: 100
So good ccap is 70 for your hardware.
Did you get the same error message with ccap 70 ?
Could you try with cuda 10.0 ?


I made clean OS installation (Ubuntu 18.04 LTS) and now it works with cuda 10.2 drivers without any problem. Do you suggest better command for my system? I feel speed should be more ... ?


sr. member
Activity: 462
Merit: 701
So good ccap is 70 for your hardware.
Did you get the same error message with ccap 70 ?
Could you try with cuda 10.0 ?
full member
Activity: 227
Merit: 100
Hi,
Yes there is an issue with Cuda 10.2 (both on Linux and Windows), it works fine with 10.0.
I didn't try it by myself but some users already reported this issue.

Edit: May be it is a different problem there, when you compiled what ccap did you use ?
Could you try to execute VanitySearch -l ?

I compiled with ccap 75

-l results is below:



I've tried with ccap 70 also ...
full member
Activity: 227
Merit: 100
Hi,
Yes there is an issue with Cuda 10.2 (both on Linux and Windows), it works fine with 10.0.
I didn't try it by myself but some users already reported this issue.

Edit: May be it is a different problem there, when you compiled what ccap did you use ?
Could you try to execute VanitySearch -l ?

I compiled with ccap 75

-l results is below:

sr. member
Activity: 462
Merit: 701
Hi,
Yes there is an issue with Cuda 10.2 (both on Linux and Windows), it works fine with 10.0.
I didn't try it by myself but some users already reported this issue.

Edit: May be it is a different problem there, when you compiled what ccap did you use ?
Could you try to execute VanitySearch -l ?
full member
Activity: 227
Merit: 100
Hi,

First of all I need to say I really amazed on calculation speed of your program. I am trying to use it with Tesla V100 device but I am getting the following error;

Cuda version is 10.2 , Ubuntu server 18.04.4 LTS

command is :
./VanitySearch -gpu 1sdfa

result is:

VanitySearch v1.17
Difficulty: 264104224
Search: 1sdfa [Compressed]
Start Mon Mar 30 10:19:36 2020
Base Key: C3A84BA970A2B558DDC6C25670DB4257E70E544BEECEBE72B3A7EB02B4EC22C9
Number of CPU thread: 1
GPU: GPU #0 Tesla V100-SXM3-32GB (80x64 cores) Grid(640x128)
GPUEngine: Kernel: no kernel image is available for execution on the device

how can I solve it?

Thanks
legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
Because I'm testing something important and I need to know how to get WIFI from HEX
It's WIF (Wallet Import Format), and AFAIK, vanitysearch doesn't have a converter command since it's already included in the result.

If you want to know how, it's not that complicated, you just need some tools for SHA256 computation (Hash online tool) and Base58 encoder/checker (Base58 online tool),
Then, follow these steps:
  • 1. Get the private key hex,
    Sample: 4116A49CA05407397C159D9F8EFC32064E3165466173AA26D21DA11A169BF7FD
  • 2. Insert 80 at the start of the prv key and 01 if you want the compressed prv key WIF (do not insert 01 if uncompressed).
    Sample Compressed: 804116A49CA05407397C159D9F8EFC32064E3165466173AA26D21DA11A169BF7FD01
    Sample Uncompressed: 804116A49CA05407397C159D9F8EFC32064E3165466173AA26D21DA11A169BF7FD
  • 3. Get the SHA256 Hash of the string above (as HEX not text):
    Sample Compressed: 47aa53130b00c52fed1cf223a04bce7a2d083f111ed5b3dcb6a2a23f06dc3c78
    Sample Uncompressed: 1a75a1d066dcc407ac94a8e07042bb3fcf97f0c41b9d23c2ec9b54fc75b8e2c4
  • 4. Get the SHA256 Hash of the SHA256 Hash above:
    Sample Compressed: 78a9182fdc5389e180d08702ac1ec0707221c861b08a7c0e3da56465c01104f9
    Sample Uncompressed: 7b376ba10130e9ae74f447847fbc5ae1c076d42efc932e8dc30ca64401835c8f
  • 5. Get the first four bytes of the Double SHA256 hash from step4 (the first 8 characters), that'll be the 'Checksum':
    From Compressed: 78a9182f
    From Uncompressed: 7b376ba1
  • 6. Then insert the result of step5 after the result of step2:
    Sample Compressed: 804116A49CA05407397C159D9F8EFC32064E3165466173AA26D21DA11A169BF7FD0178a9182f
    Sample Uncompressed: 804116A49CA05407397C159D9F8EFC32064E3165466173AA26D21DA11A169BF7FD7b376ba1
  • 7. Encode to Base58 the strings above and you'll get the WIF format:
    Compressed WIF: KyQEYWYtkttfuaMGBqoBqtpkUJ4M8yHKVtQ3pBkXChBXbraGiS2z
    Uncompressed WIF: 5JJxBK2LRu5umY7rfFgTvfvsBGCBTGvYNx9Pqkfrtb2Un7BrosE

If you need to do this automatically, just paste it on bitaddress.org's "Wallet Details" link.
member
Activity: 93
Merit: 12
How to convert (in vanitysearch.exe) using one command privKey in hex hormat to WIF?
Uhh, why? Huh
WIF private key is already included in the result, it's the second line "Priv (WIF)".
Just don't include "p2pkh:" when copy-pasting, most wallets do not support that address type prefix.

Because I'm testing something important and I need to know how to get WIFI from HEX
legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
How to convert (in vanitysearch.exe) using one command privKey in hex hormat to WIF?
Uhh, why? Huh
WIF private key is already included in the result, it's the second line "Priv (WIF)".
Just don't include "p2pkh:" when copy-pasting, most wallets do not support that address type prefix.
member
Activity: 93
Merit: 12
Hi

After generating the address, I have two additional lines with keys.

PubAddress: 1f18cpm.............
Priv (WIF): p2pkh:Kz8NURADuQ..............................
Priv (HEX): 0x56C3E23E538FAA6.................................

How to convert (in vanitysearch.exe) using one command privKey in hex hormat to WIF?

thanks!
legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
Does the

Code:
-t 0

Get added to the above bat command line?
It depends on your preference, add that if you do not wan't to use your CPU.
Any additional argument after the @set command=vanitysearch -stop -gpu line should work.
member
Activity: 382
Merit: 40
Ditty! £ $ ₹ € ¥ ¢ ≠ ÷ ™
Does the

Code:
-t 0

Get added to the above bat command line?



I'm doing the search on an old box and was wondering would things speed up if I boosted the ram?

I have an AMD card I want to take out and replace with a second Nvidia card.
legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
Wait, I just found out that the 50-100 consecutive results of the output files are the same address, need further testing.
@Jean_Luc What do you think is the issue?
Hi,
Did you find the issue ? I didn't test your script yet.
Not yet,
The issue is when using an input file with multiple lines of the same prefix, eg: (test.txt)
Code:
1test
1test
1test
1test
1test
The output file will have multiple lines of the same addresses and private keys, eg: (result.txt)
Code:
Address: 1testx1nayKrQadrXAXyvLQUVeai6tpCt
Priv (WIF): p2pkh:KyQEYWYtkttfuaMGBqoBqtpkUJ4M8yHKVtQ3pBkXChBXbraGiS2z
Priv (HEX): 0x4116A49CA05407397C159D9F8EFC32064E3165466173AA26D21DA11A169BF7FD
PubAddress: 1testx1nayKrQadrXAXyvLQUVeai6tpCt
Priv (WIF): p2pkh:KyQEYWYtkttfuaMGBqoBqtpkUJ4M8yHKVtQ3pBkXChBXbraGiS2z
Priv (HEX): 0x4116A49CA05407397C159D9F8EFC32064E3165466173AA26D21DA11A169BF7FD
PubAddress: 1testx1nayKrQadrXAXyvLQUVeai6tpCt
Priv (WIF): p2pkh:KyQEYWYtkttfuaMGBqoBqtpkUJ4M8yHKVtQ3pBkXChBXbraGiS2z
Priv (HEX): 0x4116A49CA05407397C159D9F8EFC32064E3165466173AA26D21DA11A169BF7FD
PubAddress: 1testx1nayKrQadrXAXyvLQUVeai6tpCt
Priv (WIF): p2pkh:KyQEYWYtkttfuaMGBqoBqtpkUJ4M8yHKVtQ3pBkXChBXbraGiS2z
Priv (HEX): 0x4116A49CA05407397C159D9F8EFC32064E3165466173AA26D21DA11A169BF7FD
PubAddress: 1testx1nayKrQadrXAXyvLQUVeai6tpCt
Priv (WIF): p2pkh:KyQEYWYtkttfuaMGBqoBqtpkUJ4M8yHKVtQ3pBkXChBXbraGiS2z
Priv (HEX): 0x4116A49CA05407397C159D9F8EFC32064E3165466173AA26D21DA11A169BF7FD

The latter worked as intended since I've set to loop the command instead of using that input file.
sr. member
Activity: 462
Merit: 701
Wait, I just found out that the 50-100 consecutive results of the output files are the same address, need further testing.
@Jean_Luc What do you think is the issue?
Hi,
Did you find the issue ? I didn't test your script yet.
legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
Okay, as a workaround to the workaround  Tongue
I've constructed this batch file that should do the trick:

Copy the code below to a text file then rename it into "filename.bat", change the extension from 'txt' into 'bat'.
Create an input file with the same name as the 'input=' in the batch file containing a single line (not 100) of your desired prefix.
Remove "-gpu" if you don't have a supported Video Card.

Code:
@set input=1test.txt
@set output=result.txt
@set command=vanitysearch -stop -gpu

set loop=0
:start
%command% -i %input% -o 1%output%
set /a loop=%loop%+1
if "%loop%"=="100" goto next
goto start

:next
%command% -i %input% -o 2%output%
set /a loop=%loop%+1
if "%loop%"=="200" goto next2
goto next

:next2
%command% -i %input% -o 3%output%
set /a loop=%loop%+1
if "%loop%"=="300" goto next3
goto next2

:next3
%command% -i %input% -o 4%output%
set /a loop=%loop%+1
if "%loop%"=="400" goto next4
goto next3

:next4
%command% -i %input% -o 5%output%
set /a loop=%loop%+1
if "%loop%"=="500" goto next5
goto next4

:next5
%command% -i %input% -o 6%output%
set /a loop=%loop%+1
if "%loop%"=="600" goto next6
goto next5

:next6
%command% -i %input% -o 7%output%
set /a loop=%loop%+1
if "%loop%"=="700" goto next7
goto next6

:next7
%command% -i %input% -o 8%output%
set /a loop=%loop%+1
if "%loop%"=="800" goto next8
goto next7

:next8
%command% -i %input% -o 9%output%
set /a loop=%loop%+1
if "%loop%"=="900" goto next9
goto next8

:next9
%command% -i %input% -o 10%output%
set /a loop=%loop%+1
if "%loop%"=="1000" goto next10
goto next9

:next10
echo end

Output files will be '1result.txt', '2result.txt', '3result.txt'..... '10result.txt'; with 100 keys each.
Just edit the values of the first three lines (after the '=' sign) depending in your preferences (it's self-explanatory).
legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
Good solution, but what if I want create several files?
-snip-
How to do that?
Easy! Just create a batch file containing these commands:
Code:
@set input=100test.txt
@set output=testresult.txt

vanitysearch -stop -i %input% -o 01%output%
vanitysearch -stop -i %input% -o 02%output%
vanitysearch -stop -i %input% -o 03%output%
vanitysearch -stop -i %input% -o 04%output%
vanitysearch -stop -i %input% -o 05%output%
vanitysearch -stop -i %input% -o 06%output%
vanitysearch -stop -i %input% -o 07%output%
vanitysearch -stop -i %input% -o 08%output%
vanitysearch -stop -i %input% -o 09%output%
vanitysearch -stop -i %input% -o 10%output%

Change "100test.txt" depending on the name of your input file (following the format of my previous post);
Change "testresult.txt" depending on what name you want your output files be.
Output files will be named 01testresult.txt, 02testresult.txt, 03testresult.txt.... 10testresult.txt

-Edit-
Wait, I just found out that the 50-100 consecutive results of the output files are the same address, need further testing.
@Jean_Luc What do you think is the issue?
Pages:
Jump to: