Created
August 9, 2016 10:59
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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