[wallet] [GUI] Encrypt wallet issue (ambiguous wallet info). #15977

issue DmitryShonin opened this issue on May 7, 2019
  1. DmitryShonin commented at 9:01 PM on May 7, 2019: none

    <!-- This issue tracker is only for technical issues related to Bitcoin Core. General bitcoin questions and/or support requests are best directed to the Bitcoin StackExchange at https://bitcoin.stackexchange.com. For reporting security issues, please read instructions at https://bitcoincore.org/en/contact/. If the node is "stuck" during sync or giving "block checksum mismatch" errors, please ensure your hardware is stable by running memtest and observe CPU temperature with a load-test tool such as linpack before creating an issue! -->

    <!-- Describe the issue -->

    I've just build latest release on my Linux machine and tried to create wallet then via bitcoin-wallet : /usr/local/bin/bitcoin-wallet -datadir=/bit/data -wallet=testWal -debug=3 create

    seems everything ok : 2019-05-07T19:42:11Z BerkeleyEnvironment::Open: LogDir=/bit/data/testWal/database ErrorFile=/bit/data/testWal/db.log 2019-05-07T19:42:11Z [testWal] nFileVersion = 189900 2019-05-07T19:42:11Z [testWal] Keys: 0 plaintext, 0 encrypted, 0 w/ metadata, 0 total. Unknown wallet records: 0 Topping up keypool... 2019-05-07T19:42:13Z [testWal] keypool added 2000 keys (1000 internal), size=2000 (1000 internal) Wallet info Encrypted: no HD (hd seed available): yes Keypool Size: 2000 Transactions: 0 Address Book: 0 2019-05-07T19:42:14Z [testWal] Releasing wallet

    <!--- What behavior did you expect? -->

    <!--- What was the actual behavior (provide screenshots if the issue is GUI-related)? -->

    Run bitcoin-qt after to verify that actions and encrypt the wallet via GUI. The wallet has been created but when I tried to encrypt it it's hanging on that step and don't respond awhile:

    Screenshot_20190507_225010

    After restart the "Encrypt wallet" window still freeze at desktop:

    Screenshot_20190507_232046

    When I fetch wallet info /usr/local/bin/bitcoin-wallet -datadir=/bit/data -wallet=testWal -debug=3 info

    it returns :

    2019-05-07T19:49:06Z Using BerkeleyDB version Berkeley DB 4.8.30: (April 9, 2010) 2019-05-07T19:49:06Z Using wallet /bit/data/testWal 2019-05-07T19:49:06Z BerkeleyEnvironment::Open: LogDir=/bit/data/testWal/database ErrorFile=/bit/data/testWal/db.log 2019-05-07T19:49:07Z BerkeleyEnvironment::Open: LogDir=/bit/data/testWal/database ErrorFile=/bit/data/testWal/db.log 2019-05-07T19:49:07Z [testWal] nFileVersion = 189900 2019-05-07T19:49:07Z [testWal] Keys: 2001 plaintext, 0 encrypted, 2001 w/ metadata, 2001 total. Unknown wallet records: 0 Wallet info Encrypted: no HD (hd seed available): yes Keypool Size: 2000 Transactions: 0 Address Book: 0 2019-05-07T19:49:07Z [testWal] Releasing wallet However in GUI : Settings --> "Encrypt Wallet" checkbox dimmed. Is it mean that wallet encrypted yet, right ? I think it is. Also I've backed up that wallet after encrypt it. Backup file looks like actually encrypted. "Change Passphrase" also available so I assume the wallet actually has been encrypted. But why this command : /usr/local/bin/bitcoin-wallet -datadir=/bit/data -wallet=testWal -debug=3 info returns Encrypted : no ?

    <!--- How reliably can you reproduce the issue, what are the steps to do so? -->

    1. Create wallet via bitcoin-wallet CLI tool.
    2. Run bitcoin-qt -> encrypt newly created wallet via GUI.
    3. Get wallet info via bitcoin-wallet CLI tool.

    In my case information (form GUI & CLI tool) does not match.

    • Bitcoin Core version v0.18.99.0-fb8e92c3f (64-bit)
    • This program uses Qt version 5.9.5.
    • Linux 4.15.0-48-generic #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
    • ubuntu.18.04, KDE
  2. fanquake added the label GUI on May 7, 2019
  3. fanquake added the label Wallet on May 7, 2019
  4. MarcoFalke commented at 4:12 PM on April 26, 2020: member

    I couldn't reproduce.

    Is this still an issue with a recent version of Bitcoin Core? If yes, what are the steps to reproduce?

  5. MarcoFalke closed this on Apr 26, 2020

  6. DrahtBot locked this on Feb 15, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-15 21:15 UTC

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