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 hash::keccak;
use bigint::hash::H256;
use util::*;
use bytes::Bytes;
use header::*;
use transaction::*;
use super::{TransactionView, HeaderView};

View File

@@ -18,7 +18,7 @@
use hash::keccak;
use bigint::hash::H256;
use util::*;
use bytes::Bytes;
use header::*;
use transaction::*;
use super::{TransactionView, HeaderView};

View File

@@ -19,7 +19,8 @@
use hash::keccak;
use bigint::prelude::U256;
use bigint::hash::{H256, H2048};
use util::{Bytes, Address};
use util::Address;
use bytes::Bytes;
use rlp::Rlp;
use header::BlockNumber;

View File

@@ -17,7 +17,7 @@
//! View onto transaction rlp
use bigint::prelude::U256;
use bigint::hash::H256;
use util::Bytes;
use bytes::Bytes;
use hash::keccak;
use rlp::Rlp;