Don't output an info log for every block downloaded.

This commit is contained in:
Mike Hearn 2011-06-27 11:37:39 +00:00
parent 212faf078c
commit 5114e6ccec

View file

@ -166,7 +166,7 @@ public class BlockChain {
if (storedPrev.equals(chainHead)) { if (storedPrev.equals(chainHead)) {
// This block connects to the best known block, it is a normal continuation of the system. // This block connects to the best known block, it is a normal continuation of the system.
setChainHead(newStoredBlock); setChainHead(newStoredBlock);
log.info("Chain is now {} blocks high", chainHead.getHeight()); log.trace("Chain is now {} blocks high", chainHead.getHeight());
if (newTransactions != null) if (newTransactions != null)
sendTransactionsToWallet(newStoredBlock, NewBlockType.BEST_CHAIN, newTransactions); sendTransactionsToWallet(newStoredBlock, NewBlockType.BEST_CHAIN, newTransactions);
} else { } else {