openethereum/ethcore/src/snapshot
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
..
consensus Multithreaded snapshot creation (#9239) 2018-09-13 12:58:49 +02:00
tests Keep existing blocks when restoring a Snapshot (#8643) 2018-11-18 00:06:34 +01:00
account.rs Update a few parity-common dependencies (#9663) 2018-10-09 22:07:25 +02:00
block.rs Make HashDB generic (#8739) 2018-07-02 18:50:05 +02:00
error.rs Keep existing blocks when restoring a Snapshot (#8643) 2018-11-18 00:06:34 +01:00
io.rs Update `license header` and `scripts` (#8666) 2018-06-04 10:19:50 +02:00
mod.rs Bump crossbeam. (#10048) 2018-12-11 12:30:21 +00:00
service.rs Keep existing blocks when restoring a Snapshot (#8643) 2018-11-18 00:06:34 +01:00
traits.rs Update `license header` and `scripts` (#8666) 2018-06-04 10:19:50 +02:00
watcher.rs Fix pubsub new_blocks notifications to include all blocks (#9987) 2018-12-19 09:24:14 +00:00