openethereum/ethcore/res
Stewart Mackenzie d152fa3e85 Ethereum Classic Monetary Policy (#5741)
* Ethereum Classic Monetary Policy

Create a new parameter `ecip1017EraRounds`. When the block number
passes one era rounds, the reward is reduced by 20%.

See https://github.com/ethereumproject/ECIPs/blob/master/ECIPs/ECIP-1017.md

* Update rewards for uncle miners for ECIP1017

In the monetary policy, the rewards are changed from "up to 7/8 of the
reward" to "1/32 of the reward".

* Fix an off-by-one error in ECIP1017 era calculation

According to
https://github.com/ethereumproject/ECIPs/blob/master/ECIPs/ECIP-1017.md,
when in block number 5,000,000, it should still be in Era 1 (which in
our code `era == 0`). So we need to check whether the `rem` equals to
zero and act accordingly when calculating the era.

* `ecip1017_era_rounds` missing from EthashParams when run in build bot

* strip out ecip1017_eras_block_reward function and add unit test
2017-06-19 18:56:37 +02:00
..
ethereum Ethereum Classic Monetary Policy (#5741) 2017-06-19 18:56:37 +02:00
authority_round.json Fix validator contract syncing (#4789) 2017-03-08 14:41:24 +01:00
basic_authority.json Validator/authority contract (#3937) 2017-01-10 12:23:59 +01:00
constructor.json Allow contract constructors in chain spec (#3932) 2016-12-23 18:44:39 +01:00
instant_seal.json Add registrar fields (#4716) 2017-03-02 12:25:55 +01:00
null.json EIP-86 (#4697) 2017-04-19 14:30:00 +02:00
null_morden.json make spec naming consistent 2016-12-19 14:15:39 +01:00
tendermint.json Fix validator contract syncing (#4789) 2017-03-08 14:41:24 +01:00
validator_contract.json Pass additional data when reporting (#5527) 2017-05-03 09:01:24 +02:00
validator_multi.json Switching ValidatorSet (#4961) 2017-03-23 13:19:28 +01:00
validator_safe_contract.json ValidatorSet reporting (#4208) 2017-01-24 12:03:58 +03:00