Skip to content

Conversation

@hebasto
Copy link
Member

@hebasto hebasto commented Feb 20, 2022

On master (5f44c5c) an attempt to load an external signer wallet using Bitcoin Core compiled without external signer support fails with the following log messages:

2022-02-20T19:01:11Z [qt-walletctrl] Using SQLite Version 3.31.1
2022-02-20T19:01:11Z [qt-walletctrl] Using wallet /home/hebasto/.bitcoin/testnet3/wallets/coldcard-0220
2022-02-20T19:01:11Z [qt-walletctrl] init message: Loading wallet…
2022-02-20T19:01:11Z [qt-walletctrl] [coldcard-0220] Error: External signer wallet being loaded without external signer support compiled
2022-02-20T19:01:11Z [qt-walletctrl] [coldcard-0220] Releasing wallet

While log messages are good, a message in the GUI window is completely misleading:

Screenshot from 2022-02-20 20-43-46

This PR fixes this issue:

Screenshot from 2022-02-20 21-01-18

Copy link
Contributor

@kristapsk kristapsk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 7f3a6a9

@kristapsk
Copy link
Contributor

Not related to this PR, but what I noticed - it seems there is no normal way of unloading wallet in this case, bitcoind / bitcoin-qt will refuse to start. Only workaround is to manually edit settings.json and remove it from there.

Copy link
Contributor

@brunoerg brunoerg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

crACK 7f3a6a9

@achow101
Copy link
Member

ACK 7f3a6a9

@achow101 achow101 merged commit 8d6f921 into bitcoin:master Feb 23, 2022
@hebasto hebasto deleted the 220220-signer branch February 24, 2022 01:07
laanwj added a commit to laanwj/bitcoin that referenced this pull request Feb 24, 2022
fanquake added a commit to bitcoin-core/gui that referenced this pull request Feb 24, 2022
38020c4 qt: English (source) translations update (laanwj)

Pull request description:

  Last-minute update for bitcoin/bitcoin#24434 and bitcoin/bitcoin#24401.

ACKs for top commit:
  jonatack:
    Light review ACK 38020c4
  fanquake:
    ACK 38020c4

Tree-SHA512: 6729700316364cbe78d5b026b0dde7e46fa0df811d7a7ae55d480cc9d2187e9173f3edcc2d7d643022beb6292d9aa6e10b05e6c07a80c95f3814bf23820d272f
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Feb 24, 2022
…or message

7f3a6a9 wallet: Add external-signer-support specific error message (Hennadii Stepanov)

Pull request description:

  On master (5f44c5c) an attempt to load an external signer wallet using Bitcoin Core compiled without external signer support fails with the following log messages:
  ```
  2022-02-20T19:01:11Z [qt-walletctrl] Using SQLite Version 3.31.1
  2022-02-20T19:01:11Z [qt-walletctrl] Using wallet /home/hebasto/.bitcoin/testnet3/wallets/coldcard-0220
  2022-02-20T19:01:11Z [qt-walletctrl] init message: Loading wallet…
  2022-02-20T19:01:11Z [qt-walletctrl] [coldcard-0220] Error: External signer wallet being loaded without external signer support compiled
  2022-02-20T19:01:11Z [qt-walletctrl] [coldcard-0220] Releasing wallet
  ```

  While log messages are good, a message in the GUI window is completely misleading:

  ![Screenshot from 2022-02-20 20-43-46](https://user-images.githubusercontent.com/32963518/154859854-b87032e0-c428-4e11-8009-39e38200482c.png)

  This PR fixes this issue:

  ![Screenshot from 2022-02-20 21-01-18](https://user-images.githubusercontent.com/32963518/154859868-e3a2c89d-4f0f-424e-96cb-7accaa48acc0.png)

ACKs for top commit:
  achow101:
    ACK 7f3a6a9
  kristapsk:
    ACK 7f3a6a9
  brunoerg:
    crACK 7f3a6a9

Tree-SHA512: a4842751c0ca8a37ccc3ea00503678f6b712a7f53d6cbdc07ce02dcb85ca8a94890d1c2da20307be043faa347747abeba29185c88ba12edd5253bfca56531585
@luke-jr
Copy link
Member

luke-jr commented Mar 5, 2022

Not related to this PR, but what I noticed - it seems there is no normal way of unloading wallet in this case, bitcoind / bitcoin-qt will refuse to start. Only workaround is to manually edit settings.json and remove it from there.

See bitcoin-core/gui#236

janus pushed a commit to BitgesellOfficial/bitgesell that referenced this pull request Jul 24, 2022
backpacker69 pushed a commit to peercoin/peercoin that referenced this pull request Jan 18, 2023
@bitcoin bitcoin locked and limited conversation to collaborators Mar 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants