openethereum/dapps
Arkadiy Paronyan aa7dfdf0f5 More backports into stable (#6061)
* 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

* JS precompiled set to stable
2017-07-14 20:39:38 +02:00
..
js-glue Backport syntex update (#5316) 2017-03-29 10:43:13 +02:00
res Additional fetch tests (#3983) 2016-12-28 12:45:25 +00:00
src Allow specifying extra cors headers for dapps (#4710) 2017-03-07 17:37:26 +01:00
ui More backports into stable (#6061) 2017-07-14 20:39:38 +02:00
Cargo.toml [beta] Fix ethsign (#5600) 2017-05-18 13:50:17 +01:00