From bf2a419074a8f40411681177362db440670885aa Mon Sep 17 00:00:00 2001 From: Dima Litvinov Date: Wed, 16 Aug 2023 23:10:25 +0100 Subject: [PATCH] IS-256 Experimentally minify cache --- SkaleCommon.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SkaleCommon.h b/SkaleCommon.h index bc720d76..6bdd6f31 100644 --- a/SkaleCommon.h +++ b/SkaleCommon.h @@ -207,8 +207,8 @@ static constexpr uint64_t TEST_MAGIC_NUMBER = 0x2456032650150; static constexpr uint64_t MAX_DEFERRED_QUEUE_SIZE_FOR_BLOCK = 1024; -static const uint64_t KNOWN_TRANSACTIONS_HISTORY = 2 * MAX_TRANSACTIONS_PER_BLOCK; -static const uint64_t MAX_KNOWN_TRANSACTIONS_TOTAL_SIZE = 256 * 1024 * 1024; // 256 MBYTE FOR NOW +static const uint64_t KNOWN_TRANSACTIONS_HISTORY = 100; +static const uint64_t MAX_KNOWN_TRANSACTIONS_TOTAL_SIZE = 1 * 1024 * 1024; // 256 MBYTE FOR NOW static const uint64_t KNOWN_MSG_HASHES_SIZE = 1024;