Noob questions on mining

Hi, I installed zcash on my Ubuntu machine and am trying to mine on the testnet. I followed the Mining Guide and have been running zcashd -daemon. I have two questions:

  1. how do I know my mining setup is correct and working?
  2. how do I check whether or not I have mined any ZEC so far? If I had mined some, where would it go to and how do I check?

I'm new to Zcash and cryptocurrency in general and the Mining-Guide wasn't clear in terms of my questions. I'll appreciate any help.


You can run this command to check whether the build-in miner has been enabled or not:

./zcash/src/zcash-cli getmininginfo

you will see some result like this:
"blocks" : 2763,
"currentblocksize" : 1000,
"currentblocktx" : 0,
"difficulty" : 55959.54335448,
"errors" : "WARNING: in the last 4 hours (96 expected)",
"genproclimit" : -1,
"networkhashps" : 20463,
"pooledtx" : 0,
"testnet" : true,
"chain" : "test",
"generate" : true

the last line "generate" : true means the buildin miner has been enabled.

Then you run the following command to see you hash power:

./zcash/src/zcash-cli zcbenchmark solveequihash 10

Finally, you can use the following command to see your balance:
./zcash/src/zcash-cli getbalance

1 Like