diff options
author | obscuren <geffobscura@gmail.com> | 2014-03-03 18:32:58 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-03-03 18:32:58 +0800 |
commit | 833a1a4eab01392b69339762cf8fe443697138a2 (patch) | |
tree | 62c01fa4769e750ac079d0e04a54b166b4201c5b | |
parent | 3d2c3b0107d438dd081c57ef74036f4c5a03855f (diff) | |
download | dexon-833a1a4eab01392b69339762cf8fe443697138a2.tar.gz dexon-833a1a4eab01392b69339762cf8fe443697138a2.tar.zst dexon-833a1a4eab01392b69339762cf8fe443697138a2.zip |
Block mining log
-rw-r--r-- | ethereum.go | 1 |
1 files changed, 1 insertions, 0 deletions
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()) |