walletpassphrase timeout doesn't work in bitcoin-qt #7316

issue dooglus opened this issue on January 8, 2016
  1. dooglus commented at 8:36 AM on January 8, 2016: contributor

    If I am running bitcoind then bitcoin-cli walletpassphrase $pass 5 will unlock my wallet for 5 seconds.

    But if I am running bitcoin-qt then the same command will unlock my wallet indefinitely, and show an error in the debug.log:

    GUI: QObject::startTimer: Timers can only be used with threads started with QThread
    

    I built from the master branch, commit b1cf0058d9b3d3e218f1dc31ee688e5beb21f573.

  2. jonasschnelli added the label GUI on Jan 8, 2016
  3. jonasschnelli added the label Priority High on Jan 8, 2016
  4. jonasschnelli commented at 8:53 AM on January 8, 2016: contributor

    Tested and can confirm the issue. Marked a "Priority High" because this can leave a wallet unlocked while expecting it's locked... Fortunately this can only happen when running Bitcoin-Qt with -server and using walletpassphrase over the RPC server (not the GUI rpc console).

  5. jonasschnelli commented at 10:26 AM on January 8, 2016: contributor

    @dooglus: Thanks for reporting. Should be fixed with #7317 (#7318).

  6. laanwj closed this on Jan 8, 2016

  7. dooglus commented at 7:58 PM on January 8, 2016: contributor

    Thanks for the quick fix. I was surprised to find my wallet still unlocked hours after I had unlocked it for a quick spend, but it's fine again now.

  8. MarcoFalke locked this on Sep 8, 2021

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-13 15:15 UTC

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