openethereum/rpc/src/v1/impls
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
..
light Backports to beta (#7660) 2018-01-23 12:32:34 +01:00
eth_filter.rs Drop jsonrpc_core::Error 2017-11-14 12:17:48 +01:00
eth_pubsub.rs Expose default gas price percentile configuration in CLI (#7497) 2018-01-09 12:43:36 +01:00
eth.rs Expose default gas price percentile configuration in CLI (#7497) 2018-01-09 12:43:36 +01:00
mod.rs Latest headers Pub-Sub (#5655) 2017-05-23 12:26:39 +02:00
net.rs Drop jsonrpc_core::Error 2017-11-14 12:17:48 +01:00
parity_accounts.rs Drop jsonrpc_core::Error 2017-11-14 12:17:48 +01:00
parity_set.rs Drop jsonrpc_core::Error 2017-11-14 12:17:48 +01:00
parity.rs parity-version pr reopen (#7136) 2017-12-22 09:37:39 -04:00
personal.rs Adds personal_signTransaction RPC method (#6991) 2017-12-19 10:49:49 +01:00
pubsub.rs Drop jsonrpc_core::Error 2017-11-14 12:17:48 +01:00
rpc.rs Drop jsonrpc_core::Error 2017-11-14 12:17:48 +01:00
secretstore.rs SecretStore: secretstore_signRawHash RPC 2017-12-19 16:59:37 +03:00
signer.rs Drop jsonrpc_core::Error 2017-11-14 12:17:48 +01:00
signing_unsafe.rs Drop jsonrpc_core::Error 2017-11-14 12:17:48 +01:00
signing.rs Drop jsonrpc_core::Error 2017-11-14 12:17:48 +01:00
traces.rs Drop jsonrpc_core::Error 2017-11-14 12:17:48 +01:00
web3.rs parity-version pr reopen (#7136) 2017-12-22 09:37:39 -04:00