Branch: refs/heads/master
Home: https://github.com/conformal/btcd
Commit: b12e2fc1db4826091359bfaae132f98088ad65f1
https://github.com/conformal/btcd/commit/b12e2fc1db4826091359bfaae132f98088ad65f1
Author: Jimmy Song <[email protected]>
Date: 2014-03-19 (Wed, 19 Mar 2014)
Changed paths:
M util/addblock/config.go
M util/addblock/import.go
Log Message:
-----------
Issue #90: Improve addblock logging by reporting every 10 seconds instead of
X number of blocks
blockImporter now has these new properties:
txProcessed - number of transactions processed by the importer
lastHeight - height of the last imported block
lastBlockTime - block time of the last imported block
lastLogTime - last timestamp of when a progress message was shown
the p/progress option in addblocks now indicates how often you want the
progress message to appear