From 50d13fd9a80a170ca683ee43f082c23f7b14adf2 Mon Sep 17 00:00:00 2001 From: Alex Sharov Date: Tue, 8 Sep 2020 13:09:33 +0700 Subject: [PATCH] increase tx limit (#1047) --- 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 0f7aad0c0..0b133b596 100644 --- a/eth/downloader/downloader.go +++ b/eth/downloader/downloader.go @@ -577,7 +577,7 @@ func (d *Downloader) syncWithPeer(p *peerConnection, hash common.Hash, blockNumb return err } - canRunCycleInOneTransaction := height-origin < 32 && height-hashStateStageProgress < 32 + canRunCycleInOneTransaction := height-origin < 1024 && height-hashStateStageProgress < 1024 var writeDB ethdb.Database // on this variable will run sync cycle.