dissolve util (#7460)
* ethereum-types refactor in progress * ethereum-types refactor in progress * ethereum-types refactor in progress * ethereum-types refactor in progress * ethereum-types refactor finished * removed obsolete util/src/lib.rs * removed commented out code
This commit is contained in:
committed by
Svyatoslav Nikolsky
parent
4a4d64be56
commit
e95b093483
@@ -9,7 +9,8 @@ license = "GPL-3.0"
|
||||
bigint = "4.0"
|
||||
elastic-array = "0.9"
|
||||
heapsize = "0.4"
|
||||
ethcore-bigint = { version = "0.2", path = "../bigint", features = ["heapsizeof"] }
|
||||
ethereum-types = { version = "0.1", features = ["heapsizeof"] }
|
||||
keccak-hash = { version = "0.1.0", path = "../hash" }
|
||||
hashdb = { version = "0.1.1", path = "../hashdb" }
|
||||
plain_hasher = { path = "../plain_hasher" }
|
||||
rlp = { version = "0.2.1", path = "../rlp" }
|
||||
|
||||
@@ -16,20 +16,22 @@
|
||||
|
||||
//! Reference-counted memory-based `HashDB` implementation.
|
||||
extern crate heapsize;
|
||||
extern crate ethcore_bigint as bigint;
|
||||
extern crate rlp;
|
||||
extern crate keccak_hash as keccak;
|
||||
extern crate ethereum_types;
|
||||
extern crate hashdb;
|
||||
extern crate keccak_hash as keccak;
|
||||
extern crate plain_hasher;
|
||||
extern crate rlp;
|
||||
extern crate elastic_array;
|
||||
|
||||
use std::mem;
|
||||
use std::collections::HashMap;
|
||||
use std::collections::hash_map::Entry;
|
||||
use heapsize::HeapSizeOf;
|
||||
use bigint::hash::{H256FastMap, H256};
|
||||
use rlp::NULL_RLP;
|
||||
use ethereum_types::H256;
|
||||
use hashdb::{HashDB, DBValue};
|
||||
use keccak::{KECCAK_NULL_RLP, keccak};
|
||||
use hashdb::*;
|
||||
|
||||
use plain_hasher::H256FastMap;
|
||||
use rlp::NULL_RLP;
|
||||
/// Reference-counted memory-based `HashDB` implementation.
|
||||
///
|
||||
/// Use `new()` to create a new database. Insert items with `insert()`, remove items
|
||||
|
||||
Reference in New Issue
Block a user