openethereum/ethcore/res/ethereum
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
..
tests@4e8b9be3fb EIP-140 (#5477) 2017-05-23 16:49:17 +03:00
classic.json Ethereum Classic Monetary Policy (#5741) 2017-06-19 18:56:37 +02:00
eip150_test.json EIP-86 (#4697) 2017-04-19 14:30:00 +02:00
eip161_test.json EIP-86 (#4697) 2017-04-19 14:30:00 +02:00
expanse.json EIP-86 (#4697) 2017-04-19 14:30:00 +02:00
foundation.json Merge pull request #5307 from paritytech/eip-212 2017-04-21 13:10:57 +02:00
frontier_like_test.json eip214, #4833 (#4851) 2017-06-19 11:41:46 +02:00
frontier_test.json EIP-86 (#4697) 2017-04-19 14:30:00 +02:00
homestead_test.json EIP-86 (#4697) 2017-04-19 14:30:00 +02:00
kovan.json add monotonic transition to kovan (#5587) 2017-05-15 21:34:01 +01:00
metropolis_test.json EIP-210 BLOCKHASH changes (#5505) 2017-05-30 11:52:33 +02:00
morden.json EIP-86 (#4697) 2017-04-19 14:30:00 +02:00
olympic.json EIP-86 (#4697) 2017-04-19 14:30:00 +02:00
ropsten.json EIP-86 (#4697) 2017-04-19 14:30:00 +02:00
transition_test.json eip214, #4833 (#4851) 2017-06-19 11:41:46 +02:00