cardano-foundation / cardano-wallet

HTTP server & command-line for managing UTxOs and HD wallets in Cardano.
Apache License 2.0
764 stars 214 forks source link

Wallet takes too long to sync #3678

Open karthik947 opened 1 year ago

karthik947 commented 1 year ago

Just checking...

Version

v2022-12-14

Platform

Windows 11

Installation method

Built from source

Network configuration

mainnet

Context

I downloaded the docker-compose.yml and spun up the node on the mainnet network. I then tried to sync a wallet that was created on Yoroi a week ago. The wallet restored successfully but the balance and transactions are not reflected. I waited for the wallet to sync but it takes forever to sync. After about 70% the sync gets frozen and when I leave the laptop aside for a while, it stops and resyncs from the start.

Is there a faster/better way to restore an existing wallet ?

Description

Steps to Reproduce

1.Sping up the a container using docker-compose up NETWORK=mainnet 2.Restore a wallet that was created on Yoroi 3. ...

Expected behavior

The wallet should restore and sync 100%

Actual behavior

The wallet sync stuck at 70%

zhp1254 commented 1 year ago

Status: syncing, Progress: {Quantity:99.8 Unit:percent} for a long time too

hiiamtrong commented 1 year ago

I had a similar situation. Took 2 days just from 50% - > 52%

hiiamtrong commented 1 year ago

This issue was resolved after I deleted the unused wallets. It is possible that there are too many synchronized wallets leading to reduced performance

learncardano commented 10 months ago

Yes this is a real pain. Creating multiple wallets for different users with Cardano Wallet CLI takes forever to sync. This is not helpful for our use case. Not recommended to use Wallet CLI for building a dApp for hundred thousands of users with individual wallets.