openethereum/rpc/src/v1/helpers
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
..
accounts.rs rpc -> weak to arc (#5688) 2017-05-28 08:40:36 -04:00
block_import.rs Bump snap version and tweak importing detection logic (#6079) 2017-07-18 16:59:33 +02:00
dapps.rs Dapp refresh (#5752) 2017-08-09 19:06:40 +02:00
dispatch.rs Expose default gas price percentile configuration in CLI (#7497) 2018-01-09 12:43:36 +01:00
errors.rs Update jsonrpc dependencies and rewrite dapps to futures. (#6522) 2017-10-05 12:35:01 +02:00
fake_sign.rs Set zero nonce and gasprice for calls by default (#6954) 2017-11-02 12:50:08 +01:00
ipfs.rs Clean up function naming in RPC error module 2017-07-04 17:01:06 +02:00
light_fetch.rs Backports to beta (#7660) 2018-01-23 12:32:34 +01:00
mod.rs Reserve nonces for signing (#6834) 2017-11-01 11:23:18 +01:00
network_settings.rs Adding CLI options: port shift and unsafe expose. (#5677) 2017-05-23 12:24:32 +02:00
nonce.rs HashMap::retain 2017-11-13 17:09:30 +01:00
oneshot.rs Update jsonrpc dependencies and rewrite dapps to futures. (#6522) 2017-10-05 12:35:01 +02:00
poll_filter.rs Don't reexport bigint from util 2017-09-04 16:36:49 +02:00
poll_manager.rs Changing Mutex into RwLock for transaction queue (#4951) 2017-03-20 19:15:02 +01:00
requests.rs Reserve nonces for signing (#6834) 2017-11-01 11:23:18 +01:00
secretstore.rs SecretStore: servers set change session api (#6925) 2017-11-16 17:34:23 +01:00
signer.rs remove re-export of parking_lot in util (#6435) 2017-09-02 20:09:13 +02:00
signing_queue.rs Migrate to Futures in SigningQueue (#6689) 2017-10-17 14:50:53 +02:00
subscribers.rs Logs Pub-Sub (#5705) 2017-06-28 12:21:13 +02:00
subscription_manager.rs Drop jsonrpc_core::Error 2017-11-14 12:17:48 +01:00