Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • What does that even mean? Should they be the same, or near each other? Commented Aug 17, 2017 at 20:01
  • 7
    They should be close to each other. In other words, run 100 * eth.syncing.currentBlock / eth.syncing.highestBlock to get the percent completed. When it is close to 100, you are synced. Commented Nov 16, 2017 at 14:32
  • If eth.syncing is false, it's already sync and you can check eth.blockNumber against a block explorer if you want to double-check. Source Commented Nov 21, 2017 at 14:57
  • So it should be CLOSE or EXACT the same number of block? It's crucial Because I'm 99.99335% synced and I'm wating for hour still on the same block. I wonder am I synced or not yet. Commented Dec 2, 2017 at 18:34
  • 7
    Fun fact: geth attach is actually a complete JavaScript environment! If you're looking to repeatedly print out the percentage on a timed loop, you can simply run (function percentage() { console.log(100* eth.syncing.currentBlock / eth.syncing.highestBlock); setTimeout(percentage, 10000); } ()); Commented Dec 17, 2017 at 0:09