mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-13 11:36:37 +00:00
core/state/snapshot: add generation logs to storage too
This commit is contained in:
parent
d13c59fef0
commit
c4deebbf1e
1 changed files with 4 additions and 0 deletions
|
|
@ -281,6 +281,10 @@ func (dl *diskLayer) generate(stats *generatorStats) {
|
||||||
abort <- stats
|
abort <- stats
|
||||||
return
|
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 {
|
if err := storeIt.Err; err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue