Run "miner" with Lower Difficulty

This section describes how to run 'geth' miner with lower difficulty level.

With the "geth" node running on my private Ethereum network with the initial difficulty set to 1000000, I am ready try the 'miner' again:

> eth.blockNumber
0

> eth.coinbase
"0x05d4e1a499775ce9d681abd50bda655c7b5ccb90"

> miner.start(1)
null

...
> eth.blockNumber
11

> miner.stop()
true

Wow! Within 2 minutes, I got 11 new blocks mined!

Here are the log file entries:

[21:11:23] Commit new mining work        number=1 txs=0 uncles=0 
[21:11:36] Successfully sealed new block number=1 hash=90af45…bf71c8
[21:11:36] mined potential block       number=1 hash=90af45…bf71c8

[21:11:36] Commit new mining work        number=2 txs=0 uncles=0 
[21:11:58] Successfully sealed new block number=2 hash=6df690…3f3cd4
[21:11:58] mined potential block       number=2 hash=6df690…3f3cd4

[21:11:58] Commit new mining work        number=3 txs=0 uncles=0 
[21:12:04] Successfully sealed new block number=3 hash=e2b3c5…64966d
[21:12:04] mined potential block       number=3 hash=e2b3c5…64966d

...

[21:13:22] Commit new mining work        number=11 txs=0 uncles=0
[21:13:30] Successfully sealed new block number=11 hash=8be5e9…6a622e
[21:13:30] mined potential block       number=11 hash=8be5e9…6a622e

This is too fast. Increase the network difficulty level from 1000000 to 10000000 is needed to slow down the growth of the blockchain.

Table of Contents

 About This Book

 Introduction of Ethereum

 Ethereum Blockchain

 Ethereum Mist Wallet

 geth - Go Ethereum

 Deprecated: Testnet - Ropsten Network

 Private Ethereum Network

 64-Bit "geth" for Private Ethereum Network

Private Network with Custom Genesis Block

 Build Genesis Block Manually

Run "miner" with Lower Difficulty

 Check Mining Rewards on My Account

 Pre-Allocate Ether in Genesis Block

 Build Ethereum Private Network Properly

 Blockchain Difficulty Level and Growth Rate

 "Head State Missing" Error on Restarting "geth"

 Download and Install "geth" 1.8.2

 Run and Restart with "geth" 1.8.2

 Transferring Funds between Ether Accounts

 MetaMask - Browser Based Ethereum Wallet

 Using MetaMask Wallet

 Getting Free Ether on Test Networks

 Managing Ethereum Account

 Mining Ether with Your Computer

 Archived Tutorials

 References

 Full Version in PDF/EPUB