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,
  nonce: null,
  number: 1,
  size: 538,
  timestamp: 1520195159,
  totalDifficulty: 0,
  transactions: [],
  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.

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