fresh wallet rescan is stupid #2772

issue molecular opened this issue on June 15, 2013
  1. molecular commented at 5:49 PM on June 15, 2013: none

    to reproduce:

    > rm ~/.bitcoin/wallet.dat

    > bitcoin-qt

    expected: speedy startup experienced: extremely slow startup due to a wallet rescan taking place

    commentary: the probability of a newly generated privkey hitting an existing address is exteremely low and the repercussions are tragic anyway, so a rescan in this case should be avoided.

  2. sipa commented at 5:53 PM on June 15, 2013: member

    I thought this was fixed in 0.8.2?

  3. molecular commented at 6:09 PM on June 15, 2013: none

    confused about versions... just did a "git pull" and recompiled.

    nick@blackbox ~/bitcoin/bitcoin $ git remote -v origin git://github.com/bitcoin/bitcoin.git (fetch) origin git://github.com/bitcoin/bitcoin.git (push) nick@blackbox ~/bitcoin/bitcoin $ git rev-parse HEAD e58154c447670a546936b850f0bba4de087a1583

    and after recompile (checked date of binary) and rm ~/.bitcoin/wallet.dat still a rescan occurs.

  4. sipa commented at 7:01 PM on June 15, 2013: member

    @molecular When starting bitcoind, what is the first line being written to debug.log?

  5. molecular commented at 7:04 PM on June 15, 2013: none

    Bitcoin version v0.8.2-99-ge58154c-beta (2013-06-15 07:49:40 -0700)

  6. sipa commented at 7:35 PM on June 15, 2013: member

    Ok, so this problem seems to exist in HEAD. I wonder where it got reintroduced.

  7. jgarzik commented at 2:17 PM on June 17, 2013: contributor

    Maybe my wallet birthday stuff broke something? I don't see how, but it was a vaguely-related change.

  8. sipa commented at 7:13 PM on June 19, 2013: member

    I'm unable to reproduce this problem; tried bitcoind and bitcoin-qt v0.8.2-123-gb153ee6-beta on Ubuntu 13.04 x86_64.

  9. molecular commented at 11:52 AM on June 23, 2013: none

    just retested and have to admit:

    I screwed up...

    I managed to recompile bitcoind, but not bitcoin-qt. When sipa asked to check version, I truthfully reported new version 0.8.2 for bitcoind. But my bug-report was done on bitcoin-qt which was still version 0.8.0.

    0.8.2 doesn't rescan fresh wallet.

    really sorry to have wasted time :(

  10. molecular closed this on Jun 23, 2013

  11. Bushstar referenced this in commit 396ebc2dc7 on Apr 5, 2019
  12. DrahtBot 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-24 12:16 UTC

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