Bech32m unavailable for encrypted wallets #571

issue hebasto openend this issue on March 29, 2022
  1. hebasto commented at 9:23 am on March 29, 2022: member

    bitcoin-core/gui#459 introduced an ability to chose Bech32m address type in the GUI.

    On master and on v23.0rc2 this option is unavailable for a just created encrypted wallet, at least on Ubuntu 22.04.

    For macOS a slightly different behavior reported.

    See details:

  2. hebasto added the label Bug on Mar 29, 2022
  3. hebasto added this to the milestone 23.0 on Mar 29, 2022
  4. hebasto added the label Wallet on Mar 29, 2022
  5. hebasto commented at 9:25 am on March 29, 2022: member
  6. Sjors commented at 10:54 am on March 29, 2022: member

    I’m able to reproduce. For some reason in the GUI we’re not producing a taproot descriptor when encryption is enabled (see listdescriptors). This does not happen for wallets created via the createwallet RPC.

    Thanks for catching that @eriknylund.

  7. Sjors commented at 10:59 am on March 29, 2022: member

    Uh no never mind, it does generate the descriptor. I selected the wrong wallet in the console. Pfew. So it’s a pure UI issue, investigating…

    Restarting Bitcoin Core does add Bech32m to the menu. Maybe some reference to the receive screen got borked in the passphrase dialogs? See #509. @eriknylund if you’re not seeing Bech32m after a restart, are you sure you checked the “Descriptor” box (it’s selected by default)? You can run getwalletinfo in the Console (make sure to select the correct wallet in the console too) and look if you see "descriptors": true. Only descriptor wallets have Taproot support.

  8. eriknylund commented at 3:27 pm on March 29, 2022: contributor

    Uh no never mind, it does generate the descriptor. I selected the wrong wallet in the console. Pfew. So it’s a pure UI issue, investigating…

    Restarting Bitcoin Core does add Bech32m to the menu. Maybe some reference to the receive screen got borked in the passphrase dialogs? See #509.

    @eriknylund if you’re not seeing Bech32m after a restart, are you sure you checked the “Descriptor” box (it’s selected by default)? You can run getwalletinfo in the Console (make sure to select the correct wallet in the console too) and look if you see "descriptors": true. Only descriptor wallets have Taproot support.

    Something sure looks borked. I cannot even generate receive addresses on the other three types, the Create new receiving address button is disabled. image This is the output from the Console:

     0{
     1  "walletname": "Mainnet Wallet 1 Encrypted",
     2  "walletversion": 169900,
     3  "format": "sqlite",
     4  "balance": 0.00000000,
     5  "unconfirmed_balance": 0.00000000,
     6  "immature_balance": 0.00000000,
     7  "txcount": 0,
     8  "keypoolsize": 0,
     9  "keypoolsize_hd_internal": 0,
    10  "unlocked_until": 0,
    11  "paytxfee": 0.00000000,
    12  "private_keys_enabled": true,
    13  "avoid_reuse": false,
    14  "scanning": false,
    15  "descriptors": true,
    16  "external_signer": false
    17}
    
  9. Sjors commented at 3:55 pm on March 29, 2022: member
    @eriknylund this last screenshot is from after a restart?
  10. eriknylund commented at 4:20 pm on March 29, 2022: contributor

    @eriknylund this last screenshot is from after a restart? @Sjors Correct. However, this could also be the wallet that I started seeing problems with as I continued testing. See comment https://github.com/bitcoin/bitcoin/issues/24501#issuecomment-1081712948 I tried creating a new encrypted wallet and there the receive address button is enabled, yet I still only have three options, missing Taproot.

     0getwalletinfo
     1{
     2  "walletname": "Mainnet Wallet 2 Encrypted",
     3  "walletversion": 169900,
     4  "format": "sqlite",
     5  "balance": 0.00000000,
     6  "unconfirmed_balance": 0.00000000,
     7  "immature_balance": 0.00000000,
     8  "txcount": 0,
     9  "keypoolsize": 3999,
    10  "keypoolsize_hd_internal": 4000,
    11  "unlocked_until": 0,
    12  "paytxfee": 0.00000000,
    13  "private_keys_enabled": true,
    14  "avoid_reuse": false,
    15  "scanning": false,
    16  "descriptors": true,
    17  "external_signer": false
    18}
    
  11. hebasto commented at 9:27 pm on March 29, 2022: member
    A fixed has been suggested in bitcoin/bitcoin#24711.
  12. achow101 closed this on Mar 31, 2022

  13. sidhujag referenced this in commit 7d9925aa86 on Apr 3, 2022
  14. bitcoin-core locked this on Mar 31, 2023


hebasto Sjors eriknylund

Labels
Bug Wallet

Milestone
23.0


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/gui. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-03 17:20 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me