From 53c1a456651ce2571cc6fcb842f7ab8ce6714931 Mon Sep 17 00:00:00 2001 From: "crypro.zoidberg" Date: Thu, 9 May 2019 12:37:17 +0200 Subject: [PATCH] disabled cache for db --- src/common/db_abstract_accessor.h | 4 ++-- src/currency_core/currency_config.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/db_abstract_accessor.h b/src/common/db_abstract_accessor.h index 61126293..4568c3bc 100644 --- a/src/common/db_abstract_accessor.h +++ b/src/common/db_abstract_accessor.h @@ -695,8 +695,8 @@ namespace tools typedef basic_key_value_accessor base_class; - typedef epee::misc_utils::cache_with_write_isolation, 10000> cache_container_type; - //typedef epee::misc_utils::cache_dummy, 100000> cache_container_type; + //typedef epee::misc_utils::cache_with_write_isolation, 10000> cache_container_type; + typedef epee::misc_utils::cache_dummy, 100000> cache_container_type; mutable cache_container_type m_cache; diff --git a/src/currency_core/currency_config.h b/src/currency_core/currency_config.h index c406309c..35b9cdca 100644 --- a/src/currency_core/currency_config.h +++ b/src/currency_core/currency_config.h @@ -205,7 +205,7 @@ #define CURRENT_TRANSACTION_CHAIN_ENTRY_ARCHIVE_VER 3 #define CURRENT_BLOCK_EXTENDED_INFO_ARCHIVE_VER 1 -#define BLOCKCHAIN_STORAGE_MAJOR_COMPATIBILITY_VERSION CURRENCY_FORMATION_VERSION + 5 +#define BLOCKCHAIN_STORAGE_MAJOR_COMPATIBILITY_VERSION CURRENCY_FORMATION_VERSION + 6 #define BLOCKCHAIN_STORAGE_MINOR_COMPATIBILITY_VERSION 1