Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Remove unused code #10762

Merged
merged 1 commit into from
Jun 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion ethcore/service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ extern crate tempdir;

mod error;
mod service;
mod stop_guard;

#[cfg(test)]
extern crate kvdb_rocksdb;
Expand Down
5 changes: 0 additions & 5 deletions ethcore/service/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ use std::time::Duration;
use ansi_term::Colour;
use ethereum_types::H256;
use io::{IoContext, TimerToken, IoHandler, IoService, IoError};
use stop_guard::StopGuard;

use sync::PrivateTxHandler;
use blockchain::{BlockChainDB, BlockChainDBHandler};
Expand Down Expand Up @@ -84,7 +83,6 @@ pub struct ClientService {
snapshot: Arc<SnapshotService>,
private_tx: Arc<PrivateTxService>,
database: Arc<BlockChainDB>,
_stop_guard: StopGuard,
}

impl ClientService {
Expand Down Expand Up @@ -152,15 +150,12 @@ impl ClientService {

spec.engine.register_client(Arc::downgrade(&client) as _);

let stop_guard = StopGuard::new();

Ok(ClientService {
io_service: Arc::new(io_service),
client: client,
snapshot: snapshot,
private_tx,
database: blockchain_db,
_stop_guard: stop_guard,
})
}

Expand Down
40 changes: 0 additions & 40 deletions ethcore/service/src/stop_guard.rs

This file was deleted.