[Ethereum] Geth State heal in process explanation

geth-debugginggo-ethereum

I had a synced geth node (syncmode default = snap).
After restarting the machine geth starts to sync again. Ten hours are passed but still syncing.
In the log file i see a lot of State heal in process.

Can someone explain in the following line

State heal in progress  accounts=79840@4.48MiB    slots=383,858@29.04MiB codes=1349@10.44MiB nodes=40,904,378@11.76GiB pending=97731

that the:
Accounts, slots, codes, nodes mean and which value indicating that the process is close to end.

P.S. I restarted the geth and accounts start for 0 again..

Best Answer

I am certainly not an expert on this yet, but I would assume that the accounts figure will have to reach the total # of Ethereum accounts.

I have not been able to find a good chart on the growth of Eth accounts, except for this chart that stops in Jan 2020 at 80+ million. But I would say: As long as your state heal runs faster than the growth of Eth accounts (roughly 100.000 per day, iirc), it should terminate at some point.

Hoping for somebody to correct me if I am wrong...

Also see this question with the same explanation, which I posted separately because I didn't have enough reputation yet to answer protected questions.

Related Topic