Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

sync taking unexpectedly long and not completing (so far) #99

Open
softminus opened this issue Jul 13, 2022 · 2 comments
Open

sync taking unexpectedly long and not completing (so far) #99

softminus opened this issue Jul 13, 2022 · 2 comments

Comments

@softminus
Copy link

Starting up zecwallet-lite-cli after a period of not using it, and it stays at

sasha_work@seasonal-dream zecwallet-light-cli % ./target/debug/zecwallet-cli          
Lightclient connecting to https://lwdv3.zecwallet.co:443/
id: 1, blocks: 0%, decryptions: 0%, tx_scan: 0%
id: 1, blocks: 0%, decryptions: 0%, tx_scan: 0%
id: 1, blocks: 0%, decryptions: 0%, tx_scan: 0%
id: 1, blocks: 0%, decryptions: 0%, tx_scan: 0%

while using up lots of CPU for extremely long (I haven't seen it complete yet). Running it with -n does get it to the command, but then doing sync causes this likewise to happen. This is on 059be62

@softminus softminus changed the title sync taking unexpectedly long sync taking unexpectedly long and not completing (so far) Jul 13, 2022
@adityapk00
Copy link
Owner

Can you try a couple of things:

  1. Build in --release mode (cargo build --release). It is very slow when using a debug binary
  2. Can you please sync to the latest HEAD and recompile?

@softminus
Copy link
Author

Trying this now, thanks for your quick reply!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants