Sometimes I see this in getpeerinfo:
"synced_headers": -1, "synced_blocks": -1,
sometimes it's only synced blocks at -1.
What does that mean?
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It only takes a minute to sign up.Sign up to join this community
It means you either have no headers, no block, or both known to be (*) in common with this peer.
$ bitcoin-cli help getpeerinfo .... "synced_headers" : n, (numeric) The last header we have in common with this peer "synced_blocks" : n, (numeric) The last block we have in common with this peer
(*) As Pieter cleared in the comment it doesn't mean you aren't on the same chain, just that the peer didn't announce any block to you yet.