View the "pending" Block

This section describes how to view the 'pending' block.

After running the 'geth' miner for more than a hour, I still don't see any new blocks generated.

Let's check to see if there any "pending" blocks waiting to be "mined":

> eth.getBlock("pending")
{
  difficulty: 17171480576,
  extraData: "0xd983010801846765746887676f312e392e328777696e646f7773",
  gasLimit: 5003,
  gasUsed: 0,
  hash: null,
  logsBloom: "0x00000000000000000000000000000000000000000000000000000...",
  miner: null,
  mixHash: 
     "0x0000000000000000000000000000000000000000000000000000000000000000",
  nonce: null,
  number: 1,
  parentHash: 
     "0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3",
  receiptsRoot: 
     "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
  sha3Uncles: 
     "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
  size: 538,
  stateRoot: 
     "0x04bd63d0bb2ec7ce24895b0665495ea9e77e8dcc5b50d86c6e4e598e293c2c79",
  time: 1520195159,
  totalDifficulty: 0,
  transactions: [],
  transactionsRoot: 
     "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
  uncles: []
}

Good. We have an empty block (no transactions) in the queue pending to be "mined".

May be the issue is that my "miner" is too slow to find the magic "nonce". See next tutorial on how to speed up the miner performance.

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 Your Computer

 Archived Tutorials

 References

 Full Version in PDF/EPUB