separate trie from util and make its dependencies into libs:

* bytes
* hashdb
* memorydb
* nibbleslice
* nibblevec
This commit is contained in:
Hawstein
2017-09-07 02:47:45 +08:00
parent 79659bdc76
commit ade37be25b
182 changed files with 497 additions and 251 deletions

View File

@@ -18,7 +18,7 @@ use std::collections::{VecDeque, HashSet, HashMap};
use std::sync::Arc;
use bigint::hash::H256;
use parking_lot::RwLock;
use util::*;
use bytes::Bytes;
use network::*;
use tests::snapshot::*;
use ethcore::client::{TestBlockChainClient, BlockChainClient, Client as EthcoreClient, ClientConfig, ChainNotify};

View File

@@ -19,7 +19,7 @@ use std::sync::Arc;
use hash::keccak;
use bigint::hash::H256;
use parking_lot::Mutex;
use util::*;
use bytes::Bytes;
use ethcore::snapshot::{SnapshotService, ManifestData, RestorationStatus};
use ethcore::header::BlockNumber;
use ethcore::client::{EachBlockWith};