Ethereum Wallet never syncing? Use light mode.

in #ethereum8 years ago (edited)

I saw a social media post asking for help getting the Ethereum blockchain to synchronise. I recently had the same problem and tried many of the same things to resolve the issues. That is, I opened the ports 30303 and 30304 on my router, enabled uPnP. I even brought a new SSD because the drive I was syncing to was running at 100%. Still, the blockchain would kept lagging behind.

Ethereum Splash Screen

I got Ethereum to fully sync with some spicy command line action that puts the geth program into a light mode. The instructions below are for Windows.

  1. Open the command prompt
  2. In the command prompt, change the current directory to the one that holds your local copy of geth.exe
    cd C:\Users\XXXX\AppData\Roaming\Mist\binaries\Geth\unpacked
    where XXXX is your username
  3. Run this:
    geth --syncmode "light" --verbosity 4

Wait a few seconds before starting your wallet software as usual. You'll get a screen of debug spam. You can drop the verbosity level to 3, though at three you cannot see if geth is making connections to peers, so I leave verbosity on four.

Once you have an up to date blockchain (and you've done whatever business you needed to do), then I like to go back and run:
geth --syncmode "full"
This will eventually get a local copy of the full blockchain. But, for some reason, that mode seems to always be behind for me. Whenever I want to do anything that needs a synced up wallet, I go back to --syncmode "light". I've had no ill effects switching back and forth between light and full syncmodes.

One other thing: If your wallet GUI says there is a new version of geth to download, then you'll need to stop the geth running in your command prompt (Ctrl-c) before you download the update. Once the the download is complete, then exit the wallet software and re-run Geth in your command prompt.

You'll see Ethereum now synchronises very quickly indeed.

Steem on.

Sort:  

thanks for leasing me 100sp bro

Damn thats some luck!

You're welcome. I hope you find the extra XP useful.

I like politeness. I'm extending your lease until the end of the month at no cost.

thanks for sharing @eturnerx. it is an interesting piece

Congratulations! This post has been upvoted from the communal account, @minnowsupport, by outhori5ed from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, someguy123, neoxian, followbtcnews/crimsonclad, and netuoso. The goal is to help Steemit grow by supporting Minnows and creating a social network. Please find us in the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.

This post was resteemed by @resteembot!
Good Luck!

Learn more about the @resteembot project in the introduction post.

This post received a 3.8% upvote from @randowhale thanks to @eturnerx! For more information, click here!

@eturnerx got you a $1.93 @minnowbooster upgoat, nice!
@eturnerx got you a $1.93 @minnowbooster upgoat, nice! (Image: pixabay.com)


Want a boost? Click here to read more!

This post has received a 0.69 % upvote from @booster thanks to: @eturnerx.

This post has received a 4.42 % upvote from @bellyrub thanks to: @eturnerx.

 8 years ago  Reveal Comment

I'm too new to have buddies. But, your post got me thinking. I am the 1% here so, it's in my power to try change things. Best I act upper middle class and encourage the whales to upvote quality content. That means more networking for me. Keep up your thoughtful posts. I'll upvote where I can. So many minnows to feed :)

 8 years ago  Reveal Comment

Hang in there if you can. These are no easy times for a platform like Steem though I'm hoping quality writers like yourself can graduate into dolphin-hood soon. I'll do what I can with the whales.

man you're a lord of steem, just checked out your wallet, well done man!

I bought my way into the (almost) 1% because I see the opportunities here. This is a third world economy and it needs transforming into first world for my investment to pay off. Welcome to Steem btw. Good to see you diversify from YouTube etc.

you're a smart guy man i'm glad i know you