wallet passphrase timeout of several years doesn't work #922

issue gavinandresen opened this issue on March 9, 2012
  1. gavinandresen commented at 10:36 PM on March 9, 2012: contributor

    I've got an encrypted wallet and want to unlock it "until next reboot."

    So I tried setting a timeout of 10 years (315360000 seconds):

    bitcoind walletpassphrase "wouldn't you like to know" 315360000
    

    ... but when I check the unlocked_until time it is unlocked only until the end of the month :

    bitcoind getinfo  
    "unlocked_until" : 1333159764,
    

    1333159764 is 2012-03-31 02:09:24 GMT

  2. sipa commented at 4:11 AM on March 10, 2012: member

    ne of my recent bugfixes changes an internal timer from seconds to milliseconds. The time you report seems to be 1000 times shorter in the future than expected. I'll have a look at it tomorrow.

  3. sipa referenced this in commit 336ba312a6 on Mar 12, 2012
  4. gavinandresen closed this on Mar 19, 2012

  5. coblee referenced this in commit 49c8d613bf on Jul 17, 2012
  6. coblee referenced this in commit 323df3a6f3 on Jul 17, 2012
  7. suprnurd referenced this in commit d514ee7f9a on Dec 5, 2017
  8. ptschip referenced this in commit 4a047430ee on Jan 19, 2018
  9. lateminer referenced this in commit 0f98fd4d3f on Oct 30, 2019
  10. sipa referenced this in commit c020cbaa5c on Jul 14, 2021
  11. MarcoFalke locked this on Sep 8, 2021
Contributors
Labels

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-05-02 15:16 UTC

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