# Mining Reward "Error"

**URL:** <https://forum.zcashcommunity.com/t/mining-reward-error/40358>\
**Category:** Mining\
**Created:** [October 24, 2021, 10:58am UTC](https://forum.zcashcommunity.com/t/mining-reward-error/40358 "2021-10-24T10:58:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![AngeloPauli](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/angelopauli/32/19106_2.png) [@AngeloPauli](https://forum.zcashcommunity.com/u/AngeloPauli)\
**Post date:** [October 24, 2021, 10:58am UTC](https://forum.zcashcommunity.com/t/mining-reward-error/40358/1 "2021-10-24T10:58:10Z")

</div>

Hello everyone,

I have built my own Miningpool for ZEC.  
We have found many blocks so far, but in the latest ones, we only get a reward of 2 ZEC before it always was 2.5.  
This is the block we have mined:

[https://explorer.zcha.in/blocks/00000000021a9b994f107d4a6d00b69382c980dcae5df6c8f87a3ca3e31497d4](https://explorer.zcha.in/blocks/00000000021a9b994f107d4a6d00b69382c980dcae5df6c8f87a3ca3e31497d4)

Hope Someone can help me understand this.

Thank you!

---

<div class="post-metadata">

**Author:** ![hloo](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/hloo/32/4096_2.png) [@hloo](https://forum.zcashcommunity.com/u/hloo)\
**Post date:** [October 24, 2021, 11:14am UTC](https://forum.zcashcommunity.com/t/mining-reward-error/40358/2 "2021-10-24T11:14:31Z")

</div>

There must be a bug in your custom pool code. As a miner of a block, the consensus rules allow you to take 2.5 ZEC _or less_. If you take less, you’ve essentially burned the unclaimed portion and effectively reduced the total supply of ZEC by that amount (forever).

---

<div class="post-metadata">

**Author:** ![Shawn](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/shawn/32/187_2.png) [@Shawn](https://forum.zcashcommunity.com/u/Shawn)\
**Post date:** [October 24, 2021, 5:24pm UTC](https://forum.zcashcommunity.com/t/mining-reward-error/40358/3 "2021-10-24T17:24:44Z")

</div>

> [@hloo](#):
>
> you’ve essentially burned the unclaimed portion and effectively reduced the total supply of ZEC by that amount (forever).

Woah, 😳 that’s kind of a big error.

---

<div class="post-metadata">

**Author:** ![artkor](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/artkor/32/28573_2.png) [@artkor](https://forum.zcashcommunity.com/u/artkor)\
**Post date:** [October 24, 2021, 7:28pm UTC](https://forum.zcashcommunity.com/t/mining-reward-error/40358/4 "2021-10-24T19:28:46Z")

</div>

> [@hloo](#):
>
> There must be a bug in your custom pool code. As a miner of a block, the consensus rules allow you to take 2.5 ZEC _or less_ . If you take less, you’ve essentially burned the unclaimed portion and effectively reduced the total supply of ZEC by that amount (forever).

What exactly happens to such a leftover? Does it end up at some special address or something else?

---

<div class="post-metadata">

**Author:** ![hloo](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/hloo/32/4096_2.png) [@hloo](https://forum.zcashcommunity.com/u/hloo)\
**Post date:** [October 24, 2021, 11:11pm UTC](https://forum.zcashcommunity.com/t/mining-reward-error/40358/5 "2021-10-24T23:11:33Z")

</div>

> [@artkor](#):
>
> What exactly happens to such a leftover? Does it end up at some special address or something else?

It never existed in the first place. Essentially, the miner had the right to mint 2.5 ZEC for itself but only chose to mint 2.0 ZEC (whether by accident, or for some reason). So long as they don’t shortchange the ECC, ZF, and ZOMG portions, the block will be accepted per the consensus rules.

According to ancient Ycash mythology, the Ycash gods require a tribute of one full block reward before each halving. Most people don’t believe in such silly superstitions, but some do, like this miner:

[https://yecblockexplorer.com/block/000000e92d1d381d3f31cd3a624e2252bdfc1fbb5ea4c3977bc6a17403069c59](https://yecblockexplorer.com/block/000000e92d1d381d3f31cd3a624e2252bdfc1fbb5ea4c3977bc6a17403069c59)

---

<div class="post-metadata">

**Author:** ![AngeloPauli](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/angelopauli/32/19106_2.png) [@AngeloPauli](https://forum.zcashcommunity.com/u/AngeloPauli)\
**Post date:** [October 25, 2021, 8:32am UTC](https://forum.zcashcommunity.com/t/mining-reward-error/40358/6 "2021-10-25T08:32:30Z")

</div>

Thank you so much for your answer, found the bug and fixed it!
