Recognize that Node is out of sync and throw corresponding error
If a node is out of sync, user still sees the "Sync clock" issue. Also include the chain head block and time in the thrown error.
https://github.com/bitshares/bitsharesjs/blob/6bad1cf876fb0a0737ca8f654d6615e1358ea758/lib/chain/src/ChainStore.js#L151
also having same issues
The thing is, when head block time of a node is some behind your local clock, it's possible that the node is out of sync, it's also possible that your local clock is too fast, even both. How the lib would know which one is wrong if there is no more info?
I just got an idea: the API server also returns server time E.G. via HTTP response header, perhaps we can use it to check what's the real reason.
How the lib would know which one is wrong if there is no more info?
Good point, thanks!