openethereum/ethcore/light/src
André Silva 804ddfe31e [Beta] Backports (#7945)
* ECIP 1041 - Remove Difficulty Bomb (#7905)

Enable difficulty bomb defusion at block:
 - 5900000 on Ethereum Classic mainnet,
 - 2300000 on morden testnet.

Reference:
https://github.com/ethereumproject/ECIPs/blob/master/ECIPs/ECIP-1041.md

* spec: Validate required divisor fields are not 0 (#7933)

* Add validate_non_zero function

It's used to validate that a Spec's uint field used as a divisor is not zero.

* Add deserialize_with to gas_limit_bound_divisor

Prevents panics due to divide-by-zero on the gas_limit_bound_divisor
field.

* Add deserialize_with to difficulty_bound_divisor

Prevents panics due to divide-by-zero on the difficulty_bound_divisor
field.

* Add validate_optional_non_zero function

Used to validate Option<Uint> divisor fields.

* Use deserialize_with on optional divisor fields.

* Add #[serde(default)] attribute to divisor fields

When using `#[serde(deserialize_with)]`, `#[serde(default)]` must be specified so that missing
fields can be deserialized with the deserializer for `None`.

* Kovan WASM fork code (#7849)

* kovan fork code

* introduce ethcore level vm_factory and let it fail

* fix json tests

* wasmcosts as option

* review changes

* wasm costs in parser

* fix evm tests

* review fixes

* fix test

* remove redundant json field
2018-02-19 16:05:21 +01:00
..
client Upgrade to RocksDB 5.8.8 and tune settings to reduce space amplification (#7348) 2018-01-03 11:00:37 +01:00
net Merge pull request #7040 from paritytech/squashed_network_error_chain 2017-11-15 18:18:25 +01:00
on_demand Backport of #7844 and #7917 to beta (#7940) 2018-02-19 13:03:49 +01:00
types finished removing ipc 2017-10-16 18:18:43 +02:00
cache.rs Refactors references to MemoryLruCache in ethcore (#6693) 2017-10-15 21:47:06 +07:00
cht.rs separate trie from util and make its dependencies into libs: 2017-09-15 11:03:53 +08:00
lib.rs [Beta] Backports (#7945) 2018-02-19 16:05:21 +01:00
provider.rs finished removing ipc 2017-10-16 18:18:43 +02:00
transaction_queue.rs light: get local transactions by hash 2017-10-24 07:30:53 +02:00