From ebb332078734d5768b2f4228b0434d4cf4441070 Mon Sep 17 00:00:00 2001 From: Manav Darji Date: Tue, 3 Oct 2023 16:01:33 +0530 Subject: [PATCH] Increase constants more for 49512 tries in memory --- eth/downloader/downloader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/downloader/downloader.go b/eth/downloader/downloader.go index 282efe0716..edc358fc79 100644 --- a/eth/downloader/downloader.go +++ b/eth/downloader/downloader.go @@ -58,7 +58,7 @@ var ( fsHeaderSafetyNet = 2048 // Number of headers to discard in case a chain violation is detected fsHeaderForceVerify = 24 // Number of headers to verify before and after the pivot to accept it fsHeaderContCheck = 3 * time.Second // Time interval to check for header continuations during state download - fsMinFullBlocks = 2048 // Number of blocks to retrieve fully even in snap sync (triesInMemory/2) + fsMinFullBlocks = 24576 // (1024 * 48 / 2) // Number of blocks to retrieve fully even in snap sync (triesInMemory/2) ) var (