openethereum/ethcore/src
Marek Kotewicz fa6a0a6b60 Backports to beta (#7660)
* Improve handling of RocksDB corruption (#7630)

* kvdb-rocksdb: update rust-rocksdb version

* kvdb-rocksdb: mark corruptions and attempt repair on db open

* kvdb-rocksdb: better corruption detection on open

* kvdb-rocksdb: add corruption_file_name const

* kvdb-rocksdb: rename mark_corruption to check_for_corruption

* Hardening of CSP (#7621)

* Fixed delegatecall's from/to (#7568)

* Fixed delegatecall's from/to, closes #7166

* added tests for delegatecall traces, #7167

* Light client RPCs (#7603)

* Implement registrar.

* Implement eth_getCode

* Don't wait for providers.

* Don't wait for providers.

* Fix linting and wasm tests.

* Problem: AttachedProtocols don't get registered (#7610)

I was investigating issues I am having with Whisper support. I've
enabled Whisper on a custom test network and inserted traces into
Whisper handler implementation (Network<T> and NetworkProtocolHandler
for Network<T>) and I noticed that the handler was never invoked.

After further research on this matter, I found out that
AttachedProtocol's register function does nothing:
https://github.com/paritytech/parity/blob/master/sync/src/api.rs#L172
but there was an implementation originally:
99075ad#diff-5212acb6bcea60e9804ba7b50f6fe6ec and it did the actual
expected logic of registering the protocol in the NetworkService.

However, as of 16d84f8#diff-5212acb6bcea60e9804ba7b50f6fe6ec ("finished
removing ipc") this implementation is gone and only the no-op function
is left.

Which leads me to a conclusion that in fact Whisper's handler never gets
registered in the service and therefore two nodes won't communicate
using it.

Solution: Resurrect original non-empty `AttachedProtocols.register`
implementation

Resolves #7566

* Fix Temporarily Invalid blocks handling (#7613)

* Handle temporarily invalid blocks in sync.

* Fix tests.
2018-01-23 12:32:34 +01:00
..
account_provider Fix #6209 - introduce standalone dir crate 2017-12-26 00:54:34 -08:00
blockchain Upgrade to RocksDB 5.8.8 and tune settings to reduce space amplification (#7348) 2018-01-03 11:00:37 +01:00
blooms Remove reexport of HeapSizeOf in util (#6419) 2017-08-30 16:04:47 +02:00
client Upgrade to RocksDB 5.8.8 and tune settings to reduce space amplification (#7348) 2018-01-03 11:00:37 +01:00
engines Backports to beta (#7660) 2018-01-23 12:32:34 +01:00
ethereum Expanse Byzantium update w/ correct metropolis difficulty increment divisor (#7463) 2018-01-05 13:49:07 +01:00
json_tests Revert "Sync parity-ewf with parity" 2017-10-24 13:31:58 +01:00
migrations Refactors ethcore to use journaldb crate (#6693) 2017-10-17 11:46:07 +07:00
miner Merge remote-tracking branch 'remotes/upstream/master' into transactions-permission-contract-fix 2017-12-28 12:56:21 +02:00
snapshot Get rid of clippy remainings. 2017-12-21 11:27:26 +01:00
spec Add hint in ActionParams for splitting code/data (#6957) 2017-11-02 12:49:57 +01:00
state Backports to beta (#7660) 2018-01-23 12:32:34 +01:00
tests Expanse Byzantium update w/ correct metropolis difficulty increment divisor (#7463) 2018-01-05 13:49:07 +01:00
trace Backports to beta (#7660) 2018-01-23 12:32:34 +01:00
verification Merge branch 'master' into td-future-blocks 2017-12-27 11:01:08 +01:00
views Return decoded seal fields. (#6932) 2017-11-01 11:29:03 +01:00
account_db.rs Don't reexport bigint from util 2017-09-04 16:36:49 +02:00
basic_types.rs Get rid of clippy remainings. 2017-12-21 11:27:26 +01:00
block.rs Get rid of clippy remainings. 2017-12-21 11:27:26 +01:00
builtin.rs Fixed modexp gas calculation overflow (#6741) 2017-10-13 16:06:53 +02:00
cache_manager.rs Fix whitespace (#4299) 2017-01-25 18:51:41 +01:00
db.rs Separate migrations from util (#6690) 2017-10-10 20:01:27 +02:00
encoded.rs finished removing ipc 2017-10-16 18:18:43 +02:00
error.rs Mark future blocks as temporarily invalid. 2017-12-21 15:34:27 +01:00
executed.rs Capture traces and write some tests. 2017-10-20 16:06:36 +02:00
executive.rs Fix tracing failed calls. 2017-12-29 18:11:55 +01:00
externalities.rs Get rid of clippy remainings. 2017-12-21 11:27:26 +01:00
factory.rs separate trie from util and make its dependencies into libs: 2017-09-15 11:03:53 +08:00
header.rs Return decoded seal fields. (#6932) 2017-11-01 11:29:03 +01:00
lib.rs Get rid of clippy remainings. 2017-12-21 11:27:26 +01:00
machine.rs Add hint in ActionParams for splitting code/data (#6957) 2017-11-02 12:49:57 +01:00
pod_account.rs separate trie from util and make its dependencies into libs: 2017-09-15 11:03:53 +08:00
pod_state.rs Merge branch 'master' into fo-6418-dont-export-bigint 2017-09-04 18:32:55 +02:00
service.rs Upgrade to RocksDB 5.8.8 and tune settings to reduce space amplification (#7348) 2018-01-03 11:00:37 +01:00
state_db.rs Move StateDB to RwLock 2018-01-02 09:43:08 +01:00
timer.rs move timer.rs to ethcore (#6437) 2017-09-02 10:54:39 +02:00
transaction.rs Fix serialization of non-localized transactions (#6868) 2017-10-24 12:13:00 +02:00
tx_filter.rs renamed kvdb_memorydb::in_memory -> kvdb_memorydb::create 2017-10-15 16:17:15 +02:00