openethereum/ethcore/src/client
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
..
ancient_import.rs Update `license header` and `scripts` (#8666) 2018-06-04 10:19:50 +02:00
bad_blocks.rs Bad blocks RPC + reporting (#9433) 2018-09-08 04:04:28 +02:00
chain_notify.rs Fix pubsub new_blocks notifications to include all blocks (#9987) 2018-12-19 09:24:14 +00:00
client.rs Fix pubsub new_blocks notifications to include all blocks (#9987) 2018-12-19 09:24:14 +00:00
config.rs Expose config max-round-blocks-to-import (#9439) 2018-10-26 13:21:36 +02:00
evm_test_client.rs Add a optional json dump state to evm-bin (#9706) 2018-11-25 20:12:59 +01:00
io_message.rs Update `license header` and `scripts` (#8666) 2018-06-04 10:19:50 +02:00
mod.rs Fix pubsub new_blocks notifications to include all blocks (#9987) 2018-12-19 09:24:14 +00:00
private_notify.rs Update `license header` and `scripts` (#8666) 2018-06-04 10:19:50 +02:00
test_client.rs Keep existing blocks when restoring a Snapshot (#8643) 2018-11-18 00:06:34 +01:00
trace.rs Update `license header` and `scripts` (#8666) 2018-06-04 10:19:50 +02:00
traits.rs Improve block and transaction propagation (#9954) 2018-11-28 11:30:05 +01:00