Run 64-bit "geth" with Miner Module

This section describes how to run the 'miner' module with 64-bit 'geth'.

Now we are ready to restart the Ethereum node on my private network with the 64-bit "geth" and turn on the 'miner' module.

C:\>"\program files\geth\geth.exe" console --networkid 314 
   --datadir\herong\Ethereum\personal 2>> ether-personal.log

Welcome to the Geth JavaScript console!

instance: Geth/v1.8.1-stable-1e67410e/windows-amd64/go1.9.2
coinbase: 0x05d4e1a499775ce9d681abd50bda655c7b5ccb90
at block: 0 (Wed, 31 Dec 1969 19:00:00 EST)
 datadir: C:\herong\Ethereum\personal
 modules: admin:1.0 debug:1.0 eth:1.0 miner:1.0 net:1.0 personal:1.0 
 rpc:1.0 txpool:1.0 web3:1.0

> eth.coinbase

> miner.start(1)


> eth.blockNumber

The 'geth' Ethereum node is not crashing anymore with the 'miner' running. But there is no new blocks generated!

Note that you only need to set the "etherbase (also called coinbase)" once. "geth" will record it in node data files.

Last update: 2018.

Table of Contents

 About This Book

 Introduction of Ethereum

 Ethereum Blockchain

 Ethereum Mist Wallet

 geth - Go Ethereum

 Testnet - Ropsten network

 Private Ethereum Network

64-Bit "geth" for Private Ethereum Network

 Download and Install 64-bit "geth"

Run 64-bit "geth" with Miner Module

 View the "pending" Block

 Run "geth" Miner in Multiple Threads

 4-Thread Miner not Able to Mine Blocks

 Private Network with Custom Genesis Block

 Transferring Funds between Ether Accounts

 MetaMask - Browser Based Ethereum Wallet

 Managing Ethereum Account - Mining Ether with Browser


 PDF Printing Version