Offload cull to IoWorker. (#9099)

This commit is contained in:
Tomasz Drwięga
2018-07-13 12:23:57 +02:00
committed by Afri Schoedon
parent 993650f3d6
commit 5f523f6966
5 changed files with 67 additions and 17 deletions

View File

@@ -94,6 +94,7 @@ impl ClientService {
let pruning = config.pruning;
let client = Client::new(config, &spec, blockchain_db.clone(), miner.clone(), io_service.channel())?;
miner.set_io_channel(io_service.channel());
let snapshot_params = SnapServiceParams {
engine: spec.engine.clone(),