openethereum/ethcore
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
..
benches Clean up existing benchmarks (#9839) 2018-11-06 21:22:44 +08:00
evm Update parking_lot to 0.7 (#10050) 2018-12-11 17:22:55 +01:00
light Update parking_lot to 0.7 (#10050) 2018-12-11 17:22:55 +01:00
node_filter Update parking_lot to 0.7 (#10050) 2018-12-11 17:22:55 +01:00
private-tx Fix pubsub new_blocks notifications to include all blocks (#9987) 2018-12-19 09:24:14 +00:00
res ethcore: enable constantinople on ethereum (#10031) 2018-12-11 12:06:04 +08:00
service Improve block and transaction propagation (#9954) 2018-11-28 11:30:05 +01:00
src Fix pubsub new_blocks notifications to include all blocks (#9987) 2018-12-19 09:24:14 +00:00
stratum Update parking_lot to 0.7 (#10050) 2018-12-11 17:22:55 +01:00
sync Fix pubsub new_blocks notifications to include all blocks (#9987) 2018-12-19 09:24:14 +00:00
transaction Allow zero chain id in EIP155 signing process (#9792) 2018-10-26 22:44:02 +08:00
types Update a few parity-common dependencies (#9663) 2018-10-09 22:07:25 +02:00
vm Use signed 256-bit integer for sstore gas refund substate (#9746) 2018-10-15 17:09:55 +08:00
wasm Add a optional json dump state to evm-bin (#9706) 2018-11-25 20:12:59 +01:00
Cargo.toml Implement len caching for parking_lot RwLock (#10032) 2018-12-13 18:07:56 +00:00