Merge branch 'master' into light-poa

This commit is contained in:
Robert Habermeier
2017-08-30 18:18:52 +02:00
56 changed files with 720 additions and 134 deletions

View File

@@ -42,7 +42,8 @@ use ethcore::engines::epoch::{
};
use rlp::{Encodable, Decodable, DecoderError, RlpStream, Rlp, UntrustedRlp};
use util::{H256, H256FastMap, H264, U256, HeapSizeOf, RwLock};
use heapsize::HeapSizeOf;
use util::{H256, H256FastMap, H264, U256, RwLock};
use util::kvdb::{DBTransaction, KeyValueDB};
use cache::Cache;

View File

@@ -374,7 +374,7 @@ impl<T: ChainDataFetcher> Client<T> {
/// Get blockchain mem usage in bytes.
pub fn chain_mem_used(&self) -> usize {
use util::HeapSizeOf;
use heapsize::HeapSizeOf;
self.chain.heap_size_of_children()
}