From 8ba23d5fb7d7f98166a6f7305f7852522fd9166c Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Tue, 18 Mar 2025 21:17:46 +0100 Subject: [PATCH] core/rawdb: less logging during tx index pruning --- core/rawdb/chain_iterator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/rawdb/chain_iterator.go b/core/rawdb/chain_iterator.go index cc6350f242..291c54dff7 100644 --- a/core/rawdb/chain_iterator.go +++ b/core/rawdb/chain_iterator.go @@ -397,7 +397,7 @@ func PruneTransactionIndex(db ethdb.Database, pruneBlock uint64) { } removed++ } - if count%10000 == 0 { + if count%1000000 == 0 { log.Info("Pruning tx index", "count", count, "removed", removed) } }