diff --git a/ethcore/src/client/mod.rs b/ethcore/src/client/mod.rs index 90dd78015..b030630be 100644 --- a/ethcore/src/client/mod.rs +++ b/ethcore/src/client/mod.rs @@ -18,13 +18,12 @@ mod client; mod config; -mod ids; mod test_client; mod trace; pub use self::client::*; pub use self::config::{ClientConfig, BlockQueueConfig, BlockChainConfig, Switch}; -pub use self::ids::{BlockId, TransactionId, UncleId, TraceId}; +pub use types::ids::*; pub use self::test_client::{TestBlockChainClient, EachBlockWith}; pub use self::trace::Filter as TraceFilter; pub use executive::{Executed, Executive, TransactOptions}; diff --git a/ethcore/src/client/ids.rs b/ethcore/src/types/ids.rs similarity index 100% rename from ethcore/src/client/ids.rs rename to ethcore/src/types/ids.rs diff --git a/ethcore/src/types/mod.rs b/ethcore/src/types/mod.rs index 438dbafb0..eb815ffa9 100644 --- a/ethcore/src/types/mod.rs +++ b/ethcore/src/types/mod.rs @@ -17,3 +17,4 @@ //! Types used in the public api pub mod transaction; +pub mod ids;