From cdcae9ac1284f5b83dae3c468e6833cf50c1a545 Mon Sep 17 00:00:00 2001 From: Diego Nava Date: Sat, 23 Sep 2023 16:55:53 +0200 Subject: [PATCH] reduce the block number count --- core/preimages.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/preimages.go b/core/preimages.go index 4e1d18447..ee3af8129 100644 --- a/core/preimages.go +++ b/core/preimages.go @@ -221,7 +221,7 @@ func GeneratePreimages(chain BlockChain, start, end uint64) error { // now execute block T+1 based on starting state for i := startingBlock.NumberU64() + 1; i <= end; i++ { - if i%100000 == 0 { + if i%10000 == 0 { fmt.Println("processing block", i) } block := chain.GetBlockByNumber(i)