From 6e400cba2a5e0efd9a2beca0cd7b0ddf22103bcf Mon Sep 17 00:00:00 2001 From: Csaba Kiraly Date: Fri, 19 Dec 2025 12:32:38 +0100 Subject: [PATCH] set cache size Signed-off-by: Csaba Kiraly --- core/blockchain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/blockchain.go b/core/blockchain.go index f381447f1c..ce8fa480ed 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -122,7 +122,7 @@ const ( blockCacheLimit = 256 receiptsCacheLimit = 32 txLookupCacheLimit = 1024 - txOnChainCacheLimit = txLookupCacheLimit * 16 + txOnChainCacheLimit = 32768 // Approx 1MB for 30 minutes of transactions at 18 tps // BlockChainVersion ensures that an incompatible database forces a resync from scratch. //