Public | Automated Build

Last pushed: 11 days ago
Short Description
Zcash Docker image.
Full Description

Image Badges

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

Run

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

Check hashrate

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.

Releases

Will be the same as Zcash releases: https://github.com/zcash/zcash/releases

Volumes

  • /root/.zcash-params:ro - this volume should contain zcash parameters, that could be obtained with zcash-fetch-params command. This volume can be shared with others zcash containers and can be mounted as read-only.
  • /root/.zcash:rw - this is the zcash.conf location, also wallet data, etc. Must be mounted with write permissions.
  • /etc/cron.d:ro - this is the cron configuration directory.
Docker Pull Command
Owner
andyceo
Source Repository

Comments (0)