ilkerccom / bitcrackrandomiser

Solo pool for Bitcoin Puzzle Transaction 66, 67 and 68.
https://btcpuzzle.info/
MIT License
73 stars 38 forks source link

ARM CPU support? #43

Closed auc0le closed 5 months ago

auc0le commented 5 months ago

Is there anyway to run this on Apple ARM (M1) in CPU mode?

How about on other ARM CPU's like raspberry pi?

Thanks

ilkerccom commented 5 months ago

Hello,

I didn't test it. Even if the app works, i'm not so sure "VanitySearch" will work. Have you tried it? Are you getting any errors?

Thanks.

auc0le commented 5 months ago

After a review of the VanitySearch code, it appears that they are using intrinsic assembly commands (aka Intel Intrinsics) that are x86-64/ AMD64 specific to optimize performance. Thus the code isn't compatible with an ARM processor - at least in the current code base.

:(

ilkerccom commented 5 months ago

The CPU is already quite slow for puzzles. It would be a more logical move to use Vast.ai or Cloud Search instead. Or that way if you have your own GPU.

If you just want to experiment, I think there are a few programs that run on the CPU. I also have a .NET Core based program that I wrote to experience before. But remember, it is much slower than other programs and I don't recommend it.

auc0le commented 5 months ago

I was wanting to experiment with performance on the raspberry pi 4B as I have a few of those around but I was really hoping to see something out of the Apple Silicon given the SHA optimizations they have put in place and the seeming power of the GPU. However, I don't think anyone has optimized for Apple CPU or GPU and from what I can tell the GPU was over hyped.

Anyway, thanks for sharing the links and taking the time to comment. I will close this :)