diff options
author | obscuren <geffobscura@gmail.com> | 2015-05-04 03:44:44 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-05-04 03:49:19 +0800 |
commit | 37770ed0d37f9c8ece37fecd443e7c70e915a48a (patch) | |
tree | 0e5664b1fb920993d6c61727cb1cc7508abe6810 /core | |
parent | 1470b22e9051f48fbbeb136cc4c0be0877e9f9a7 (diff) | |
download | dexon-37770ed0d37f9c8ece37fecd443e7c70e915a48a.tar.gz dexon-37770ed0d37f9c8ece37fecd443e7c70e915a48a.tar.zst dexon-37770ed0d37f9c8ece37fecd443e7c70e915a48a.zip |
core: added unix timestamp to debug output for block proc
Diffstat (limited to 'core')
-rw-r--r-- | core/chain_manager.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/chain_manager.go b/core/chain_manager.go index bde5a71d7..29830188e 100644 --- a/core/chain_manager.go +++ b/core/chain_manager.go @@ -604,7 +604,7 @@ func (self *ChainManager) InsertChain(chain types.Blocks) (int, error) { queueEvent.canonicalCount++ if glog.V(logger.Debug) { - glog.Infof("inserted block #%d (%d TXs %d UNCs) (%x...)\n", block.Number(), len(block.Transactions()), len(block.Uncles()), block.Hash().Bytes()[0:4]) + glog.Infof("[%v] inserted block #%d (%d TXs %d UNCs) (%x...)\n", time.Now().UnixNano(), block.Number(), len(block.Transactions()), len(block.Uncles()), block.Hash().Bytes()[0:4]) } } else { if glog.V(logger.Detail) { |