Download zcash parameters
sudo docker run --rm -v /data/zcash/.zcash-params:/root/.zcash-params:rw -v /data/zcash/.zcash:/root/.zcash:rw --entrypoint zcash-fetch-params andyceo/zcash
sudo docker run -d -v /data/zcash/.zcash-params:/root/.zcash-params:ro -v /data/zcash/.zcash:/root/.zcash:rw -v /data/zcash/cron.d:/etc/cron.d:ro -h zcash --name zcash andyceo/zcash:cron
time ~/zcash/src/zcash-cli zcbenchmark solveequihash 10 time solveequihash NUM_ITERS [NUM_THREADS]
The result will be something like
real 1m15.879s user 0m0.000s sys 0m0.004s
where the first number is the real time taken. Divide 10 by this value (converted into seconds) and you have your hashrate in hashes per second. Of course the advantage to this method is that you can easily run 100 or 1000 loops to average out the run times.
- see How do i check my hashrate?
Will be the same as Zcash releases: https://github.com/zcash/zcash/releases
/root/.zcash-params:ro- this volume should contain zcash parameters, that could be obtained with
zcash-fetch-paramscommand. This volume can be shared with others zcash containers and can be mounted as read-only.
/root/.zcash:rw- this is the
zcash.conflocation, also wallet data, etc. Must be mounted with write permissions.
/etc/cron.d:ro- this is the