I've been trying to maintain a full node for several months. It seemed to be working until I noticed zero balances this morning. etherscan.io site confirmed that balances are not zero, so investigating further, I see on my node that in spite of having accumulated a terabyte of blockchain, and until recently been able to view balances properly:
> eth.getBlock("latest").number
0
But:
> eth.syncing
{
currentBlock: 8225916,
highestBlock: 8226042,
knownStates: 85829054,
pulledStates: 85828145,
startingBlock: 8224824
}
The process running this has always been:
31300 pts/12 Sl+ 222:33 /cnodes/engines/bin/geth --syncmode full --cache=2048 --rpc --maxpeers 100 --verbosity 2
Yet I see messages logged like this:
WARN [07-26|07:10:11.117] Dropping unsynced node during fast sync id=711b6ab8f303771e conn=dyndial addr=103.75.212.222:30303 type=Geth/v1.8.2-stable-b8b9f7f4/linux-amd64/go1.9.4
I am wondering what I might have done to put it in this state, perhaps by restarting geth in bad circumstances such as after running out of space and providing more. I have always specified full sync. This is certain because it is script driven and the option is hard coded. I'd much appreciate any enlightenment that anyone can offer.
root@merle:/cnodes/engines# sum bin/geth 44498 32749 root@merle:/cnodes/engines# sum geth-linux-amd64-1.8.27-4bcc0a37/geth 44498 32749
– Bill Michaelson Jul 26 '19 at 20:19`
208.88.169.151:30303 Geth/v1.9.1-stable-b7b2f60f/linux-amd64/go1.11.5
52.38.189.178:30303 Geth/v1.9.0-stable/linux-amd64/go1.10.4 `
– Bill Michaelson Jul 29 '19 at 20:41WARN [07-29|16:33:20.621] Node data write error err="state node 3c5221…6471a8 failed with all peers (2 tries, 2 peers)"
– Bill Michaelson Jul 29 '19 at 20:49