openethereum/rpc/src
mattrutherford 215602de08
Fix pubsub new_blocks notifications to include all blocks (#9987)
Fix: new blocks notifications sometimes missing in pubsub RPC

Implement new struct to pass to `new_blocks()` with extra parameter - `has_more_blocks_to_import`, which was previously used to determine whether the notification should be sent. Now it's up to each implementation to decide what to do.

Updated all implementations to behave as before, except `eth_pubsub`, which will send notification even when the queue is not empty.

Update tests.
2018-12-19 09:24:14 +00:00
..
tests chore(rpc-tests): remove unused rand (#9896) 2018-11-12 13:41:05 +03:00
v1 Fix pubsub new_blocks notifications to include all blocks (#9987) 2018-12-19 09:24:14 +00:00
authcodes.rs Remove initial token for WS. (#9545) 2018-09-13 10:58:52 +02:00
http_common.rs Replace tokio_core with tokio (ring -> 0.13) (#9657) 2018-10-22 09:40:50 +02:00
lib.rs Health endpoint (#9847) 2018-11-07 09:30:34 +01:00