Get rid of wildcard imports (#1916)

* Get rid of wildcard imports

* Update core/service/src/lib.rs

Co-Authored-By: cmichi <mich@elmueller.net>

* Update core/client/src/client.rs

Co-Authored-By: cmichi <mich@elmueller.net>

* Import by namespace
This commit is contained in:
Michael Müller
2019-03-04 14:00:46 +01:00
committed by Bastian Köcher
parent 66bc864f29
commit c485eb8fdc
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ use tokio::runtime::TaskExecutor;
use sysinfo::{get_current_pid, ProcessExt, System, SystemExt};
use network::{SyncState, SyncProvider};
use client::{backend::Backend, BlockchainEvents};
use substrate_telemetry::*;
use substrate_telemetry::{telemetry, SUBSTRATE_INFO};
use log::{info, warn};
use runtime_primitives::generic::BlockId;
+1 -1
View File
@@ -59,7 +59,7 @@ use log::info;
use lazy_static::lazy_static;
use futures::Future;
use substrate_telemetry::TelemetryEndpoints;
use substrate_telemetry::{telemetry, TelemetryEndpoints};
const MAX_NODE_NAME_LENGTH: usize = 32;
+1 -1
View File
@@ -61,7 +61,7 @@ use crate::in_mem;
use crate::block_builder::{self, api::BlockBuilder as BlockBuilderAPI};
use crate::genesis;
use consensus;
use substrate_telemetry::*;
use substrate_telemetry::{telemetry, SUBSTRATE_INFO};
use log::{info, trace, warn};
use error_chain::bail;
+1 -1
View File
@@ -52,7 +52,7 @@ use srml_aura::{
InherentType as AuraInherent, AuraInherentData,
timestamp::{TimestampInherentData, InherentType as TimestampInherent, InherentError as TIError}
};
use substrate_telemetry::*;
use substrate_telemetry::{telemetry, CONSENSUS_TRACE, CONSENSUS_DEBUG, CONSENSUS_WARN, CONSENSUS_INFO};
use aura_slots::{CheckedHeader, SlotWorker, SlotInfo, SlotCompatible};
+1 -1
View File
@@ -69,7 +69,7 @@ use runtime_primitives::traits::{
use fg_primitives::GrandpaApi;
use runtime_primitives::generic::BlockId;
use substrate_primitives::{ed25519, H256, Ed25519AuthorityId, Blake2Hasher};
use substrate_telemetry::*;
use substrate_telemetry::{telemetry, CONSENSUS_TRACE, CONSENSUS_DEBUG, CONSENSUS_WARN};
use grandpa::Error as GrandpaError;
use grandpa::{voter, round::State as RoundState, BlockNumberOps, VoterSet};
+1 -1
View File
@@ -41,7 +41,7 @@ use exit_future::Signal;
pub use tokio::runtime::TaskExecutor;
use substrate_executor::NativeExecutor;
use parity_codec::{Encode, Decode};
use tel::*;
use tel::{telemetry, SUBSTRATE_INFO};
pub use self::error::{ErrorKind, Error};
pub use config::{Configuration, Roles, PruningMode};