Skip to content

Instantly share code, notes, and snippets.

@lyricalpolymath
Created August 9, 2016 10:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save lyricalpolymath/9396673457bfe605be47506609130f51 to your computer and use it in GitHub Desktop.
Save lyricalpolymath/9396673457bfe605be47506609130f51 to your computer and use it in GitHub Desktop.
ETHERUM BLOCKCHAIN SYNCING PROGRESS (Geth) - simple - give a quick feedback on the progress of the blockchain launched though the geth command line and not the ethereum wallet
//with geth running -copy and paste this code to have a simple feedback of the blockchain syncing progress
geth --exec 'var s = eth.syncing; console.log("\n------------ GETH SYNCING PROGRESS\nprogress: " + (s.currentBlock/s.highestBlock*100)+ " %\nblocks left to parse: "+ (s.highestBlock-s.currentBlock) + "\ncurrent Block: " + s.currentBlock + " of " + s.highestBlock)' attach
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment