openethereum/util
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
..
benches rename trie to patricia-trie 2017-09-15 11:49:26 +08:00
bigint Get rid of clippy remainings. 2017-12-21 11:27:26 +01:00
bloom Problem: Cargo.toml file contains [project] key (#7346) 2017-12-20 16:41:52 +01:00
bloomable rename hash crate to keccak-hash 2017-11-10 20:08:28 +01:00
bytes prepare cargo configuration for upload of crates 2017-11-10 18:31:31 +01:00
dir move constants to platform-specific module too 2017-12-28 03:16:52 -08:00
error use error-chain in ethcore-network 2017-11-13 16:48:58 +01:00
fetch Update jsonrpc dependencies and rewrite dapps to futures. (#6522) 2017-10-05 12:35:01 +02:00
hash rename hash crate to keccak-hash 2017-11-10 20:08:28 +01:00
hashdb update ethcore-bigint version 2017-11-10 18:50:45 +01:00
io use error-chain in ethcore-network 2017-11-13 16:48:58 +01:00
journaldb Get rid of clippy remainings. 2017-12-21 11:27:26 +01:00
kvdb use error-chain in ethcore-network 2017-11-13 16:48:58 +01:00
kvdb-memorydb KeyValueDB trait uses errors instead of strings 2017-10-16 12:11:35 +02:00
kvdb-rocksdb Backports to beta (#7660) 2018-01-23 12:32:34 +01:00
macros Separate migrations from util (#6690) 2017-10-10 20:01:27 +02:00
memory_cache Uses dash instead of underscore in crate name 2017-10-16 11:05:54 +07:00
memorydb update rlp 2017-11-10 20:22:45 +01:00
migration Upgrade to RocksDB 5.8.8 and tune settings to reduce space amplification (#7348) 2018-01-03 11:00:37 +01:00
network Get rid of clippy remainings. 2017-12-21 11:27:26 +01:00
path splitting part of util into smaller crates (#4956) 2017-03-22 06:23:40 +01:00
patricia_trie Some more. 2017-12-21 15:37:10 +01:00
plain_hasher commit plain_hasher to util 2017-08-28 12:40:29 +02:00
reactor Expose health status over RPC (#6274) 2017-08-28 14:11:55 +02:00
rlp update rlp 2017-11-10 20:22:45 +01:00
rlp_derive rlp_derive (#6125) 2017-08-20 12:01:46 +08:00
semantic_version separate semantic_version from util (#6438) 2017-09-02 13:14:21 +02:00
src parity-version pr reopen (#7136) 2017-12-22 09:37:39 -04:00
stats Expose default gas price percentile configuration in CLI (#7497) 2018-01-09 12:43:36 +01:00
table Squash remaining warnings (#6789) 2017-10-16 12:31:52 +02:00
triehash update rlp 2017-11-10 20:22:45 +01:00
unexpected UtilError uses error_chain!, moved OutOfBounds and Mismatched to unexpected crate 2017-09-05 12:14:03 +02:00
using_queue Fix whitespace (#4299) 2017-01-25 18:51:41 +01:00
version Bump 1.9 to beta (#7533) 2018-01-17 12:28:21 +01:00
Cargo.toml parity-version pr reopen (#7136) 2017-12-22 09:37:39 -04:00