When initial synchronization (i.e., from block 1) is performed with --fast
, both blocks and chainstates are downloaded separately. In my current ongoing download (and apparently others) full synchronization is held up not by waiting for block downloads by waiting for state importation and processing.
What are the state database entries and how can I learn how many exist in the current full blockchain? I'm not finding a status on https://ethstats.net or similar sites.
There is some discussion of the chainstate database entries here and here, and previous size here but I'd like to understand this more thoroughly.
UPDATE: It appears these state database entries are the Merkel Patricia state trie that has to be downloaded before the pivot point is defined and geth moves on to a classical synchronization. This state download period is taking many days and I've had to restart it multiple times. The state count appears to always start at zero each time I restart geth.
So my new question is: Does the Merkel state trie download have to be done at one time, or is the state trie being appended from the previous geth run each time I restart geth?