mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-23 23:25:22 +00:00
core: tune "blockchain persist completed" message
It's misleading, we're writing it on disk-level persistence, it's not the same as block "persistence" in C#, so we better write it clear.
This commit is contained in:
parent
453012ff16
commit
1785a333d2
1 changed files with 3 additions and 3 deletions
|
@ -1092,9 +1092,9 @@ func (bc *Blockchain) persist() error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
bc.log.Info("blockchain persist completed",
|
||||
zap.Uint32("persistedBlocks", diff),
|
||||
zap.Int("persistedKeys", persisted),
|
||||
bc.log.Info("persisted to disk",
|
||||
zap.Uint32("blocks", diff),
|
||||
zap.Int("keys", persisted),
|
||||
zap.Uint32("headerHeight", storedHeaderHeight),
|
||||
zap.Uint32("blockHeight", bHeight),
|
||||
zap.Duration("took", time.Since(start)))
|
||||
|
|
Loading…
Reference in a new issue