6

I'm running get --fast --cache=1024 on my laptop as we speak, and I'd like to know some stats about how many peers I'm connected to at any given time. I've been checking the size of my chaindata directory for a rough estimate of my progress, but is there any way to get this information from the geth process itself?

Thanks!

7

You can use console in second terminal.

geth attach

and then in the console:

> eth.syncing
{
  currentBlock: 27832,
  highestBlock: 3520007,
  startingBlock: 26025
}
> net.peerCount
9

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.