Here's the full output; it doesn't seem to do any calculation before segfaulting:
...
Though if your "back of the napkin" calculations are right, I get the same rate (600 Kkey/s) from using 16 threads on the two quad-core 2.26 GHz Xeons I've got in this Mac, so probably a moot point to get it working on the GPU.
As I mentioned, I have gotten GPU miners running on this machine, and they pull around 5 Megahashes/second. Is the address generation that much more complex that it gets one-tenth the speed (600 KKey/s ~= 0.6 MKey/s)?
Hi midnightlightning,
I see, so it's not even getting started.
Try the following command line:
./oclvanitygen -d0 -v -b 128 -g 256x256 -i 1test
If it works, try increasing the grid size, maybe
-g 512x512 or
-g 512x1024, but stick to powers of two. If it doesn't work, try an even smaller grid, maybe
-g 128x128. To tweak the performance, try different modular inverse batch sizes, maybe
-b 64 or
-b 32. Also stick to powers of two for that value.
Oclvanitygen will try to automatically determine the best values for those parameters. It's a hack right now that has only been tested extensively on large discrete GPUs with lots of dedicated memory. It would make sense for it to get them wrong, and the whole mechanism might need to be re-examined.
Can we add the method for generating public addresses starting with the number 3 as well as 1?
Hi unclemantis,
This feature is implemented, but it's limited right now. Here's a usage example:
$ ./vanitygen -F script 3Love
Difficulty: 4553521
Pattern: 3Love
P2SHAddress: 3Love2U8TrDhNZvdvNa5akVcizP2jNi7t5
Address: 1LFUpSr7qTXjtvJowCnD19tu8tBVKUXaRe
Privkey: 5JE2zrTLBUXNi8Rz7QVjNRj4r45Ghvqc7w2nVJHf1sHCVW9Qiw8
You can go ahead and import this private key, but you'll only get the 1LFUpSr7qTXjtvJowCnD19tu8tBVKUXaRe address in your address book, not the one that starts with the 3. The next step is to select Help -> Debug Window, select the Console tab, and enter the following command:
addmultisigaddress 1 [\"1LFUpSr7qTXjtvJowCnD19tu8tBVKUXaRe\"]
(Yes, enter it verbatim including the backslashes)
Then you'll get the 3- address in your address book and can receive coins on it.
Make sense?
Currently oclvanitygen can't search for script addresses. Also, in the future it may become possible to generate script addresses substantially faster by using embedded nonces, to the point that one can find 3- addresses with a few more characters of prefix than 1- addresses.