mist icon indicating copy to clipboard operation
mist copied to clipboard

Issues related with Syncing

Open evertonfraga opened this issue 9 years ago • 60 comments

Updated in 2018-01-08

Notes about sync

"Stuck" on 100-200 blocks away from current highest block

When using the default Geth setting fast mode, it downloads blocks, headers and chain structure (or state entries). As of today, the latter sums up more than 70 million entries. Know what to expect: it can take several hours to download on a consumer machine. For quicker access to funds or balances, refer to the Light Client section.

"Mist has eaten my hard drive space"

Regular geth sync can take dozens of GB from your hard drive. In order to reclaim space, you can:

  1. execute geth removedb
  2. enable the light client (see below)

For information directly related to blockchain sync, refer to https://github.com/ethereum/go-ethereum

Light Client

Soon-to-be default, yet still experimental. It downloads block headers and pulls blocks on demand. The sync times are reduced by an order of magnitude while staying safe. And the required storage is a lot smaller.

How to activate? 30986199-ff885216-a468-11e7-82ec-e66aeb859ab8

Mist Wiki: https://github.com/ethereum/mist/wiki Gitter channel, where the community is, and can certainly help as well: https://gitter.im/ethereum/mist

evertonfraga avatar Sep 28 '17 19:09 evertonfraga

@evertonfraga please put Mist first in the list of releases, then Ethereum Wallet. I think most people would prefer to try using Mist with the built in Ethereum wallet.

jamesray1 avatar Sep 29 '17 00:09 jamesray1

That’s a nice heads up, but github doesn’t let me do that.

We’re planning to have a super friendly website, where we’ll be in control of things like this On Thu, 28 Sep 2017 at 21:01 James Ray [email protected] wrote:

@evertonfraga https://github.com/evertonfraga please put Mist first in the list of releases, then Ethereum Wallet. I think most people would prefer to try using Mist with the built in Ethereum wallet.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ethereum/mist/issues/3097#issuecomment-332995386, or mute the thread https://github.com/notifications/unsubscribe-auth/AAC4BA7F7go4-4W8xPUz5Pdplk9ZQ7zQks5snDNZgaJpZM4Pnv0s .

evertonfraga avatar Sep 29 '17 00:09 evertonfraga

OK, sure.

jamesray1 avatar Sep 29 '17 00:09 jamesray1

As soon as I engage the light client, Mist stops working. It just says 'checking network...'

I believe the problem was fixed by closing Plex Media software; perhaps it was trying to use the same port or something... Anyhow, it works! After months of not being able to see my balance, what a relief!!

squibbler00 avatar Sep 29 '17 01:09 squibbler00

Run go-ethereum separatedly with geth --vmodule=sync=6,downloader=6 to see whats happening with sync.

3esmit avatar Nov 02 '17 15:11 3esmit

Hello, Not sure this is the right thread to post this question but Im not seeing my ETH in myetherwallet.com.

I saw some people recommending myetherwallet.com but I have having similar issues to others...I transferred small amounts of ETH from both Coinbase and ethermine.org and neither transfers show up in myetherwallet.com but both show on eitherscan.io. Does anyone have any thoughts as to why?

One weird thing I noticed was that when I sign into myetherwallet.com with my private key, the address shows differently than the address shown here (the address shown here is the original address I recorded when i created the wallet - not sure if myetherwallet generates multiple addresses?).

Etherscan.io screenshots below:

image

Thank you in advance!

crypt2kpr avatar Nov 07 '17 17:11 crypt2kpr

Just checked "Sync with light client" and what happened: balance become 0. a new subfolder appeared: "lightchaindata" 2 Mb in size. the old "chaindata" still in place, 205 Gb in size. after a while it started to sync and the correct balance appeared. The folders "lightchaindata" and "chaindata" remained unchanged in size: 2 Mb and 205 Gb. Is it safe now to delete the chaindata" folder ? Can i safely send ether with my wallet in this "light" mode ? The purpose was to reduce the size on disk and keep the wallet operational. Using the official ethereum wallet, latest version 0.92 with geth 1.7.2

atreyyu avatar Nov 17 '17 01:11 atreyyu

@atreyyu the lightchaindata directory should be bigger than "2Mb" at the moment.

It is safe to delete chaindata, though.

evertonfraga avatar Nov 17 '17 17:11 evertonfraga

@evertonfraga: the lightchaindata is around 200 Mb now. I've deleted the chaindata. Thank you !

atreyyu avatar Nov 17 '17 19:11 atreyyu

geth kept failing every 10 - 15 minutes so in windows i created a sync.cmd file with the following and that took care of it.

C: cd "C:\Users\Dan\AppData\Roaming\Ethereum Wallet\binaries\Geth\unpacked"

:loop

%@Try%

call "geth.exe" --fast --cache=512 --datadir="D:\Ethereum-Wallet-win32-0-9-3"

timeout 2

%@EndTry% :@Catch goto loop :@EndCatch

goto loop

dfalzetti avatar Jan 14 '18 03:01 dfalzetti

it can take several hours to download on a consumer machine

It's been 3 days for me, it's still stuck 179 blocks behind. Light client syncing works for me, but I rarely get peers. Any suggestions on the fast sync front?

anthony-cros avatar Jan 17 '18 21:01 anthony-cros

@anthony-cros it has to download over 70M state entries. Please start Geth from the command line in order to have a bird's eye on syncing progress.

evertonfraga avatar Jan 19 '18 13:01 evertonfraga

How does one sync with light client? There is no option on Mist to go to " developers>sync with light client(beta) "

JayCopal avatar Jan 19 '18 17:01 JayCopal

the main issue I had was that the version of geth that came with the ethereum wallet that I downloaded kept crashing. I downloaded the latest version and was able to sync in under 24 hours

dfalzetti avatar Jan 19 '18 18:01 dfalzetti

@evertonfraga , thanks, it's already what I do. Note that it's not always 179 blocks behind, it changes over time but remains in the hundreds

anthony-cros avatar Jan 20 '18 16:01 anthony-cros

UPDATE: finally got my geth synced (overnight) using the following:

  • debian:9.3-slim base docker image (instead of ubuntu:16.04 earlier)
  • ports 8545 and 30303 open
  • geth options: --fast and --cache=1024 (I was using 512 earlier)

Not sure if it was just luck or if something in the above list made the difference, but hopefully that'll help someone else...

anthony-cros avatar Jan 21 '18 09:01 anthony-cros

This wallet is just broken, for this big of a project like Ethereum its a damn shame that its default wallet does not work ever. I ma stuck at "Node connected" splash screen and no matter what I try cannot get pass it.

VladimirAmiorkov avatar Jan 21 '18 11:01 VladimirAmiorkov

Any ideas, after turning light client my wallet hangs. After I start the client it says "Ethereum node connected" and freezes, nothing happening. Tryed to rename chaindata folder didnt helped. Any ideas? Also same problem as VladimirAmiorkov.

JuC0de avatar Jan 22 '18 19:01 JuC0de

again: win10, i7 quad core, 16gb ram, nvidia gcard.

synced mist also with light client beta, accounts are still zero!

https://github.com/ethereum/mist/issues/3593

another thought. if, I start fresh, how do I import the existing accounts, i know passwords of in mist/ethereum wallet?

lnaie avatar Jan 22 '18 22:01 lnaie

any update on this?

ChristBKK avatar Jan 23 '18 09:01 ChristBKK