From 833a1a4eab01392b69339762cf8fe443697138a2 Mon Sep 17 00:00:00 2001 From: obscuren Date: Mon, 3 Mar 2014 11:32:58 +0100 Subject: [PATCH] Block mining log --- ethereum.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ethereum.go b/ethereum.go index 336cd4d00..07a40b10f 100644 --- a/ethereum.go +++ b/ethereum.go @@ -186,6 +186,7 @@ func main() { txs := ethereum.TxPool.Flush() // Create a new block which we're going to mine block := ethereum.BlockManager.BlockChain().NewBlock(addr, txs) + log.Println("Mining on new block. Includes", len(block.Transactions()), "transactions") // Apply all transactions to the block ethereum.BlockManager.ApplyTransactions(block, block.Transactions())