How is the mining reward calculated?
Since QuarkChain announced the official launch of Testnet 2.0 mining last week, a large number of community members have actively participated in the Testnet mining event. We have released the Docker Mining Tutorial first. At the same time, mining tutorials on Windows/Mac machines (Chinese/English/Russian versions) have also been spontaneously produced by our community members, which reveals the strong creativity inside QuarkChain communities and blockchain projects’ high dependence on open source community. In order to encourage more community members to participate in QuarkChain Testnet 2.0 mining event and share a prize pool with total of 5 million QKC, we will be releasing a step-by-step tutorial for non-coding background members. Please keep on following us!
According to the questions/issues that are frequently asked at Discord, we have set up a regular AMA time every day on Discord. At the same time, engineers have always been engaged in answering questions on Telegram，Discord and WeChat raised by community members. The question ”How is the mining reward calculated?” is one of the frequently asked questions on every channel. Therefore, we offer a rough calculation method so that everyone is able to estimate how much a miner is expected to receive.
Overview of the Estimated Reward
Estimated number of QKCs for each mined blocks (Assume testnet mining event lasts for 4 months)
Briefly speaking, the mining event reward calculation method is given as follows:
- Total Prize Pool: 5,000,000 QKC
- The number of QKCs each miner is expected to receive upon mainnet launch will be based on the ratio of sharded blocks mined by each miner to the total number of sharded blocks mined by all miners. The number of blocks mined in the first month (December 2018, PST) will be double counted.
- Check the total number of blocks mined by all miners on all shards at https://testnet2.quarkchain.io/leaderboard
- QKC will be rewarded to eligible miners after mainnet launch.
Let’s assume that the mining event will last for 4 months. According to average 10 secs block interval, the following numbers can be calculated:
Mined blocks per minute on each shard: 6
Mined blocks per hour on each shard: 360
Mined blocks in 24 hours on each shard: 8,640
Mined blocks per month (average 30 days) on each shard: 259,200
The details of mined blocks (and their points) in total 4 months on each shard are as follows:
Since three different mining algorithms are adopted on 8 shards (Shards 0,1,2,3 Shards 4,5, and Shards 6,7), the ratio of rewards on the three algorithms to the total prize pool is 2 : 1 : 2. Therefore, the reward ratio on each shard is: 2/4 : 1/2 : 2/2 = 1 : 1 : 2
The details of the weighted mined blocks in total 4 months on 8 shards are as follows:
As shown in the above table, since the blocks mined on Shards 6,7 are double counted, the total weighted number of mined blocks on 8 shards is 12,960,000.
Mining rewards calculation in Dec. (double points)
Reward for each block on Shards 0–5: 5,000,000/12,960,000* 2 = 0.7716 QKC
Reward for each block on Shards 6–7: 5,000,000/12,960,000* 2 * 2 = 1.543 QKC
Mining rewards calculation in Jan.-Mar.
Reward for each block on Shards 0–5: 5,000,000/12,960,000 = 0.3858 QKC
Reward for each block on Shards 6–7: 5,000,000/12,960,000 * 2 = 0.7716 QKC
To further explain this, let’s take the 1st and 10th miners as examples.
As shown in the above table, the miner mined 43071 blocks on Shards 0–3 using Ethash, while the miner does not mine the rest shards. As a result, the estimated QKC reward is 43071 *0.7716 = 33234 QKC
As shown in the above table, the miner mined 11136 blocks on Shards 0–3 using Ethash, mined 198 blocks on Shards 4–5 using double SHA2, and mined 61 blocks on Shards 6–7 using QKChash. As the result, the estimated QKC reward is （11136 + 198） *0.7716 + 61 *1.543 = 8840 QKC
- The calculated data shown in this article are only for demonstration purpose only, and are not used as a reference for the actual reward. The actual reward shall be based on the final results.
- The final interpretation right of this activity belongs to QuarkChain Foundation LTD. QuarkChain official team reserves the right to modify rules at its sole discretion.
Testnet 2.0 and all rewards described herein are not being and will not be offered in the United States or to any U.S. persons (as defined in Regulation S promulgated under the U.S. Securities Act of 1933, as amended) or any citizens or residents of countries subject to sanctions including the Balkans, Belarus, Burma, Cote D’Ivoire, Cuba, Democratic Republic of Congo, Iran, Iraq, Liberia, North Korea, Sudan, Syria, Zimbabwe, Central African Republic, Crimea, Lebanon, Libya, Somalia, South Suda, Venezuela and Yemen. QuarkChain reserves the right to terminate, suspend or prohibit participation of any user in Testnet 2.0 at any time.
In order to claim or receive any rewards, including mining rewards, you will be required to provide certain identifying documentation and information. Failure to provide such information or demonstrate compliance with the restrictions herein may result in termination of your participation, forfeiture of all rewards, prohibition from participating in future QuarkChain programs, and other actions.
This announcement is provided for informational purposes only and does not guarantee anyone a right to participate in or receive any rewards in connection with Testnet 2.0.