# ZecWallet balance is not syncronized

**URL:** <https://forum.zcashcommunity.com/t/zecwallet-balance-is-not-syncronized/32924>\
**Category:** Zcash Foundation\
**Created:** [March 17, 2019, 8:08am UTC](https://forum.zcashcommunity.com/t/zecwallet-balance-is-not-syncronized/32924 "2019-03-17T08:08:04Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![lixujason](https://avatars.discourse-cdn.com/v4/letter/l/b9bd4f/32.png) [@lixujason](https://forum.zcashcommunity.com/u/lixujason)\
**Post date:** [March 17, 2019, 8:08am UTC](https://forum.zcashcommunity.com/t/zecwallet-balance-is-not-syncronized/32924/1 "2019-03-17T08:08:04Z")

</div>

I have downloaded and installed ZecWallet for both windows and mac os. I have got really bad user experience with the ZecWallet software. When i imported private key into the software, I got the alert box telling me that “the private key imported successfully”, but the balance is not synchronized. I have got two different balances in windows and mac os, which are not right balance either. Has someone meet the same problem?

---

<div class="post-metadata">

**Author:** ![BrunchTime](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/brunchtime/32/11275_2.png) [@BrunchTime](https://forum.zcashcommunity.com/u/BrunchTime)\
**Post date:** [March 17, 2019, 12:34pm UTC](https://forum.zcashcommunity.com/t/zecwallet-balance-is-not-syncronized/32924/2 "2019-03-17T12:34:48Z")

</div>

Is the blockchain fully synced for both your installations?

---

<div class="post-metadata">

**Author:** ![lixujason](https://avatars.discourse-cdn.com/v4/letter/l/b9bd4f/32.png) [@lixujason](https://forum.zcashcommunity.com/u/lixujason)\
**Post date:** [March 17, 2019, 1:16pm UTC](https://forum.zcashcommunity.com/t/zecwallet-balance-is-not-syncronized/32924/3 "2019-03-17T13:16:13Z")

</div>

Yes. It took quiet a while to sync fully. I know that, the problem happen after that. I check the balance with [https://zcha.in/](https://zcha.in/) as well.

---

<div class="post-metadata">

**Author:** ![Shawn](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/shawn/32/187_2.png) [@Shawn](https://forum.zcashcommunity.com/u/Shawn)\
**Post date:** [March 17, 2019, 2:10pm UTC](https://forum.zcashcommunity.com/t/zecwallet-balance-is-not-syncronized/32924/4 "2019-03-17T14:10:58Z")

</div>

You may need to `rescan` to have your node reindex the Blockchain to find your funds if you imported the keys _after_ it had already synced.

There is a way to start the Zcashd with the `-rescan` flag using the command line, but it depends how your system is configured.

For instance on Mac zcashd is in: `zec-qt-wallet.app/Contents/MacOS/zcashd`

Perhaps @adityapk00 or @garethtdavies would know an easier way to start with `-reindex`

> <https://github.com/ZcashFoundation/zecwallet/issues/107>
>
> There are two options that are regularly recommended to solve issues those being… starting up \`zcashd\` with \`--rescan\` (solves a lot of balance and missing transaction issues) and starting \`zcashd\` with \`--reindex\` (for those times when nothing else seems to work...)
> 
> In writing docs for this, it is hard to do this in practice when using zec-qt-wallet. For example, the Mac app doesn't give access to the embedded \`zcashd\` (or I can't find it 😄).
> 
> Even on say Windows, for those users who want to use a GUI it is possibly a little daunting to have to run an external \`zcashd\` this way, as well as complicated to explain.
> 
> That's a long way of saying, can we get support for doing a rescan and/or reindex. In principle, I would imagine this could work for any \`zcash.conf\` config option but those two are the most important. I'm thinking a simple(ish) workaround would be to have an option say "Perform a wallet rescan on startup" that when checked adds the line to \`zcash.conf\` which only persists through a single startup as of course, you don't want this running on every launch.
> 
> There might be better ways of implementing this and am open to any ideas!

Edit, try `rescan` before `reindex` per Gareths recommendation

---

<div class="post-metadata">

**Author:** ![anon16456014](https://avatars.discourse-cdn.com/v4/letter/a/f0a364/32.png) [@anon16456014](https://forum.zcashcommunity.com/u/anon16456014)\
**Post date:** [March 17, 2019, 2:21pm UTC](https://forum.zcashcommunity.com/t/zecwallet-balance-is-not-syncronized/32924/5 "2019-03-17T14:21:15Z")

</div>

Keep in mind that when you import the private key, the key is not imported instantly. It can take from several minutes to hours (depending on your hardware) for the process to finish due to blockchain rescanning in the background.

Are you still seeing the issue, now that 6 hours have passed?

---

<div class="post-metadata">

**Author:** ![garethtdavies](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/garethtdavies/32/210_2.png) [@garethtdavies](https://forum.zcashcommunity.com/u/garethtdavies)\
**Post date:** [March 17, 2019, 2:40pm UTC](https://forum.zcashcommunity.com/t/zecwallet-balance-is-not-syncronized/32924/6 "2019-03-17T14:40:56Z")

</div>

A rescan would actually be the best first step and will likely cure this and a reindex would be a last resort as it entails re-downloading the entire blockchain.

Assuming it has completed as @anon16456014 points out and the balance is still not correct out I added some instructions for ZecWallet users here: [Troubleshooting Issues - ZecWallet Docs](https://docs.zecwallet.co/troubleshooting/#how-to-perform-a-wallet-rescan)

Long story short though it’s just starting `zcashd` with a `rescan` option so `zcashd -rescan`.

As per that issue I think we could make this a lot easier with support in ZecWallet as this is a pretty common issue.

---

<div class="post-metadata">

**Author:** ![lixujason](https://avatars.discourse-cdn.com/v4/letter/l/b9bd4f/32.png) [@lixujason](https://forum.zcashcommunity.com/u/lixujason)\
**Post date:** [March 18, 2019, 6:36am UTC](https://forum.zcashcommunity.com/t/zecwallet-balance-is-not-syncronized/32924/7 "2019-03-18T06:36:09Z")

</div>

I am trying rescan right now, and already took 10 minutes. How long does it usually take to rescan?

---

<div class="post-metadata">

**Author:** ![lixujason](https://avatars.discourse-cdn.com/v4/letter/l/b9bd4f/32.png) [@lixujason](https://forum.zcashcommunity.com/u/lixujason)\
**Post date:** [March 18, 2019, 9:42am UTC](https://forum.zcashcommunity.com/t/zecwallet-balance-is-not-syncronized/32924/8 "2019-03-18T09:42:33Z")

</div>

@Shawn @garethtdavies@anon16456014 zcashd -rescan worked. For people without computer background, the ZecWallet software still need to be refined. Correct balance should always show after importing private key without users doing anything.

---

<div class="post-metadata">

**Author:** ![boxalex](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/boxalex/32/14872_2.png) [@boxalex](https://forum.zcashcommunity.com/u/boxalex)\
**Post date:** [March 18, 2019, 10:02am UTC](https://forum.zcashcommunity.com/t/zecwallet-balance-is-not-syncronized/32924/9 "2019-03-18T10:02:14Z")

</div>

This makes absolutly sense. This is exactly one of the problems that hinder large adoption an usage. For devs and people familar to to wallets, crypto in general it’s an easy task. But for people new or with less knowledge with computing, software, wallets, whatever it’s something it’s a big burden.

Such things like an automatic rescan when importing private keys should be done just automaticaly to ensure people don’t run into problems that can be solved only with advanced computer/wallet knowledge.

---

<div class="post-metadata">

**Author:** ![garethtdavies](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/garethtdavies/32/210_2.png) [@garethtdavies](https://forum.zcashcommunity.com/u/garethtdavies)\
**Post date:** [March 18, 2019, 2:39pm UTC](https://forum.zcashcommunity.com/t/zecwallet-balance-is-not-syncronized/32924/10 "2019-03-18T14:39:19Z")

</div>

> [@boxalex](#):
>
> Such things like an automatic rescan when importing private keys should be done just automaticaly to ensure people don’t run into problems that can be solved only with advanced computer/wallet knowledge.

Just to be clear, this does happen by default [z\_importkey - Zcash 4.5.1-1 RPC Docs](https://zcash-rpc.github.io/z_importkey.html) which is why importing a key typically takes a while. I’ve never tried to reproduce but I guess _when_ you do the private key import relative to the sync progress matters. Maybe in addition to the ideas in that issue helping users perform a rescan, any importing of keys in ZecWallet is restricted until the node is fully synced (if that indeed is the issue).

---

<div class="post-metadata">

**Author:** ![lixujason](https://avatars.discourse-cdn.com/v4/letter/l/b9bd4f/32.png) [@lixujason](https://forum.zcashcommunity.com/u/lixujason)\
**Post date:** [March 18, 2019, 4:31pm UTC](https://forum.zcashcommunity.com/t/zecwallet-balance-is-not-syncronized/32924/12 "2019-03-18T16:31:17Z")

</div>

![message-imp](https://global.discourse-cdn.com/zcash/original/2X/e/e72f75f56698b2d47ce742e38e1068684014ac45.png)  
I have tried importing again, and noticed the message as above. However, the User interface does not remind me the rescan is being processed. It does not show me the progress of the rescan either. Sometime people may not be patient to quit the Wallet, and I guess the rescan process would be terminated. When Wallet is relaunched, the rescan may not continue so that wrong balance is shown with the transactions partially rescanned. Please correct me if I got something wrong. but in general, the user experience of the Wallet really needs to be improved.

---

<div class="post-metadata">

**Author:** ![garethtdavies](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/garethtdavies/32/210_2.png) [@garethtdavies](https://forum.zcashcommunity.com/u/garethtdavies)\
**Post date:** [March 18, 2019, 6:30pm UTC](https://forum.zcashcommunity.com/t/zecwallet-balance-is-not-syncronized/32924/13 "2019-03-18T18:30:55Z")

</div>

Yes, agreed but ultimately a lot of this is dependent on the functionality of the underlying zcashd so there are limits to what can be accomplished. Large wallet rescans for example can take a huge amount of time (days) but there is some research to improve it: [Research Spike for Large t-addr Wallet Performance Improvements · Issue #3889 · zcash/zcash · GitHub](https://github.com/zcash/zcash/issues/3889)

Still there are some good suggestions and minor tweaks that can be made to improve things with ZecWallet. Copying @adityapk00 (ZecWallet dev) to make sure he sees this thread but also opening an issue here: [Issues · ZcashFoundation/zecwallet · GitHub](https://github.com/ZcashFoundation/zec-qt-wallet/issues) to suggest stuff would also be very welcome!

---

<div class="post-metadata">

**Author:** ![lixujason](https://avatars.discourse-cdn.com/v4/letter/l/b9bd4f/32.png) [@lixujason](https://forum.zcashcommunity.com/u/lixujason)\
**Post date:** [March 19, 2019, 4:07am UTC](https://forum.zcashcommunity.com/t/zecwallet-balance-is-not-syncronized/32924/14 "2019-03-19T04:07:43Z")

</div>

Issue submitted in github already.
