When mining Bitcoin in a mining pool, we share the coin for percentage of the work we have contributed. But how is the work "proved". For example, if the mining software reported "it has done 1G hashes", how is it proved that the 1G hashes are actually done?
When a pool issues work to a miner, it is typically for a lower difficulty than the network difficulty. This allows the miner to solve a block header for the lower difficulty and submit it to the pool. These submitted headers are known as shares.
Even though most shares will not be valid for the network, having miners submit shares allows the pool to track how the individual miners are performing. Pools will pay their miners proportionally to the number of shares submitted, with some caveats (usually it isn't exactly proportional, there are various caps and other things calculations done, but in the end, the proportion of shares submitted is the major factor in the payout calculation).
by what if the miner reported he has done all those hashes, but in reality he did not? Feb 15, 2021 at 3:44
@deeper-understanding Since the hashes must be valid (they must satisfy the PoW requirements), that is not possible without doing the work. Miners are not just submitting hashes, they are also submitting the data that they hashed.– Andrew Chow ♦Feb 15, 2021 at 4:34