Refactors references to MemoryLruCache in ethcore (#6693)

This commit is contained in:
Dmitry Kashitsyn
2017-10-15 18:40:00 +07:00
parent 51b61ccdbf
commit 4df541e47a
11 changed files with 21 additions and 4 deletions

View File

@@ -40,6 +40,7 @@ stats = { path = "../../util/stats" }
hash = { path = "../../util/hash" }
triehash = { path = "../../util/triehash" }
kvdb = { path = "../../util/kvdb" }
memory_cache = { path = "../../util/memory_cache" }
[features]
default = []

View File

@@ -29,7 +29,7 @@ use time::{SteadyTime, Duration};
use heapsize::HeapSizeOf;
use bigint::prelude::U256;
use bigint::hash::H256;
use util::cache::MemoryLruCache;
use memory_cache::MemoryLruCache;
/// Configuration for how much data to cache.
#[derive(Debug, Clone, PartialEq, Eq)]

View File

@@ -92,6 +92,7 @@ extern crate vm;
extern crate hash;
extern crate triehash;
extern crate kvdb;
extern crate memory_cache;
#[cfg(feature = "ipc")]
extern crate ethcore_ipc as ipc;