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

@@ -17,6 +17,7 @@ ethcore = { path = "../ethcore" }
ethjson = { path = "../json" }
ethcore-util = { path = "../util" }
ethcore-bigint = { path = "../util/bigint" }
ethcore-bytes = { path = "../util/bytes" }
evm = { path = "../ethcore/evm" }
vm = { path = "../ethcore/vm" }
panic_hook = { path = "../panic_hook" }

View File

@@ -20,7 +20,7 @@ use ethcore::trace;
use std::collections::HashMap;
use bigint::prelude::U256;
use bigint::hash::H256;
use util::ToPretty;
use bytes::ToPretty;
use display;
use info as vm;

View File

@@ -17,7 +17,7 @@
//! Simple VM output.
use ethcore::trace;
use util::ToPretty;
use bytes::ToPretty;
use display;
use info as vm;

View File

@@ -27,6 +27,7 @@ extern crate serde_derive;
extern crate docopt;
extern crate ethcore_util as util;
extern crate ethcore_bigint as bigint;
extern crate ethcore_bytes as bytes;
extern crate vm;
extern crate evm;
extern crate panic_hook;
@@ -37,7 +38,8 @@ use std::path::PathBuf;
use docopt::Docopt;
use rustc_hex::FromHex;
use bigint::prelude::U256;
use util::{Bytes, Address};
use util::Address;
use bytes::Bytes;
use ethcore::spec;
use vm::{ActionParams, CallType};