my computer is mac and it has run geth import for about a week, and it's 4000000 block now. I have ran geth --fast before and it's slow too. I am in china, is it something i can do to make it faster?
1 Answer
Try this,
geth removedb
then
geth --light
I have found that --light is much faster, only a few minutes for me compared to fast.
-
with your recommendation to
removedb
he will lose the week he was downloading. and the --light option won't download the full blockchain btw, only current state– NulikDec 1, 2017 at 18:57 -
Yes he will delete his chain, but will have a fully synced chain in minutes giving him access to his funds and enabling him to start transacting. Why would you need a full node when the average person only needs to access their wallet. Since --light became available its all I use.– LismoreDec 2, 2017 at 8:57
-
you are right. i do geth removedb, then geth --fast. i read the document that say fast mode only works when there is no data in database. Dec 4, 2017 at 1:02
--cache=1024
per this answer ethereum.stackexchange.com/questions/392/…