Skip to content

chainstacklabs/geth-pending-latest-block

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

For the full breakdown, see Understanding the pending block on Ethereum.

Now let's have a hands-on walkthrough in Python. Here's what we are going to do:

  1. Check the version of the node we are connected to.
  2. Fetch a pending block and its number.
  3. Feth the latest block with the same number.
  4. Compare transactions in the pending and latest blocks.