Database performance tweaks (#2619)

This commit is contained in:
Arkadiy Paronyan
2016-10-14 14:44:11 +02:00
committed by Gav Wood
parent 8ad1582208
commit 835cd13c0e
3 changed files with 15 additions and 11 deletions

View File

@@ -31,8 +31,7 @@ pub const DEFAULT_ACCOUNT_PRESET: usize = 1000000;
pub const ACCOUNT_BLOOM_HASHCOUNT_KEY: &'static [u8] = b"account_hash_count";
const STATE_CACHE_BLOCKS: usize = 8;
const STATE_CACHE_BLOCKS: usize = 12;
/// Shared canonical state cache.
struct AccountCache {