core/state/snapshot: add generation logs to storage too

This commit is contained in:
Péter Szilágyi 2021-01-15 12:26:46 +02:00
parent d13c59fef0
commit c4deebbf1e
No known key found for this signature in database
GPG Key ID: E9AE538CEDF8293D

@ -281,6 +281,10 @@ func (dl *diskLayer) generate(stats *generatorStats) {
abort <- stats
return
}
if time.Since(logged) > 8*time.Second {
stats.Log("Generating state snapshot", dl.root, append(accountHash[:], storeIt.Key...))
logged = time.Now()
}
}
}
if err := storeIt.Err; err != nil {