In order to receive a reward for mining a cryptocurrency, the miner must show that their computer contributed effort to approve a transaction. Under this mechanism, the miners can add the block to the blockchain by winning the race to solve a rigorous cryptographic puzzle.