From b6d1801e12ab16fc5c752aa2b907b5d9b0d94ace Mon Sep 17 00:00:00 2001 From: Nikolay Volf Date: Thu, 5 May 2016 23:04:59 +0400 Subject: [PATCH] tree-route --- ethcore/src/blockchain/blockchain.rs | 2 +- ethcore/src/blockchain/mod.rs | 3 +-- ethcore/src/types/mod.rs | 1 + ethcore/src/{blockchain => types}/tree_route.rs | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename ethcore/src/{blockchain => types}/tree_route.rs (100%) diff --git a/ethcore/src/blockchain/blockchain.rs b/ethcore/src/blockchain/blockchain.rs index 7e5f896fd..d95152341 100644 --- a/ethcore/src/blockchain/blockchain.rs +++ b/ethcore/src/blockchain/blockchain.rs @@ -27,7 +27,7 @@ use chainfilter::{ChainFilter, BloomIndex, FilterDataSource}; use blockchain::block_info::{BlockInfo, BlockLocation, BranchBecomingCanonChainData}; use blockchain::best_block::BestBlock; use blockchain::bloom_indexer::BloomIndexer; -use blockchain::tree_route::TreeRoute; +use types::tree_route::TreeRoute; use blockchain::update::ExtrasUpdate; use blockchain::{CacheSize, ImportRoute}; use db::{Writable, Readable, Key, CacheUpdatePolicy}; diff --git a/ethcore/src/blockchain/mod.rs b/ethcore/src/blockchain/mod.rs index 29a4ee684..62196825f 100644 --- a/ethcore/src/blockchain/mod.rs +++ b/ethcore/src/blockchain/mod.rs @@ -21,7 +21,6 @@ mod best_block; mod block_info; mod bloom_indexer; mod cache; -mod tree_route; mod update; mod import_route; #[cfg(test)] @@ -29,5 +28,5 @@ mod generator; pub use self::blockchain::{BlockProvider, BlockChain, BlockChainConfig}; pub use self::cache::CacheSize; -pub use self::tree_route::TreeRoute; +pub use types::tree_route::TreeRoute; pub use self::import_route::ImportRoute; diff --git a/ethcore/src/types/mod.rs b/ethcore/src/types/mod.rs index 77a473211..ad8853216 100644 --- a/ethcore/src/types/mod.rs +++ b/ethcore/src/types/mod.rs @@ -19,3 +19,4 @@ pub mod transaction; pub mod ids; pub mod receipt; +pub mod tree_route; diff --git a/ethcore/src/blockchain/tree_route.rs b/ethcore/src/types/tree_route.rs similarity index 100% rename from ethcore/src/blockchain/tree_route.rs rename to ethcore/src/types/tree_route.rs