cryptoadvance / cryptoadvance/specter-desktop

Wallet loading into core fails

Open
#1,770 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
847
Forks
259
Avg merge
6d 18h
Merged PRs (30d)
2

Description

Specter Desktop is not showing transactions. In the log I can see a potential problem:

```
2022-06-19T18:21:30.858Z [info] : stderr-SPECTERD: INFO in wallet_manager: Loading test to Bitcoin Core

2022-06-19T18:21:30.898Z [info] : stderr-SPECTERD: WARNING in wallet_manager: Couldn't load wallet test into core. Silently ignored! RPC error: Request error: Wallet file verification failed. Failed to load database path '/mnt/remote/bitcoind/specterc4032b6b796f6588\test'. Path does not exist.
```
Using Specter v1.10.2. Specter server runs locally on a Windows machine. Bitcoind v22 (latest) is on remote Linux server.

`ls` in `./bitcoin` shows:

```
drwx------ 2 btc2 btc2 4096 Jun 19 15:27 'specterc4032b6b796f6588\test'
-rw------- 1 btc2 btc2 16384 Jun 19 13:48 wallet.dat
```
The path looks suspicious (mix of linux and windows paths?).

Contributor guide

Open the contributing guide

Research direction

The log points to wallet_manager while loading a wallet into Bitcoin Core; start by tracing that loading path and reproducing the setup with Specter on Windows and bitcoind on remote Linux. Check how the wallet path is formed across platforms. Done means the wallet loads without the RPC verification error and its transactions appear in Specter.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, python
Domain
backend, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.