Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LTC wallet panic during sync #2616

Closed
ukane-philemon opened this issue Nov 27, 2023 · 7 comments
Closed

LTC wallet panic during sync #2616

ukane-philemon opened this issue Nov 27, 2023 · 7 comments

Comments

@ukane-philemon
Copy link
Contributor

I've seen this kind of error several times, for btc and now ltc.

panic: unable to synchronize wallet to chain: unable to perform wallet recovery: couldn't retrieve block b85dcc0bd2c4bdc85b38de07605f130ad1a785b9b063d4ad51362a61ed811615 from network

goroutine 6081 [running]:
github.com/ltcsuite/ltcwallet/wallet.(*Wallet).handleChainNotifications(0xc000220900)
        /Users/philemon/go/pkg/mod/github.com/ltcsuite/[email protected]/wallet/chainntfns.go:117 +0xfd3
created by github.com/ltcsuite/ltcwallet/wallet.(*Wallet).SynchronizeRPC in goroutine 180
        /Users/philemon/go/pkg/mod/github.com/ltcsuite/[email protected]/wallet/wallet.go:211 +0x249
exit status 2

@buck54321
Copy link
Member

buck54321 commented Nov 27, 2023

Are you seeing this on btc on master? This should have been fixed for btc by #2396 on master, and by #2438 on release-v0.6.

I just opened a PR for an upstream fix this morning. ltcsuite/ltcwallet#9

@ukane-philemon
Copy link
Contributor Author

I'm seeing this on #2599, I doubt if it has been rebased since the fix was merged.

@buck54321
Copy link
Member

#2599 was opened way way after #2396 was merged, wasn't it?

@ukane-philemon
Copy link
Contributor Author

ukane-philemon commented Nov 27, 2023

I think so, I’m afk until tomorrow but will check.

EDIT: Screenshot 2023-11-28 at 7 26 49 PM

Panic log as seen on master:


philemon@Philemons-MacBook-Pro-new dexc-desktop % ./dexc-desktop --stdout
2023-11-28 18:30:33.074 [INF] APP: dexc-desktop version 0.7.0-pre+79c70e945 (Go version go1.21.3)
2023-11-28 18:30:33.074 [INF] APP: Logging with UTC time stamps. Current local time is 19:30:33 WAT
2023-11-28 18:30:33.089 [INF] CORE[DB]: Started database (version = 6, file = /Users/philemon/Library/Application Support/Dexc/mainnet/dexc.db)
2023-11-28 18:30:33.089 [DBG] CORE: Using locale printer for "en-US"
2023-11-28 18:30:33.089 [DBG] CORE: new client core created
2023-11-28 18:30:33.097 [INF] CORE: Starting DEX client core
2023-11-28 18:30:34.286 [DBG] CORE: notify: |POKE| (conn) Server connected - dex.decred.org:7232 is connected
2023-11-28 18:30:34.650 [INF] CORE: Server dex.decred.org:7232 supports API version 1.
2023-11-28 18:30:34.650 [DBG] CORE: Server dex.decred.org:7232 broadcast timeout 31m0s. Tick interval 3m52.5s
2023-11-28 18:30:34.650 [INF] CORE: Connected to DEX server at dex.decred.org:7232 and listening for messages.
2023-11-28 18:30:34.650 [INF] CORE: Connected to 1 of 1 DEX servers
2023-11-28 18:30:34.659 [INF] CORE[btc][TXHISTORYDB]: All 1 tables opened in 1ms

2023-11-28 18:30:34.664 [INF] CORE[btc][TXHISTORYDB]: Replaying file id: 0 at offset: 657

2023-11-28 18:30:34.665 [INF] CORE[btc][TXHISTORYDB]: Replay took: 698.303µs

2023-11-28 18:30:34.665 [DBG] CORE[btc][TXHISTORYDB]: Value log discard stats empty
2023-11-28 18:30:34.665 [INF] CORE: Loaded btc wallet configuration.
2023-11-28 18:30:34.669 [INF] CORE[ltc][TXHISTORYDB]: All 0 tables opened in 0s

2023-11-28 18:30:34.677 [INF] CORE[ltc][TXHISTORYDB]: Replaying file id: 0 at offset: 0

2023-11-28 18:30:34.677 [INF] CORE[ltc][TXHISTORYDB]: Replay took: 6.862µs

2023-11-28 18:30:34.677 [DBG] CORE[ltc][TXHISTORYDB]: Value log discard stats empty
2023-11-28 18:30:34.678 [INF] CORE: Loaded ltc wallet configuration.
2023-11-28 18:30:34.678 [INF] CORE: Loaded dcr wallet configuration.
2023-11-28 18:30:34.684 [INF] CORE[bch][TXHISTORYDB]: All 0 tables opened in 0s

2023-11-28 18:30:34.702 [INF] CORE[bch][TXHISTORYDB]: Replaying file id: 0 at offset: 0

2023-11-28 18:30:34.702 [INF] CORE[bch][TXHISTORYDB]: Replay took: 29.987µs

2023-11-28 18:30:34.702 [DBG] CORE[bch][TXHISTORYDB]: Value log discard stats empty
2023-11-28 18:30:34.702 [INF] CORE: Loaded bch wallet configuration.
2023-11-28 18:30:34.702 [INF] CORE: Loaded 0 active orders.
2023-11-28 18:30:34.702 [INF] CORE: Loaded 0 active match orders
2023-11-28 18:30:34.702 [DBG] CORE: starting fiat rate fetching
2023-11-28 18:30:34.708 [DBG] WEB: Using embedded site resources.
2023-11-28 18:30:34.729 [INF] WEB: Using HTTPS with certificate /Users/philemon/Library/Application Support/Dexc/web.cert and key /Users/philemon/Library/Application Support/Dexc/web.key. You may import the certificate as an authority (CA) in your browser, or override the warning about a self-signed certificate. Delete both files to regenerate them on next startup.
2023-11-28 18:30:34.730 [INF] WEB: Using language en-US
2023-11-28 18:30:34.730 [INF] WEB: Using embedded HTML templates
2023-11-28 18:30:34.836 [INF] WEB: Web server listening on 127.0.0.1:5758 (https = true)

        ****  OPEN IN YOUR BROWSER TO LOGIN AND TRADE  --->  https://127.0.0.1:5758  ****

2023-11-28 18:30:35.534 [DBG] WEB[WS]: New websocket client 127.0.0.1:54511
2023/11/28 19:30:43 http: TLS handshake error from 127.0.0.1:54512: remote error: tls: unknown certificate
2023/11/28 19:30:43 http: TLS handshake error from 127.0.0.1:54514: remote error: tls: unknown certificate
2023/11/28 19:30:43 http: TLS handshake error from 127.0.0.1:54515: remote error: tls: unknown certificate
2023-11-28 18:30:43.847 [DBG] WEB[WS]: New websocket client 127.0.0.1:54516
2023-11-28 18:30:48.872 [INF] CORE: Connecting wallet for bch
2023-11-28 18:30:48.872 [INF] CORE: Connecting wallet for btc
2023-11-28 18:30:48.872 [INF] CORE: Connecting wallet for ltc
2023-11-28 18:30:48.872 [DBG] CORE[btc][SPV]: Starting native BTC wallet...
2023-11-28 18:30:48.872 [DBG] CORE[ltc][SPV]: Starting native LTC wallet...
2023-11-28 18:30:48.872 [INF] CORE: Connecting wallet for dcr
2023-11-28 18:30:48.875 [DBG] CORE[bch][SPV]: Starting native BCH wallet...
2023-11-28 18:30:50.531 [DBG] CORE[bch][SPV]: Starting neutrino chain service...
2023-11-28 18:30:50.571 [INF] CORE[bch][SPV]: Synchronizing wallet with network...
2023-11-28 18:30:50.571 [INF] CORE[bch]: Connected wallet with current best block 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f (0)
2023-11-28 18:30:52.579 [DBG] CORE[dcr]: tip change: 820960 (9e9c1e7212cf64ccbc66e50f7b2986f10040a6a1cbc9069a46ccde189151ef98) => 820961 (99104e3ef4cc4883d5b82c9e7347ca16d84baef0607e3be3cde159940af38d1a)
2023-11-28 18:30:53.581 [DBG] CORE[bch]: tip change: 0 (000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f) => 0 (000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f)
2023-11-28 18:30:56.304 [DBG] CORE[btc][SPV]: Starting neutrino chain service...
2023-11-28 18:30:56.355 [INF] CORE[btc][SPV]: Synchronizing wallet with network...
2023-11-28 18:30:56.598 [INF] CORE: Wallet synced for asset dcr
2023-11-28 18:30:57.881 [INF] CORE[btc]: Connected wallet with current best block 000000000000000000027df14012c3d12ced11dccfd123948c2a559c3fa5f4ac (818759)
2023-11-28 18:30:57.881 [DBG] CORE[btc]: tip change: 818759 (000000000000000000027df14012c3d12ced11dccfd123948c2a559c3fa5f4ac) => 818885 (000000000000000000038260b177a9b5ba25b962403c84a4eec37156c47f1436)
2023-11-28 18:31:09.412 [DBG] CORE[ltc][SPV]: Starting neutrino chain service...
2023-11-28 18:31:09.446 [INF] CORE[ltc][SPV]: Synchronizing wallet with network...
2023-11-28 18:31:09.446 [INF] CORE[ltc]: Connected wallet with current best block 71e5d68480a009310ab6003656d670b8bd36217032a9c3330f3e7fe7cf874d28 (2578925)
2023-11-28 18:31:09.462 [INF] CORE: Connected to 4 of 4 wallets.
2023-11-28 18:31:09.463 [INF] CORE: Loaded 0 active orders.
2023-11-28 18:31:09.465 [INF] CORE: Loaded 0 active match orders
2023-11-28 18:31:09.465 [INF] CORE: Loaded 0 incomplete orders with DEX dex.decred.org:7232
2023-11-28 18:31:09.465 [ERR] CORE: FundsMixingStats error during login: wallet.AccountNumber: item does not exist: no account "mixed"
2023/11/28 19:31:09 http: TLS handshake error from 127.0.0.1:54573: remote error: tls: unknown certificate
2023/11/28 19:31:09 http: TLS handshake error from 127.0.0.1:54574: remote error: tls: unknown certificate
2023/11/28 19:31:09 http: TLS handshake error from 127.0.0.1:54576: remote error: tls: unknown certificate
2023/11/28 19:31:09 http: TLS handshake error from 127.0.0.1:54578: remote error: tls: unknown certificate
2023/11/28 19:31:09 http: TLS handshake error from 127.0.0.1:54579: remote error: tls: unknown certificate
2023/11/28 19:31:09 http: TLS handshake error from 127.0.0.1:54580: remote error: tls: unknown certificate
2023-11-28 18:31:11.212 [WRN] CORE[ltc][SPV][NTRNO]: No sync peer candidates available
2023-11-28 18:31:12.382 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 107.23.143.138:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:31:12.455 [DBG] CORE[ltc]: tip change: 2578925 (71e5d68480a009310ab6003656d670b8bd36217032a9c3330f3e7fe7cf874d28) => 2578925 (71e5d68480a009310ab6003656d670b8bd36217032a9c3330f3e7fe7cf874d28)
2023-11-28 18:31:13.088 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 45.137.194.57:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:31:13.730 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 8.214.154.25:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:31:14.818 [WRN] CORE: Unable to lock dcr wallet: wallet locked: account is already locked
2023-11-28 18:31:14.896 [DBG] WEB[WS]: New websocket client 127.0.0.1:54618
2023-11-28 18:31:16.034 [INF] CORE[ltc][SPV]: Fetching block height=2579588 hash=01363df2c40805b30b8b8069624848edd9abcce43f244347fbba1c84ffd0af43
2023-11-28 18:31:17.013 [INF] CORE[ltc][SPV]: Fetching block height=2579616 hash=ab6defd5753116000dae2fb210344382c8ad88983871f1c294a47a929f8bd232
2023-11-28 18:31:18.379 [INF] CORE[ltc][SPV]: Fetching block height=2580003 hash=d9034a3231f4fd1b68b2aa8b288d3ab922cde48a1abd3ca4aa756a8469c18424
2023-11-28 18:31:20.172 [INF] CORE: Connected to 4 of 4 wallets.
2023-11-28 18:31:20.172 [INF] CORE: Loaded 0 active orders.
2023-11-28 18:31:20.172 [INF] CORE: Loaded 0 active match orders
2023-11-28 18:31:20.172 [INF] CORE: Loaded 0 incomplete orders with DEX dex.decred.org:7232
2023-11-28 18:31:20.172 [ERR] CORE: FundsMixingStats error during login: wallet.AccountNumber: item does not exist: no account "mixed"
2023-11-28 18:31:30.474 [INF] CORE[ltc][SPV]: Fetching block height=2581242 hash=6091a26c41032427d38323fccc61568e090eae664fbac20e325c1a15d71dd899
2023-11-28 18:31:43.918 [WRN] CORE[ltc][SPV][NTRNO]: No sync peer candidates available
2023-11-28 18:31:44.083 [INF] CORE[ltc][SPV]: Fetching block height=2581639 hash=4943449a184ffed8de415dcc890b94e2c750fc99cf97ab6037c6e879395d3c3a
2023-11-28 18:31:44.456 [WRN] CORE: Wallet for asset ltc has zero network peers!
2023-11-28 18:31:44.469 [WRN] CORE: notify: |WARNING| (walletconfig) Wallet network issue - Litecoin wallet has no network peers!
2023-11-28 18:31:49.470 [INF] CORE: notify: |SUCCESS| (walletconfig) Wallet connectivity restored - Litecoin wallet has reestablished connectivity.
2023-11-28 18:31:54.510 [INF] CORE[ltc][SPV]: Fetching block height=2581647 hash=dc3be6294081075da7a16fda46798a7d88a972d39bcabe8de3aea9dc1909882c
2023-11-28 18:31:55.105 [INF] CORE[ltc][SPV]: Fetching block height=2581878 hash=7e5dd8841397a354226d248bebf51e00ee6a18a1f67fcd08e59e09b9f26f5416
2023-11-28 18:31:56.310 [INF] CORE[ltc][SPV]: Fetching block height=2582085 hash=39fb8e9badc5201cad839c6c8c66e6b4a9c9784fa9d73f95be05e819a64c121d
2023-11-28 18:31:57.258 [INF] CORE[ltc][SPV]: Fetching block height=2582238 hash=90096d7aade205548c639274529e06949fefd09acd6e0a178fff34496b9b7421
2023-11-28 18:32:08.157 [INF] CORE[ltc][SPV]: Fetching block height=2582725 hash=b0737ed6791325092f66c003b76e841ff461ffdb704acbd51216a55c380aa7c1
2023-11-28 18:32:10.089 [INF] CORE[ltc][SPV]: Fetching block height=2582861 hash=d218298aeab714b7d849d3bd1c6513d41e3522e2ff2d724da5c626ced7df020c
2023-11-28 18:32:10.458 [INF] CORE[ltc][SPV]: Fetching block height=2583362 hash=49d83f5123a8884a074c5c25f83f5825edf323200d1c08bbec9920b9b4aacb09
2023-11-28 18:32:14.648 [WRN] CORE[ltc][SPV][NTRNO]: No sync peer candidates available
2023-11-28 18:32:19.456 [WRN] CORE: Wallet for asset ltc has zero network peers!
2023-11-28 18:32:19.472 [WRN] CORE: notify: |WARNING| (walletconfig) Wallet network issue - Litecoin wallet has no network peers!
2023-11-28 18:32:21.171 [INF] CORE[ltc][SPV]: Fetching block height=2583633 hash=bed735f835c8c58d8dfe0c5826ea1bf540b3d75a5b8c2f5b75fad769e8b50c43
2023-11-28 18:32:26.310 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 51.89.194.158:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:32:26.964 [WRN] CORE[ltc][SPV][NTRNO]: No sync peer candidates available
2023-11-28 18:32:29.469 [INF] CORE: notify: |SUCCESS| (walletconfig) Wallet connectivity restored - Litecoin wallet has reestablished connectivity.
2023-11-28 18:32:32.254 [INF] CORE[ltc][SPV]: Fetching block height=2584126 hash=cc51b8f789df38f48bdd8c68fe134ba19b673169ec8dc25357c796997335688e
2023-11-28 18:32:42.502 [INF] CORE[ltc][SPV]: Fetching block height=2584168 hash=5bf6f0a3a95c1733fd939f578d3d1cb7098fe0537368ee9a1f169f3332228a83
2023-11-28 18:32:59.458 [WRN] CORE: Wallet for asset ltc has zero network peers!
2023-11-28 18:32:59.499 [WRN] CORE: notify: |WARNING| (walletconfig) Wallet network issue - Litecoin wallet has no network peers!
2023-11-28 18:33:04.499 [INF] CORE: notify: |SUCCESS| (walletconfig) Wallet connectivity restored - Litecoin wallet has reestablished connectivity.
2023-11-28 18:33:23.097 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:33:42.654 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 46.19.67.66:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:33:43.958 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 47.253.57.215:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:33:46.665 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 20.10.28.130:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:33:50.512 [WRN] CORE[ltc]: Reporting a block found in polling that the wallet apparently never reported: 2584925 920388174a99039f91f0c69861db7dc6561c0c48332e8abb0e4c26c5e7db3955. If you see this message repeatedly, it may indicate an issue with the wallet.
2023-11-28 18:33:50.516 [DBG] CORE[ltc]: tip change: 2578925 (71e5d68480a009310ab6003656d670b8bd36217032a9c3330f3e7fe7cf874d28) => 2584925 (920388174a99039f91f0c69861db7dc6561c0c48332e8abb0e4c26c5e7db3955)
2023-11-28 18:33:53.206 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:34:04.499 [WRN] CORE: Wallet for asset ltc has zero network peers!
2023-11-28 18:34:04.548 [WRN] CORE: notify: |WARNING| (walletconfig) Wallet network issue - Litecoin wallet has no network peers!
2023-11-28 18:34:05.498 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 185.100.85.21:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:34:06.510 [WRN] CORE[bch][SPV][NTRNO]: No sync peer candidates available
2023-11-28 18:34:10.600 [WRN] CORE: Wallet for asset bch has zero network peers!
2023-11-28 18:34:10.610 [WRN] CORE: notify: |WARNING| (walletconfig) Wallet network issue - Bitcoin Cash wallet has no network peers!
2023-11-28 18:34:14.501 [INF] CORE: notify: |SUCCESS| (walletconfig) Wallet connectivity restored - Litecoin wallet has reestablished connectivity.
2023-11-28 18:34:19.463 [WRN] CORE: Wallet for asset ltc has zero network peers!
2023-11-28 18:34:19.508 [WRN] CORE: notify: |WARNING| (walletconfig) Wallet network issue - Litecoin wallet has no network peers!
2023-11-28 18:34:23.514 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:34:24.511 [INF] CORE: notify: |SUCCESS| (walletconfig) Wallet connectivity restored - Litecoin wallet has reestablished connectivity.
2023-11-28 18:34:28.552 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 194.233.84.100:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:34:29.261 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 13.231.205.209:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:34:32.553 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 5.255.99.130:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:34:53.663 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:34:59.461 [WRN] CORE: Wallet for asset ltc has zero network peers!
2023-11-28 18:34:59.552 [WRN] CORE: notify: |WARNING| (walletconfig) Wallet network issue - Litecoin wallet has no network peers!
2023-11-28 18:35:04.502 [INF] CORE: notify: |SUCCESS| (walletconfig) Wallet connectivity restored - Litecoin wallet has reestablished connectivity.
2023-11-28 18:35:09.559 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 217.23.4.32:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:35:15.303 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 35.210.150.207:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:35:19.464 [WRN] CORE: Wallet for asset ltc has zero network peers!
2023-11-28 18:35:19.509 [WRN] CORE: notify: |WARNING| (walletconfig) Wallet network issue - Litecoin wallet has no network peers!
2023-11-28 18:35:23.809 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:35:24.515 [INF] CORE: notify: |SUCCESS| (walletconfig) Wallet connectivity restored - Litecoin wallet has reestablished connectivity.
2023-11-28 18:35:29.011 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 173.212.201.189:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:35:34.462 [WRN] CORE: Wallet for asset ltc has zero network peers!
2023-11-28 18:35:34.507 [WRN] CORE: notify: |WARNING| (walletconfig) Wallet network issue - Litecoin wallet has no network peers!
2023-11-28 18:35:38.118 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 81.251.55.171:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:35:39.509 [INF] CORE: notify: |SUCCESS| (walletconfig) Wallet connectivity restored - Litecoin wallet has reestablished connectivity.
2023-11-28 18:35:40.967 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 18.193.218.8:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:35:48.855 [DBG] CORE[dcr]: tip change: 820961 (99104e3ef4cc4883d5b82c9e7347ca16d84baef0607e3be3cde159940af38d1a) => 820962 (65fcabc3a4f1deb483bc832f6f99b90ad5f8de44fa6216a91fe12324d94d89e6)
2023-11-28 18:35:54.064 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:35:59.769 [DBG] CORE[dcr]: tip change: 820962 (65fcabc3a4f1deb483bc832f6f99b90ad5f8de44fa6216a91fe12324d94d89e6) => 820963 (fbf4ce74ec4ad884f85bba75cdf8b6d3676b10d18b0f0eda1d7e584393f88281)
2023-11-28 18:36:04.463 [WRN] CORE: Wallet for asset ltc has zero network peers!
2023-11-28 18:36:04.510 [WRN] CORE: notify: |WARNING| (walletconfig) Wallet network issue - Litecoin wallet has no network peers!
2023-11-28 18:36:09.504 [INF] CORE: notify: |SUCCESS| (walletconfig) Wallet connectivity restored - Litecoin wallet has reestablished connectivity.
2023-11-28 18:36:24.211 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:36:24.463 [WRN] CORE: Wallet for asset ltc has zero network peers!
2023-11-28 18:36:24.512 [WRN] CORE: notify: |WARNING| (walletconfig) Wallet network issue - Litecoin wallet has no network peers!
2023-11-28 18:36:29.508 [INF] CORE: notify: |SUCCESS| (walletconfig) Wallet connectivity restored - Litecoin wallet has reestablished connectivity.
2023-11-28 18:36:54.421 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:37:04.256 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 3.127.239.11:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:37:21.457 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 167.114.119.46:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:37:24.564 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:37:30.408 [ERR] CORE[wss://dex.decred.org:7232/ws]: Read timeout on connection to wss://dex.decred.org:7232/ws.
2023-11-28 18:37:30.410 [DBG] CORE: notify: |POKE| (conn) Server disconnect - dex.decred.org:7232 is disconnected
2023-11-28 18:37:30.410 [INF] CORE[wss://dex.decred.org:7232/ws]: Attempting to reconnect to wss://dex.decred.org:7232/ws...
2023-11-28 18:37:40.415 [ERR] CORE[wss://dex.decred.org:7232/ws]: Reconnect failed. Scheduling reconnect to wss://dex.decred.org:7232/ws in 5.0 seconds.
2023-11-28 18:37:45.419 [INF] CORE[wss://dex.decred.org:7232/ws]: Attempting to reconnect to wss://dex.decred.org:7232/ws...
2023-11-28 18:37:54.673 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:37:55.422 [ERR] CORE[wss://dex.decred.org:7232/ws]: Reconnect failed. Scheduling reconnect to wss://dex.decred.org:7232/ws in 10.0 seconds.
2023-11-28 18:38:05.452 [INF] CORE[wss://dex.decred.org:7232/ws]: Attempting to reconnect to wss://dex.decred.org:7232/ws...
2023-11-28 18:38:05.456 [ERR] CORE[wss://dex.decred.org:7232/ws]: Reconnect failed. Scheduling reconnect to wss://dex.decred.org:7232/ws in 15.0 seconds.
2023-11-28 18:38:20.460 [INF] CORE[wss://dex.decred.org:7232/ws]: Attempting to reconnect to wss://dex.decred.org:7232/ws...
2023-11-28 18:38:20.463 [ERR] CORE[wss://dex.decred.org:7232/ws]: Reconnect failed. Scheduling reconnect to wss://dex.decred.org:7232/ws in 20.0 seconds.
2023-11-28 18:38:24.818 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023/11/28 19:38:29 http: TLS handshake error from 127.0.0.1:54833: remote error: tls: unknown certificate
2023-11-28 18:38:29.676 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 13.230.162.6:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:38:35.595 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 144.76.17.180:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:38:40.464 [INF] CORE[wss://dex.decred.org:7232/ws]: Attempting to reconnect to wss://dex.decred.org:7232/ws...
2023-11-28 18:38:40.467 [ERR] CORE[wss://dex.decred.org:7232/ws]: Reconnect failed. Scheduling reconnect to wss://dex.decred.org:7232/ws in 25.0 seconds.
2023-11-28 18:38:44.282 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 135.181.1.50:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:38:44.657 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 3.76.169.106:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:38:54.924 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:39:05.471 [INF] CORE[wss://dex.decred.org:7232/ws]: Attempting to reconnect to wss://dex.decred.org:7232/ws...
2023-11-28 18:39:05.475 [ERR] CORE[wss://dex.decred.org:7232/ws]: Reconnect failed. Scheduling reconnect to wss://dex.decred.org:7232/ws in 30.0 seconds.
2023-11-28 18:39:25.055 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:39:28.820 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 136.56.35.26:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:39:35.521 [INF] CORE[wss://dex.decred.org:7232/ws]: Attempting to reconnect to wss://dex.decred.org:7232/ws...
2023-11-28 18:39:40.406 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 18.204.86.135:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:39:43.070 [DBG] CORE: notify: |POKE| (conn) Server connected - dex.decred.org:7232 is connected
2023-11-28 18:39:43.073 [INF] CORE[wss://dex.decred.org:7232/ws]: Successfully reconnected.
2023-11-28 18:39:43.913 [INF] CORE: Server dex.decred.org:7232 supports API version 1.
2023-11-28 18:39:43.917 [DBG] CORE: Server dex.decred.org:7232 broadcast timeout 31m0s. Tick interval 3m52.5s
2023-11-28 18:39:55.164 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:39:59.911 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 135.181.116.224:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:40:07.827 [ERR] CORE[ltc][SPV][NTRNO]: Can't read message from 213.244.192.149:9333 (outbound): read tcp 172.20.10.2:54780->213.244.192.149:9333: read: operation timed out
2023-11-28 18:40:15.443 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 51.91.105.136:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:40:19.471 [WRN] CORE: Wallet for asset ltc has zero network peers!
2023-11-28 18:40:19.490 [WRN] CORE: notify: |WARNING| (walletconfig) Wallet network issue - Litecoin wallet has no network peers!
2023-11-28 18:40:20.643 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 18.162.245.103:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:40:24.484 [INF] CORE: notify: |SUCCESS| (walletconfig) Wallet connectivity restored - Litecoin wallet has reestablished connectivity.
2023-11-28 18:40:25.263 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 23.88.77.235:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:40:25.273 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:40:29.654 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 91.107.148.85:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:40:33.396 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 69.57.160.52:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:40:39.471 [WRN] CORE: Wallet for asset ltc has zero network peers!
2023-11-28 18:40:39.489 [WRN] CORE: notify: |WARNING| (walletconfig) Wallet network issue - Litecoin wallet has no network peers!
2023-11-28 18:40:44.482 [INF] CORE: notify: |SUCCESS| (walletconfig) Wallet connectivity restored - Litecoin wallet has reestablished connectivity.
2023-11-28 18:40:55.407 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:41:25.518 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:41:29.474 [WRN] CORE: Wallet for asset ltc has zero network peers!
2023-11-28 18:41:29.515 [WRN] CORE: notify: |WARNING| (walletconfig) Wallet network issue - Litecoin wallet has no network peers!
2023-11-28 18:41:34.510 [INF] CORE: notify: |SUCCESS| (walletconfig) Wallet connectivity restored - Litecoin wallet has reestablished connectivity.
2023-11-28 18:41:44.513 [WRN] CORE: Wallet for asset ltc has zero network peers!
2023-11-28 18:41:44.530 [WRN] CORE: notify: |WARNING| (walletconfig) Wallet network issue - Litecoin wallet has no network peers!
2023-11-28 18:41:49.510 [INF] CORE: notify: |SUCCESS| (walletconfig) Wallet connectivity restored - Litecoin wallet has reestablished connectivity.
2023-11-28 18:41:50.861 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 180.102.17.5:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:41:55.712 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:42:14.563 [WRN] CORE: Wallet for asset ltc has zero network peers!
2023-11-28 18:42:14.581 [WRN] CORE: notify: |WARNING| (walletconfig) Wallet network issue - Litecoin wallet has no network peers!
2023-11-28 18:42:16.164 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 68.55.46.149:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:42:24.520 [INF] CORE: notify: |SUCCESS| (walletconfig) Wallet connectivity restored - Litecoin wallet has reestablished connectivity.
2023-11-28 18:42:25.965 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:42:56.071 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:43:09.780 [DBG] CORE[btc]: tip change: 818885 (000000000000000000038260b177a9b5ba25b962403c84a4eec37156c47f1436) => 818886 (000000000000000000007eac9b243b6d64bf905a130d4ce08a6f3ff6e9c6990d)
2023-11-28 18:43:26.183 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:43:34.836 [DBG] CORE[btc]: tip change: 818886 (000000000000000000007eac9b243b6d64bf905a130d4ce08a6f3ff6e9c6990d) => 818887 (000000000000000000026e82cd5f3c839266daa4a555983bfe002acf260c2338)
2023-11-28 18:43:56.389 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:44:12.027 [DBG] CORE[dcr]: tip change: 820963 (fbf4ce74ec4ad884f85bba75cdf8b6d3676b10d18b0f0eda1d7e584393f88281) => 820964 (2437a57f736ad660f8fa3a8d444e099a2444b5fc07ab3b665cad79a2db58a599)
2023-11-28 18:44:26.503 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:44:41.790 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 193.72.32.187:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:44:56.647 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:45:26.837 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:45:44.905 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 54.36.174.54:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:45:57.046 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:46:27.204 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:46:57.344 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:47:27.453 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:47:55.259 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 37.187.29.122:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:47:57.649 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:48:27.886 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:48:58.006 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:49:19.591 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 12.34.98.148:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:49:28.141 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:49:58.392 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:50:28.500 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:50:44.191 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 138.201.129.8:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:50:57.705 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 148.113.8.6:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:50:58.607 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:51:22.756 [DBG] CORE[dcr]: tip change: 820964 (2437a57f736ad660f8fa3a8d444e099a2444b5fc07ab3b665cad79a2db58a599) => 820965 (c8134d22078ca094fe6078da84f8a3b265cefb86b89c06d1f2fc780533fa37dc)
2023-11-28 18:51:28.743 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:51:58.942 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:52:29.068 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:52:59.199 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:53:29.320 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:53:59.458 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:54:00.542 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 37.187.29.104:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:54:29.608 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:54:59.708 [DBG] CORE[btc]: tip change: 818887 (000000000000000000026e82cd5f3c839266daa4a555983bfe002acf260c2338) => 818888 (00000000000000000000832383289baf66c486c94dca7ef9083da2b1a14ada4e)
2023-11-28 18:54:59.856 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:55:30.014 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:55:56.214 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 14.203.57.50:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:56:00.126 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:56:16.612 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 217.112.37.122:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:56:30.234 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:56:54.437 [WRN] CORE[ltc][SPV][NTRNO]: Banning peer 73.172.218.114:9333: duration=24h0m0s, reason=peer was unable to serve compact filters
2023-11-28 18:57:00.360 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:57:27.211 [ERR] CORE[wss://dex.decred.org:7232/ws]: Read timeout on connection to wss://dex.decred.org:7232/ws.
2023-11-28 18:57:27.215 [DBG] CORE: notify: |POKE| (conn) Server disconnect - dex.decred.org:7232 is disconnected
2023-11-28 18:57:27.217 [INF] CORE[wss://dex.decred.org:7232/ws]: Attempting to reconnect to wss://dex.decred.org:7232/ws...
2023-11-28 18:57:30.471 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
2023-11-28 18:57:37.218 [ERR] CORE[wss://dex.decred.org:7232/ws]: Reconnect failed. Scheduling reconnect to wss://dex.decred.org:7232/ws in 5.0 seconds.
2023-11-28 18:57:42.220 [INF] CORE[wss://dex.decred.org:7232/ws]: Attempting to reconnect to wss://dex.decred.org:7232/ws...
2023-11-28 18:57:43.508 [DBG] CORE: notify: |POKE| (conn) Server connected - dex.decred.org:7232 is connected
2023-11-28 18:57:43.511 [INF] CORE[wss://dex.decred.org:7232/ws]: Successfully reconnected.
2023-11-28 18:57:43.912 [INF] CORE: Server dex.decred.org:7232 supports API version 1.
2023-11-28 18:57:43.916 [DBG] CORE: Server dex.decred.org:7232 broadcast timeout 31m0s. Tick interval 3m52.5s
2023-11-28 18:58:00.674 [ERR] CORE[ltc][SPV][NTRNO]: Query failed with 0 out of 1000 filters received
panic: unable to synchronize wallet to chain: unable to perform wallet recovery: unable to fetch cfilter

goroutine 800 [running]:
github.com/ltcsuite/ltcwallet/wallet.(*Wallet).handleChainNotifications(0xc0142e4120)
        /Users/philemon/go/pkg/mod/github.com/ltcsuite/[email protected]/wallet/chainntfns.go:117 +0xfd3
created by github.com/ltcsuite/ltcwallet/wallet.(*Wallet).SynchronizeRPC in goroutine 80
        /Users/philemon/go/pkg/mod/github.com/ltcsuite/[email protected]/wallet/wallet.go:211 +0x249
        

@buck54321
Copy link
Member

ltcsuite/ltcwallet#9 is not getting attention, so we'll have to do the same thing with ltcwallet that we did with bchwallet for #2670.

@ukane-philemon
Copy link
Contributor Author

ukane-philemon commented Feb 27, 2024

ltcsuite/ltcwallet#9 is not getting attention, so we'll have to do the same thing with ltcwallet that we did with bchwallet for #2670.

Okay.

The dcrlabs repo for ltcwallet looks outdated (205 commits behind upstream).

Since you already have a PR up, we just need that merged to dcrlabs ltcwallet and use that instead.

Edit: dcrlabs/ltcwallet#1 is ready for merge.

@buck54321
Copy link
Member

Closed by #2743

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

No branches or pull requests

3 participants
@buck54321 @ukane-philemon and others