Zcash Mining | CPU Miner Development

I am still very new to Cryptocurrency but I do know a thing or two about coding. I'm working on a standalone CPU miner. I am using str4d's standalone miner as reference: https://github.com/str4d/zcash/tree/standalone-miner.

Q: When a Miner finds a Proof of Work, what is required to turn that into Zcash?

From what I understand, when a Proof of Work is found it is a valid solution to the current block and therefore if submitted to the blockchain before anyone else submits a valid solution, the block reward is received.

So for example, the following output implies that a Proof of Work has been found and the block reward has been earned:

proof-of-work found
prevHash: 080b42f1fc7e927c5c7ce479b5714d7634fa85c60e53f192dcfdb2eaffb005b2
hash: 033dcfd734b8faccd577d475df554d0afb5d2308eda830f7af9301190949be8d
target: 0f0f0f0000000000000000000000000000000000000000000000000000000000
duration: 713

Is that correct, or am I off?

Thanks in advance to anyone able to explain this to me.

Sorry, OP is a noob.

1 Like

i have the same in my debug.log but balance show 0.000000

Zcash Miner version v1.0.0-beta2-f19efc3 (2016-11-01 00:05:35 +0100)
ZcashMiner:
proof-of-work found
prevHash: 0000000000000000000000000000000000000000000000000000000000000000
hash: 077991e182732bef9f90e623f256a3c6d538ac3b4a67bc906dfacae63b308c2a
target: 0f0f0f0000000000000000000000000000000000000000000000000000000000
duration: 1

Anyone know what does it mean proof-of-work found ?

Thanks