Questions tagged [rescan]

24 questions
31
votes
2 answers

How exactly does -rescan work?

-rescan is a command line argument that is passed to the bitcoin client after restoring wallet.dat from backup. Which files get recalculated? Which files does the rescan command read? Why is it a good practice to first download all the blocks, then…
ripper234
  • 26,452
  • 30
  • 111
  • 246
11
votes
1 answer

What exactly did `Bitcoin-Qt -rescan -reindex` do?

I spent a ton of time today trying to get Bitcoin-Qt to sync using the bootstrap.dat file and could not get it to work. I found an answer on this forum saying to use: /Applications/Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt -rescan -reindex Which…
Derek Kaknes
  • 211
  • 2
  • 4
9
votes
1 answer

One dataset for many wallets... how?

It takes a while to download and process the transaction log. Doing that for dozens of wallets would be a big waste. I want to run just one client full time as a log processor. Then for each wallet, symlink the log processor's data files into each…
joebeans
  • 91
  • 1
8
votes
1 answer

How to debug a failed restore of a Namecoin wallet?

I bought some Namecoins a while back. With the upcoming Merged Mining patch, I reinstalled Namecoin 0.3.24.63 on my newly formatted computer, copied my wallet.dat from my backup to the right folder, and ... can't seem to figure out how to view my…
ripper234
  • 26,452
  • 30
  • 111
  • 246
5
votes
1 answer

What to do about a "stuck" transaction?

I started the standard client with --rescan instead of -rescan after switching wallets and before synchronizing with the latest blockchain, and made an going transaction. This transaction got "stuck", never validating, even after the client caught…
ripper234
  • 26,452
  • 30
  • 111
  • 246
4
votes
1 answer

How exactly do I run the -rescan command for bitcoin-qt from console on a Mac?

I downloaded the blockchain from a torrent, but when I imported my old wallet.dat file, the balance is not showing. I am unfamiliar with console operation, so please be as specific as possible. Thank You!
ToddAC
  • 41
  • 1
  • 2
4
votes
1 answer

When do you need to run bitcoin-qt -rescan?

I was under the impression that the -rescan flag was no longer needed for some time now. Can someone document precisely, when does one need to run bitcoin-qt -rescan? How has this changed throughout the versions of bitcoin-qt?
ripper234
  • 26,452
  • 30
  • 111
  • 246
3
votes
3 answers

How can I import a private key into a pruned node?

I am trying to restore my Bitcoin Core wallet, but I only have the private key and passphrase, I don't have a wallet.dat file. I tried using importprivkey privatekey xxxxxxxxxxxxxxxxxxxx which gave me the error Rescan is disabled when blocks are…
2
votes
1 answer

calling importaddress with same address

While experimenting with importing addresses and keys via json rpc I noticed that importing an address twice triggers two rescans. This strikes me as very odd. My question is: Is this intended behaviour and if so, what is the reasoning behind…
blues
  • 294
  • 1
  • 9
2
votes
2 answers

Bitcoin-qt import private key crash

Importing a private using the debug console causes a crash, I always have to kill from shell the bitcoin-qt app and restart it. Is there any way to prevent this? Is there a way to import the private key into qt client from shell?
1
vote
1 answer

Can I Replace An Old Wallet.dat File In Bitcoin Core Before It Fully Syncs?

I have an older wallet.dat file I'm trying to re-open in the latest Bitcoin Core version (0.20.1). Once I replace the empty wallet.dat file with the older one: Do I need to wait for the entire blockchain to sync before seeing the contents of the…
Lisa
  • 11
  • 1
1
vote
0 answers

Switching between pruned and non-pruned blocksdir ok?

Is it ok to swap the nodes blocksdir upon restart without corrupting sth. cache etc.. I have two blocksdir: one locally pruned blocks, the other external with all blocks in blocks on usb drive. Id like to swap to external HDD blocksdir to eg rescan…
droid192
  • 235
  • 2
  • 8
1
vote
1 answer

Zapped transaction, did rescan - bitcoin lost... :(

I made a transaction, realized the fee wasn't high enough, so I restarted Bitcoin-QT (MacOS) with -zapwallettxes, and removed the transaction. Then restarted with -rescan, (been almost 24h since scan finished) but the funds are still missing. and…
bitn00b
  • 11
  • 1
1
vote
1 answer

Can a resynchronization be avoided when recovering a wallet in Bitcoin Core?

I have tried to restore my wallet by replacing wallet.dat with my file, but the issue is that Bitcoin Core started synchronizing from 8 years again. Can some one help me to avoid this because I frequently format my system. So, is there any way to…
Rocky
  • 23
  • 2
1
vote
1 answer

Help with missing transaction

I'm trying to learn how to programmatically interact with the Bitcoin protocol. I've, seemingly, successfully generated a private key, WIF, and public address with code. I used Coinbase to send .001 BT to 14egr6kfYY4xiSVPim2sJnED4t89Yvn8hQ. I then…
xanadont
  • 111
  • 4
1
2