Is there a way to compile on one computer and clone to another?


#1

Hello,

Since the minimum requiremtn to complie zcash is 8gb of memory - but for mining isnt, I was wondering if there's a way to complie zcash on one linux box and copy\clone it to a few others?

Thanks in advance!


#2

Works like a charm for me - all you need to copy are the binaries - zcashd and zcash-cli.
Might be a good idea to download the keys once and copy them as well.
In my case i have a little miner VM image that i just copy between machines.


#3

Also, where did you get that 8Gb for compile figure?
I had no problems compiling it on a machine with 4Gb.


#4

I eventually just ran the wallet, and its working and mining fine.
Althu benchmarking a 8 core 12gb memory computer vs this 4core 4gb memory computer - I get almost the same resualts, ~0.033h/sec.

How is this possible?


#5

AFAIK, the benchmark is single-threaded.


#6

Transferring binaries between systems should work provided that the distributions are identical. I suspect that this can only be achieved reliably if you're copying to VMs that are identically configured (apart from memory allocation which shouldn't be significant).