openethereum/parity
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
..
cli Expose default gas price percentile configuration in CLI (#7497) 2018-01-09 12:43:36 +01:00
light_helpers Update jsonrpc dependencies and rewrite dapps to futures. (#6522) 2017-10-05 12:35:01 +02:00
account.rs Fix #6209 - introduce standalone dir crate 2017-12-26 00:54:34 -08:00
blockchain.rs fixed panic when io is not available for export block, closes #7486 (#7495) 2018-01-08 14:46:29 +01:00
cache.rs Upgrade to RocksDB 5.8.8 and tune settings to reduce space amplification (#7348) 2018-01-03 11:00:37 +01:00
configuration.rs Backports to beta (#7660) 2018-01-23 12:32:34 +01:00
dapps.rs Fix #6209 - introduce standalone dir crate 2017-12-26 00:54:34 -08:00
deprecated.rs Make CLI arguments parsing more backwards compatible 2017-11-08 12:33:56 +01:00
helpers.rs Upgrade to RocksDB 5.8.8 and tune settings to reduce space amplification (#7348) 2018-01-03 11:00:37 +01:00
informant.rs Get rid of clippy remainings. 2017-12-21 11:27:26 +01:00
ipfs.rs Fix default CORS settings. (#7387) 2017-12-27 18:56:06 +01:00
main.rs Fix #6209 - introduce standalone dir crate 2017-12-26 00:54:34 -08:00
migration.rs Upgrade to RocksDB 5.8.8 and tune settings to reduce space amplification (#7348) 2018-01-03 11:00:37 +01:00
modules.rs use error-chain in ethcore-network 2017-11-13 16:48:58 +01:00
params.rs Expanse Byzantium update w/ correct metropolis difficulty increment divisor (#7463) 2018-01-05 13:49:07 +01:00
presale.rs Fix #6209 - introduce standalone dir crate 2017-12-26 00:54:34 -08:00
rpc_apis.rs Expose default gas price percentile configuration in CLI (#7497) 2018-01-09 12:43:36 +01:00
rpc.rs Merge branch 'master' into dircrate2 2017-12-29 10:45:11 +01:00
run.rs Expose default gas price percentile configuration in CLI (#7497) 2018-01-09 12:43:36 +01:00
secretstore.rs Merge branch 'master' into dircrate2 2017-12-29 10:45:11 +01:00
signer.rs fix #6052. honor --no-color for signer command (#6100) 2017-07-28 19:07:38 +02:00
snapshot.rs finished 2017-08-31 11:35:41 +02:00
stratum.rs remove the deprecated options in rustfmt.toml (#5616) 2017-05-19 17:12:20 +02:00
upgrade.rs Fix #6209 - introduce standalone dir crate 2017-12-26 00:54:34 -08:00
url.rs Fix whitespace (#4299) 2017-01-25 18:51:41 +01:00
user_defaults.rs Refactors parity/parity to use journaldb crate (#6693) 2017-10-17 11:46:54 +07:00
whisper.rs Problem: sending any Whisper message fails 2018-01-01 20:54:15 -08:00