| 32 | // ------------------------------------------------------------------------------------------ |
| 33 | |
| 34 | void printUsage() { |
| 35 | |
| 36 | printf("VanitySeacrh [-check] [-v] [-u] [-b] [-c] [-gpu] [-stop] [-i inputfile]\n"); |
| 37 | printf(" [-gpuId gpuId1[,gpuId2,...]] [-g g1x,g1y,[,g2x,g2y,...]]\n"); |
| 38 | printf(" [-o outputfile] [-m maxFound] [-ps seed] [-s seed] [-t nbThread]\n"); |
| 39 | printf(" [-nosse] [-r rekey] [-check] [-kp] [-sp startPubKey]\n"); |
| 40 | printf(" [-rp privkey partialkeyfile] [prefix]\n\n"); |
| 41 | printf(" prefix: prefix to search (Can contains wildcard '?' or '*')\n"); |
| 42 | printf(" -v: Print version\n"); |
| 43 | printf(" -u: Search uncompressed addresses\n"); |
| 44 | printf(" -b: Search both uncompressed or compressed addresses\n"); |
| 45 | printf(" -c: Case unsensitive search\n"); |
| 46 | printf(" -gpu: Enable gpu calculation\n"); |
| 47 | printf(" -stop: Stop when all prefixes are found\n"); |
| 48 | printf(" -i inputfile: Get list of prefixes to search from specified file\n"); |
| 49 | printf(" -o outputfile: Output results to the specified file\n"); |
| 50 | printf(" -gpu gpuId1,gpuId2,...: List of GPU(s) to use, default is 0\n"); |
| 51 | printf(" -g g1x,g1y,g2x,g2y, ...: Specify GPU(s) kernel gridsize, default is 8*(MP number),128\n"); |
| 52 | printf(" -m: Specify maximun number of prefixes found by each kernel call\n"); |
| 53 | printf(" -s seed: Specify a seed for the base key, default is random\n"); |
| 54 | printf(" -ps seed: Specify a seed concatened with a crypto secure random seed\n"); |
| 55 | printf(" -t threadNumber: Specify number of CPU thread, default is number of core\n"); |
| 56 | printf(" -nosse: Disable SSE hash function\n"); |
| 57 | printf(" -l: List cuda enabled devices\n"); |
| 58 | printf(" -check: Check CPU and GPU kernel vs CPU\n"); |
| 59 | printf(" -cp privKey: Compute public key (privKey in hex hormat)\n"); |
| 60 | printf(" -ca pubKey: Compute address (pubKey in hex hormat)\n"); |
| 61 | printf(" -kp: Generate key pair\n"); |
| 62 | printf(" -rp privkey partialkeyfile: Reconstruct final private key(s) from partial key(s) info.\n"); |
| 63 | printf(" -sp startPubKey: Start the search with a pubKey (for private key splitting)\n"); |
| 64 | printf(" -r rekey: Rekey interval in MegaKey, default is disabled\n"); |
| 65 | exit(0); |
| 66 | |
| 67 | } |
| 68 | |
| 69 | // ------------------------------------------------------------------------------------------ |
| 70 | |