Skip to content

Commit c6b2a6c

Browse files
committed
core: add storage hash
1 parent f4735fd commit c6b2a6c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

core/blockchain_stats.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ EVM execution: %v
114114
Validation: %v
115115
Account read: %v(%d)
116116
Storage read: %v(%d)
117-
State hash: %v
117+
Account hash: %v
118+
Storage hash: %v
118119
DB commit: %v
119120
Block write: %v
120121
Total: %v
@@ -125,7 +126,8 @@ Total: %v
125126
common.PrettyDuration(s.Execution), common.PrettyDuration(s.Validation+s.CrossValidation),
126127
common.PrettyDuration(s.AccountReads), s.AccountLoaded,
127128
common.PrettyDuration(s.StorageReads), s.StorageLoaded,
128-
common.PrettyDuration(s.AccountHashes+s.AccountCommits+s.AccountUpdates+s.StorageCommits+s.StorageUpdates),
129+
common.PrettyDuration(s.AccountHashes+s.AccountCommits+s.AccountUpdates),
130+
common.PrettyDuration(s.StorageCommits+s.StorageUpdates),
129131
common.PrettyDuration(s.TrieDBCommit+s.SnapshotCommit), common.PrettyDuration(s.BlockWrite),
130132
common.PrettyDuration(s.TotalTime), s.StateReadCacheStats)
131133
for _, line := range strings.Split(msg, "\n") {

0 commit comments

Comments
 (0)