openethereum/ethcore
David 083dcc369b
Refactor Clique stepping (#10691)
* Use Drop to shutdown stepper thread
Make period == 0 an error and remove the Option from step_service

* Remove StepService

Remove StepService and spawn the stepping thread in `Clique::new()`. Don't store the thread handle and instead trust the `AtomicBool` to signal shutdown time.
Don't check for `period > 0`: we assume a valid chainspec file.

* Don't shutdown the stepper thread at all, just let it run until exit
Also: fix a few warnings and tests

* Put kvdb_memorydb back

* Warn&exit when engine is dropped
Don't sleep too long!

* Don't delay stepping thread

* Better formatting
2019-06-10 12:10:26 +02:00
..
benches misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
blockchain Upgrade ethereum types (#10670) 2019-06-03 15:36:21 +02:00
call-contract Upgrade ethereum types (#10670) 2019-06-03 15:36:21 +02:00
db Upgrade ethereum types (#10670) 2019-06-03 15:36:21 +02:00
evm Upgrade ethereum types (#10670) 2019-06-03 15:36:21 +02:00
light Merge Notifier and TransactionsPoolNotifier (#10591) 2019-06-04 12:35:33 +01:00
node-filter Upgrade ethereum types (#10670) 2019-06-03 15:36:21 +02:00
private-tx Upgrade ethereum types (#10670) 2019-06-03 15:36:21 +02:00
res Fix rinkeby petersburg fork (#10632) 2019-05-09 15:28:30 +02:00
service Upgrade ethereum types (#10670) 2019-06-03 15:36:21 +02:00
src Refactor Clique stepping (#10691) 2019-06-10 12:10:26 +02:00
sync Upgrade ethereum types (#10670) 2019-06-03 15:36:21 +02:00
types Upgrade ethereum types (#10670) 2019-06-03 15:36:21 +02:00
vm Upgrade ethereum types (#10670) 2019-06-03 15:36:21 +02:00
wasm Upgrade ethereum types (#10670) 2019-06-03 15:36:21 +02:00
Cargo.toml Upgrade ethereum types (#10670) 2019-06-03 15:36:21 +02:00