dcrdex
dcrdex copied to clipboard
Can't access Litecoin Wallet
My LTC wallet stopped synching and there are errors. I have severa LTC in the wallet and I can't seem to access it. I tried a recover to no avail. Then I tried moving ~/.dexc to ~/.dexc.old and starting from scratch - each time Litecoin fails.
Here are the errors:
2024-12-02 08:23:45.958 [ERR] CORE[ltc][SPV]: Unable to synchronize wallet to chain, trying again in 5s: unable to perform wallet recovery: did not get response before timeout
2024-12-02 08:24:10.010 [ERR] CORE[ltc][SPV]: Unable to synchronize wallet to chain, trying again in 5s: unable to perform wallet recovery: failed to store sync information 2c797cd402321fb242c63fcf6a71d2ba27e95ae9b47ab56c6b09bde449874d75: fa
iled to fetch block hash for height 2068274: block not found
It does it on different blocks, it's not always the same block that it can't get the hash for. I've tried both version 1.0 and 1.0.2... nothing.
Whoah. Crypto scammers on github now. Definitely a bull signal 😜
Whoah. Crypto scammers on github now. Definitely a bull signal 😜
Yeah seen it before .. glad you noticed!
Thanks for the issue .. one of the more knowledgeable devs will pick it up ..
Reported! .. glad you were aware.. please do not "connect" your LTC token wallet
Thanks for the issue .. one of the more knowledgeable devs will pick it up ..
Well, after at least 8-10 attempts of retrying from scratch and recover wallet, eventually starting from scratch, I.e. (renaming ~/.dexc) and restoring from seed, I finally got my litecoin wallet back.
I was so eager to recover the funds, I was looking through the source code of the dcrdex to see how you generated a private key from the 15 word mnemonic. I tried Ian Coleman's BIP39 offline generator that I've had for a long time. I even tried writing my own python script to generate the correct account private key.
You guys should write tools to generate the private keys of the wallets from the nonstandard 15 word mnemonic.
I now ditched the SPV wallet and connected Bison to my ltc rpc node.
Sorry for your experience. The ltc lightwallet wallet backend does not have active developers. We have been the only ones to work on it for a couple years. Thanks for the issue. Will discuss with the others if we should take some extreme action. imo we are not able to keep it updated presently. It has also been unusable for me recently on testnet.
You guys should write tools to generate the private keys of the wallets from the nonstandard 15 word mnemonic.
We have an old app that did this but it does need to be updated. #3108
I've been able to hit a bug also reported in #2899 on mainnet restoring from seed:
2025-02-25 04:43:29.801 [ERR] CORE[ltc][SPV]: Unable to synchronize wallet to chain, trying again in 5s: unable to perform wallet recovery: failed to store sync information 6d04404645ef4732a33cb1c48d0a5435cc8f2ad191cda097be7a9151a4f7affe: failed to fetch block hash for height 2839670: block not found
2025-02-25 04:43:35.810 [ERR] CORE[ltc][SPV]: Unable to synchronize wallet to chain, trying again in 5s: unable to perform wallet recovery: failed to store sync information 6d04404645ef4732a33cb1c48d0a5435cc8f2ad191cda097be7a9151a4f7affe: failed to fetch block hash for height 2839670: block not found
2025-02-25 04:43:41.819 [ERR] CORE[ltc][SPV]: Unable to synchronize wallet to chain, trying again in 5s: unable to perform wallet recovery: failed to store sync information 6d04404645ef4732a33cb1c48d0a5435cc8f2ad191cda097be7a9151a4f7affe: failed to fetch block hash for height 2839670: block not found
2025-02-25 04:43:47.827 [ERR] CORE[ltc][SPV]: Unable to synchronize wallet to chain, trying again in 5s: unable to perform wallet recovery: failed to store sync information 6d04404645ef4732a33cb1c48d0a5435cc8f2ad191cda097be7a9151a4f7affe: failed to fetch block hash for height 2839670: block not found
2025-02-25 04:43:53.836 [ERR] CORE[ltc][SPV]: Unable to synchronize wallet to chain, trying again in 5s: unable to perform wallet recovery: failed to store sync information 6d04404645ef4732a33cb1c48d0a5435cc8f2ad191cda097be7a9151a4f7affe: failed to fetch block hash for height 2839670: block not found
Maybe figuring this out will solve a bug for both.
Seeing a new one using the changes here https://github.com/btcsuite/btcwallet/pull/979/commits/7509f6b4b9e3aba479cd0f75b171f3607aaf4132
Hope its a separate bug...
2025-02-28 07:41:46.100 [ERR] CORE[ltc][SPV]: Unable to synchronize wallet to chain, trying again in 5s: unable to perform wallet recovery: target hash not found in index
2025-02-28 07:41:52.132 [ERR] CORE[ltc][SPV]: Unable to synchronize wallet to chain, trying again in 5s: unable to perform wallet recovery: target hash not found in index
2025-02-28 07:41:58.164 [ERR] CORE[ltc][SPV]: Unable to synchronize wallet to chain, trying again in 5s: unable to perform wallet recovery: target hash not found in index
Still happening on master with ltc:
2025-07-17 15:38:37.897 [DBG] CORE[ltc][F]: Waiting for chain backend to sync to tip
2025-07-17 15:38:38.897 [DBG] CORE[ltc][F]: Chain backend synced to tip!
2025-07-17 15:38:38.897 [DBG] CORE[ltc][F]: Locating suitable block for birthday 2025-04-30 09:00:00 +0900 JST between blocks 0-2933597
2025-07-17 15:38:38.898 [DBG] CORE[ltc][F]: Checking candidate block: height=1466798, hash=b4aec2214cb8966e72c0d846e4d658ce79793bc438c0e5249961989ac88cb2a2, timestamp=2018-08-02 06:30:40 +0900 JST
2025-07-17 15:38:38.898 [DBG] CORE[ltc][F]: Checking candidate block: height=2200197, hash=ff81b2b6576343c3ef84d017973f1f59a295b1e639e0096b7ee51881c6749626, timestamp=2022-01-27 03:47:47 +0900 JST
2025-07-17 15:38:38.898 [DBG] CORE[ltc][F]: Checking candidate block: height=2566897, hash=5fc5c126de5a7028879379ff1b8de4949af4b5eab204d98ee6d888af56ee849f, timestamp=2023-10-23 08:59:50 +0900 JST
2025-07-17 15:38:38.898 [DBG] CORE[ltc][F]: Checking candidate block: height=2750247, hash=a56ea687e2d07ebf6c95e4f975fe2ac19667e939d89763d0482593678a73edac, timestamp=2024-09-04 23:52:41 +0900 JST
2025-07-17 15:38:38.898 [DBG] CORE[ltc][F]: Checking candidate block: height=2841922, hash=0d8e701db50749d94b211b35fbcf13540febe16a87d9e9fc5ca5584b2e7cf4e3, timestamp=2025-02-08 23:39:38 +0900 JST
2025-07-17 15:38:38.898 [DBG] CORE[ltc][F]: Checking candidate block: height=2887759, hash=97160238728373c34ca977cc4d7ba106528f60e0a794f36488330068dbdb990c, timestamp=2025-04-29 05:34:32 +0900 JST
2025-07-17 15:38:38.898 [DBG] CORE[ltc][F]: Checking candidate block: height=2910678, hash=6d63696a9e67775b79e01ded550bd286111f873b3550eeee88033328a8a7f923, timestamp=2025-06-07 23:59:01 +0900 JST
2025-07-17 15:38:38.898 [DBG] CORE[ltc][F]: Checking candidate block: height=2899218, hash=d7030341f8be1b3698672e217cbaa5091181d6c62c10c0a77a661fde8ebfa2fb, timestamp=2025-05-19 01:57:39 +0900 JST
2025-07-17 15:38:38.898 [DBG] CORE[ltc][F]: Checking candidate block: height=2893488, hash=e91502f1879b3ecc2df7c7617dbdffd0adfeed82009b207f470512ae07516e80, timestamp=2025-05-09 09:18:54 +0900 JST
2025-07-17 15:38:38.898 [DBG] CORE[ltc][F]: Checking candidate block: height=2890623, hash=b35178967e29ea10494c8923a58fb7f581afd3f771463e7b0a7d19c185c271d0, timestamp=2025-05-04 01:16:54 +0900 JST
2025-07-17 15:38:38.898 [DBG] CORE[ltc][F]: Checking candidate block: height=2889191, hash=ae86b9aab3bec8a938bff1ca173f202fcb4dc2adeb558b83a6bbbcc00c8c20b4, timestamp=2025-05-01 13:59:02 +0900 JST
2025-07-17 15:38:38.898 [DBG] CORE[ltc][F]: Checking candidate block: height=2888475, hash=57b90f64c842edc7a770b7c0bf0bead9a1f95f58f61f8b6443b4d0e56b03e4b6, timestamp=2025-04-30 11:40:39 +0900 JST
2025-07-17 15:38:38.898 [DBG] CORE[ltc][F]: Checking candidate block: height=2888117, hash=bb0b3791047b75cb67b817253bcda936bf39340d772366a89e60777e914bca05, timestamp=2025-04-29 19:55:45 +0900 JST
2025-07-17 15:38:38.898 [DBG] CORE[ltc][F]: Checking candidate block: height=2888296, hash=884766ef9b1f91d725b3bfd0942b17039195aebfdf1e1a88da403b72ca93435d, timestamp=2025-04-30 03:52:38 +0900 JST
2025-07-17 15:38:38.898 [DBG] CORE[ltc][F]: Checking candidate block: height=2888385, hash=9499b20ece0f54001799e410255418dacb8a5b8de3eb3b829c0ce38e0d4e71b6, timestamp=2025-04-30 07:57:23 +0900 JST
2025-07-17 15:38:38.898 [DBG] CORE[ltc][F]: Found birthday block: height=2888385, hash=9499b20ece0f54001799e410255418dacb8a5b8de3eb3b829c0ce38e0d4e71b6, timestamp=2025-04-30 07:57:23 +0900 JST
2025-07-17 15:38:38.898 [ERR] CORE[ltc][F]: Unable to synchronize wallet to chain, trying again in 5s: unable to persist initial sync data: failed to store sync information 9499b20ece0f54001799e410255418dacb8a5b8de3eb3b829c0ce38e0d4e71b6: failed to fetch block hash for height 2888384: block not found
The error message is slightly different, so it may be a separate location.
unable to perform wallet recovery -> unable to persist initial sync data
I believe @martonp was able to catch the old error as well.
Hey @JoeGruffins, does this happen with or without previous wallet transactions?
I'm not sure. Have you been able to reproduce?