Skip to content

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

@dipeshnuco

Description

@dipeshnuco

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions