[ethcore]: reduce re-exports (#11059)
* [ethcore]: reduce re-exports Last piece of refactoring to close #10130 after work done by @dvdplm et. al After this PR, we have the following re-exports from other crates in `non-testbuilds`: - evm::VMType (client) - ethcore_miner::local_accounts::LocalAccounts (miner) - ethcore_miner::pool::PendingOrdering (miner) I think the miner re-exports make sense (closely tied to the module) and `VMType` (related to module but not closely) * fix(grumbles): remove re-export `VerifierType`
This commit is contained in:
committed by
Andronik Ordian
parent
bceb1d5691
commit
0051c26acf
@@ -29,7 +29,7 @@ use bytes::Bytes;
|
||||
use ansi_term::Colour;
|
||||
use sync::{NetworkConfiguration, validate_node_url, self};
|
||||
use ethkey::{Secret, Public};
|
||||
use ethcore::client::{VMType};
|
||||
use ethcore::client::VMType;
|
||||
use ethcore::miner::{stratum, MinerOptions};
|
||||
use snapshot::SnapshotConfiguration;
|
||||
use miner::pool;
|
||||
|
||||
@@ -21,8 +21,9 @@ use std::fs::File;
|
||||
use std::collections::HashSet;
|
||||
use ethereum_types::{U256, Address};
|
||||
use journaldb::Algorithm;
|
||||
use ethcore::client::{VMType, DatabaseCompactionProfile, ClientConfig, VerifierType};
|
||||
use ethcore::client::{VMType, DatabaseCompactionProfile, ClientConfig};
|
||||
use ethcore::miner::{PendingSet, Penalization};
|
||||
use verification::VerifierType;
|
||||
use miner::pool::PrioritizationStrategy;
|
||||
use cache::CacheConfig;
|
||||
use dir::DatabaseDirectories;
|
||||
|
||||
Reference in New Issue
Block a user