aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-03-03 18:32:58 +0800
committerobscuren <geffobscura@gmail.com>2014-03-03 18:32:58 +0800
commit833a1a4eab01392b69339762cf8fe443697138a2 (patch)
tree62c01fa4769e750ac079d0e04a54b166b4201c5b /ethereum.go
parent3d2c3b0107d438dd081c57ef74036f4c5a03855f (diff)
downloaddexon-833a1a4eab01392b69339762cf8fe443697138a2.tar
dexon-833a1a4eab01392b69339762cf8fe443697138a2.tar.gz
dexon-833a1a4eab01392b69339762cf8fe443697138a2.tar.bz2
dexon-833a1a4eab01392b69339762cf8fe443697138a2.tar.lz
dexon-833a1a4eab01392b69339762cf8fe443697138a2.tar.xz
dexon-833a1a4eab01392b69339762cf8fe443697138a2.tar.zst
dexon-833a1a4eab01392b69339762cf8fe443697138a2.zip
Block mining log
Diffstat (limited to 'ethereum.go')
-rw-r--r--ethereum.go1
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())