TransWikia.com

How do I monitor the status of a Geth sync in fast mode?

Ethereum Asked by iameli on February 6, 2021

I started up a fresh Geth node and it’s syncing in fast mode. I’m currently here:

INFO [10-26|18:11:04.053] Imported new state entries               count=768  elapsed=63.553ms    processed=245780433 pending=100559 trieretry=0   coderetry=0 duplicate=247 unexpected=903

How do I know how far along it is in its sync? It says I’ve currently processed 245780433 trie nodes; is the total number of nodes known? Alternately, is the disk usage of a fast sync known?

One Answer

Input this command (vary the datadir to reflect your system if necessary)

sudo geth attach --datadir /var/lib/goethereum/

then at the > prompt type eth.syncing

You'll see something like the output below -- it's the distance between the top two numbers that show how far away you are from synched.

{
  currentBlock: 11767544,
  highestBlock: 11790961,
  knownStates: 628485238,
  pulledStates: 628485238,
  startingBlock: 11790248
}

A response of "false", unintuitively, means you're all good and synched up.

Answered by brianfit on February 6, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP