openethereum/ethcore/sync/src/tests
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
..
chain.rs Verify block syncing responses against requests (#9670) 2018-10-03 18:35:10 +08:00
consensus.rs Remove tendermint engine support (#9980) 2018-11-29 06:47:11 +08:00
helpers.rs Fix pubsub new_blocks notifications to include all blocks (#9987) 2018-12-19 09:24:14 +00:00
mod.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
private.rs Private packets verification and queue refactoring (#8715) 2018-08-29 20:31:04 +08:00
rpc.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
snapshot.rs Update log -> 0.4, env_logger -> 0.5. (#9294) 2018-08-10 00:04:10 +01:00