Initial attempt to add Zcash support to vanitygen

exploitagency, thanks for adding GPU support!

One note/request - there is a restriction on the third character that is currently not rejected.

Valid third characters are H-Z (except for I and O) and a-h. (In other words: H J K L M N P Q R S T U V W X Y Z a b c d e f g h).

If you specify filters that include an invalid third character, there is no warning, but you will get no results.

(I would have opened a GitHub issue on this, but they don’t seem to be enabled for that repo).

EDIT: I see that you already warned us about that above! I think there’s still value in explaining that it will not warn the user, though (and which characters are allowed). :slight_smile:

EDIT: Also, here’s a simple shell loop to run oclvanitygen_z on all GPUs. Adjust the list of dev IDs to match your number of GPUs. Stop them all with ‘pkill oclvanitygen_z’. (I create the files in advance in case you want to watch them with multitail, etc.)

#!/bin/bash
for dev in 0 1 2 3 4 5; do
    touch founds-${dev}.out
    ./oclvanitygen_z -o founds-${dev}.out -k -p 0 -d ${dev} -f patterns.list &
done