I've noticed that, if I restart geth, attach a console and run eth.syncing, the knownStates and pulledStates values reset to zero and gradually increase again.

Possibly naively, I'd expect that, once known, the states should not be forgotten. Why am I seeing this behaviour?

Why do knownStates and pulledStates reset to zero on restarting geth (after running eth.syncing?


This could be of help: https://ethereum.stackexchange.com/a/9116/4181 Short answer: This information is generated based on verification of the data available in your chaindata folder and is recalculated/verified every time your node client starts.

  • +1 thanks, but why is it re-calculated? Why not start from where it left off? – atomh33ls Aug 10 '17 at 20:28
  • Basically, the client makes sure every block in the chain fits closely to it's neighbour and the data was not tampered with. – Nikita Fuchs Aug 13 '17 at 10:38

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.