There is no return value for web3.eth.isSyncin, and the geth client does not prompt for eth_syncing.

web3.eth.isSyncing(function(error, sync){
  console.log(4564564564)
  if(!error) {
      if(sync === true) {
         web3.reset(true);
      } else if(sync) {
         console.log(sync.currentBlock);
      } else {
      }
  }
});
console.log(eth.syncing)

eth.syncing has always been equal to false,. I used node to run the above code, but it never returned a value, and 4564564564 could not be printed. How can I make eth.syncing=true? thank you guys

.

Nov.29,2021

that means you are not in the Synchronize state. When you are in Synchronize, it is like this:

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b38a0c-2b491.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b38a0c-2b491.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?