Mining in Ethereum private network

minishaminisha Member Posts: 1
edited January 2016 in Geth - Go Implementation
I setup the private network as mentioned in the link: http://adeduke.com/2015/08/how-to-create-a-private-ethereum-chain/
Initially my account has 10 ether. After I start the miner, ethers are automatically added to my account, but I don't have any pending transaction in my private network. So from where could my miners are getting the ethers?

Even though, I didn't instantiate any transactions in my network, I could see the some transaction being recorded in the logs, once I start the miner.

The log is as follows:
miner.start()
I0118 11:59:11.696523 9427 backend.go:584] Automatic pregeneration of ethash DAG ON (ethash dir: /Users/minisha/.ethash)
I0118 11:59:11.696590 9427 backend.go:591] checking DAG (ethash dir: /Users/minisha/.ethash)
I0118 11:59:11.696728 9427 miner.go:119] Starting mining operation (CPU=4 TOT=5)
true
> I0118 11:59:11.703907 9427 worker.go:570] commit new work on block 1 with 0 txs & 0 uncles. Took 7.109111ms
I0118 11:59:11.704083 9427 ethash.go:220] Generating DAG for epoch 0 (size 1073739904) (0000000000000000000000000000000000000000000000000000000000000000)
I0118 11:59:12.698679 9427 ethash.go:237] Done generating DAG for epoch 0, it took 994.61107ms
I0118 11:59:15.163864 9427 worker.go:349]

And my genesis block code is as follows:

{
"nonce": "0xdeadbeefdeadbeef",
"timestamp": "0x0",
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"extraData": "0x0",
"gasLimit": "0x8000000",
"difficulty": "0x400",
"mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"coinbase": "0x3333333333333333333333333333333333333333",
"alloc": {
"0xb1316b6662e0dcb02352cc8c4c49c16e81bbdc42": {
"balance": "10000000000000000000"
}
}
}



Sign In or Register to comment.