23

I issue eth.syncing and get false even when at the same time blocks are imported. Is this correct behaviour?

Using geth version 1.4.6

1 Answer 1

24

Yes, correct behavior. false means that your Geth is up to date and is not currently syncing. It keeps importing the latest block to remain up to date. Check eth.blockNumber against a block explorer if you want to double-check.

EDIT: web3.eth.isSyncing() will also return false when syncing has not yet started (or is currently not running). If this is the case, you need to check your networking that you are connecting to peers: Why doesn't my Ethereum node have any peers?

4
  • 6
    The eth.syncing or web3.eth.syncing returns false, while eth.blockNumber returns 0. It doesn't seem correct at all. Commented Dec 27, 2017 at 10:03
  • @Raptor I'm not sure so I suggest asking a separate question. Commented Dec 30, 2017 at 14:18
  • eth.blockNumber says 0 for me Commented Sep 3, 2021 at 1:00
  • @chovy I am editing the questions that you have made comments to. Maybe you are not getting any peers. Commented Sep 12, 2021 at 4:54

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.