Skip to content

Commit ed53821

Browse files
holimanfjl
authored andcommitted
eth/protocols/snap: make log messages more clear that sync is ongoing (ethereum#25837)
* eth/protocols/snap: make log messages more clear that sync is ongoing * Update sync.go Co-authored-by: Felix Lange <[email protected]>
1 parent 08b0a5b commit ed53821

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eth/protocols/snap/sync.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2962,7 +2962,7 @@ func (s *Syncer) reportSyncProgress(force bool) {
29622962
storage = fmt.Sprintf("%v@%v", log.FormatLogfmtUint64(s.storageSynced), s.storageBytes.TerminalString())
29632963
bytecode = fmt.Sprintf("%v@%v", log.FormatLogfmtUint64(s.bytecodeSynced), s.bytecodeBytes.TerminalString())
29642964
)
2965-
log.Info("State sync in progress", "synced", progress, "state", synced,
2965+
log.Info("Syncing: state download in progress", "synced", progress, "state", synced,
29662966
"accounts", accounts, "slots", storage, "codes", bytecode, "eta", common.PrettyDuration(estTime-elapsed))
29672967
}
29682968

@@ -2981,7 +2981,7 @@ func (s *Syncer) reportHealProgress(force bool) {
29812981
accounts = fmt.Sprintf("%v@%v", log.FormatLogfmtUint64(s.accountHealed), s.accountHealedBytes.TerminalString())
29822982
storage = fmt.Sprintf("%v@%v", log.FormatLogfmtUint64(s.storageHealed), s.storageHealedBytes.TerminalString())
29832983
)
2984-
log.Info("State heal in progress", "accounts", accounts, "slots", storage,
2984+
log.Info("Syncing: state healing in progress", "accounts", accounts, "slots", storage,
29852985
"codes", bytecode, "nodes", trienode, "pending", s.healer.scheduler.Pending())
29862986
}
29872987

0 commit comments

Comments
 (0)