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

Update hardcoded block reward value to reflect change in monetary policy #21

Open
dipeshnuco opened this issue Jun 5, 2019 · 0 comments

Comments

@dipeshnuco
Copy link

Aion's monetary policy has been updated to reflect the yearly 1% inflation, which has resulted in a change in the block reward from 1497989283243310185 to 1513791761415494031 from block no 3346000.

The block reward number used for pool payout calculation seems to be hardcoded to 1497989283243310185 and hence needs to be updated so that the pools are doing the correct payouts.

The hardcoded value is in this file - https://github.com/aionnetwork/aion_pool2/blob/master/aion_pool/src/MiningCore/Blockchain/Aion/AionUtils.cs ; could be in other places too

For reference:
• Till Block - 3346000; Mining Rewards – 1.497989283243310185 AION
• From Block - 3346001; Mining Rewards – 1.513791761415494031 AION

@dipeshnuco dipeshnuco changed the title Upgrade block reward to reflect change in monetary policy and blockreward Update hardcoded block reward to reflect change in monetary policy Jun 5, 2019
@dipeshnuco dipeshnuco changed the title Update hardcoded block reward to reflect change in monetary policy Update hardcoded block reward value to reflect change in monetary policy Jun 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant