Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tail Emission Calculation is Incorrect and will not trigger until 0.2 BLUR per block is reached #70

Open
hooftly opened this issue Nov 23, 2019 · 3 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers high-priority in-progress Currently being worked on

Comments

@hooftly
Copy link

hooftly commented Nov 23, 2019

As You can see here

#define FINAL_SUBSIDY_PER_MINUTE ((uint64_t)200000000000) /* 3 * pow(10, 11) */

You have #define FINAL_SUBSIDY_PER_MINUTE ((uint64_t)200000000000) set Which was changed with commit f411ef3

BLUR uses 12 Decimal points. According to the website https://blur.cash and your emission chart here https://docs.google.com/spreadsheets/d/12PcagebZLTjgf-aTmpKZX5Ck-p3QHOa834CKVyKy1m4 Blur is supposed to begin Tail Emission at 2 Coins per block.

The correct parameter should be #define FINAL_SUBSIDY_PER_MINUTE ((uint64_t)2000000000000) (add a zero) to allow for 2 coins per block.

It appears that you believe XMR will have a tail emission of 3 coins per block (Shown here https://discordapp.com/channels/453123992233181195/453123992736366594/508915394140962826 ) but in reality, it will be 0.6 XMR. Tail Emission is Calculated per minute and its set at 0.3 XMR per minute. XMR's block time is 2 minutes to block rewards will be 0.6 XMR per block because blocktime is 2 Minutes. BLURS block time is 1 Minute so the Tail Emission Calculation is cut in Half.

See here for info on Moneros Tail Emission https://web.getmonero.org/resources/moneropedia/tail-emission.html

Further Monero is already below a 3 coin block reward. It surprises me you haven't noticed this considering the issues you have raised over there.

Anyways your Tail Emission is wrong. 0.2 BLUR per block not 2

@who-biz
Copy link
Contributor

who-biz commented Nov 24, 2019

It does appear that there are only 11 zeroes there. Good catch.

As I said on Discord, our plan is to have emission be static at 2.0 BLUR/block once we hit 2.0 in rewards... Current code does not reflect that however. But we are a ways off from that point currently. I also do not think that our current emission scheme accounts for the first block's reward being 360,000 BLUR. So there are some known issues around the emission, including this line in blockchain.cpp

already_generated_coins = base_reward < (MONEY_SUPPLY-already_generated_coins) ? already_generated_coins + base_reward : MONEY_SUPPLY;

I know that we spoke about this, and that you disagree that line will be a problem. I'm just trying to elaborate that there are other issues that will need resolved as well.

Thanks for the detailed issue report, it is helpful. I'll leave this open until the emission stuff is properly addressed.

@who-biz who-biz self-assigned this Nov 24, 2019
@who-biz who-biz added good first issue Good for newcomers urgent-noncritical things that require haste bug Something isn't working labels Nov 24, 2019
@who-biz
Copy link
Contributor

who-biz commented Aug 27, 2020

@hooftly Please note that the issue you mentioned has been resolved in this commit: 44f099d.

Changes to blockchain.cpp (and other areas this may affect) still need made. Will leave this open until those are addressed and merged into master.

@who-biz who-biz added the in-progress Currently being worked on label Aug 27, 2020
@who-biz
Copy link
Contributor

who-biz commented Jun 2, 2022

This issue still needs resolved, relatively soon.

As I said on Discord, our plan is to have emission be static at 2.0 BLUR/block once we hit 2.0 in rewards... Current code does not reflect that however. But we are a ways off from that point currently.

Regarding emission, the words above are no longer accurate. Decision was made not to inflate supply at 2.0 BLUR/block. Static rewards will be necessary to incentivize mining once we hit tail emission. Presently network transaction frequency is far too low for fee-based rewards to be viable

@who-biz who-biz added fast-track Enhancements that need treated as important, just behind bugs in priority. high-priority and removed urgent-noncritical things that require haste labels Jun 2, 2022
@who-biz who-biz removed the fast-track Enhancements that need treated as important, just behind bugs in priority. label Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers high-priority in-progress Currently being worked on
Projects
None yet
Development

No branches or pull requests

2 participants