forked from kangaderoo/vanitygen
-
Notifications
You must be signed in to change notification settings - Fork 16
/
README
38 lines (23 loc) · 2.16 KB
/
README
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
This is a fork from OpenCL version of the Bitcoin vanity address generator that is adapted to use for the 32btc bounty.
These are the change from the original vanity generator:
- Replace Random Number Generation of Private Key with Sequental Decrementing Mode, starting key is set with command line arguments
- Periodically dump progress (current private key) to a file
- Now oclvanitygen generates only compressed addresses from private key, add support for generation of uncompressed addresses
- Replace current feature of "read prefixes from file" to "read full addresses from file" (thousands of addresses)
- Store addresses (to find) in search efficient O(1) structure like hashset
- Remove saving hashes to the GPU's memory; check the addresses immediately
Usage:
make oclvanitygen
./oclvanitygen -f addresses.txt -o found.txt -k lastkey.txt 5KHon4xmV31t9dFSHzeN3KF3R1EvjnSRCuy5ZcVEL83NZXzsyeE
An argument is the starting private key. Or, in HEX:
./oclvanitygen -f addresses.txt -o found.txt -k lastkey.txt 1AD2662234520000000000
Tips for Windows build:
Download and install OpenSSL 1.0.2 (full, not light) from https://slproweb.com/products/Win32OpenSSL.html
Clone & compile https://github.com/tpruvot/pthreads
Install PCRE, AMD APP SDK
Set the following variables:
SET INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\shared;C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\winrt
SET LIB=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x64;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x64
SET PATH="C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64";%PATH%
Run:
nmake -f Makefile.Win64