1
0
Fork 0
forked from lthn/blockchain

disabled cache for db

This commit is contained in:
crypro.zoidberg 2019-05-09 12:37:17 +02:00
parent 07639f46d5
commit 53c1a45665
2 changed files with 3 additions and 3 deletions

View file

@ -695,8 +695,8 @@ namespace tools
typedef basic_key_value_accessor<t_key, t_value, is_t_access_strategy> base_class;
typedef epee::misc_utils::cache_with_write_isolation<is_ordered_type, t_key, std::shared_ptr<const t_value>, 10000> cache_container_type;
//typedef epee::misc_utils::cache_dummy<is_ordered_type, t_key, std::shared_ptr<const t_value>, 100000> cache_container_type;
//typedef epee::misc_utils::cache_with_write_isolation<is_ordered_type, t_key, std::shared_ptr<const t_value>, 10000> cache_container_type;
typedef epee::misc_utils::cache_dummy<is_ordered_type, t_key, std::shared_ptr<const t_value>, 100000> cache_container_type;
mutable cache_container_type m_cache;

View file

@ -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