Questions tagged [rescan]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
2 answers
132 views

Bitcoin Core RPC for transactions of a new address without rescanning

I currently use the importaddress wallet RPC on Bitcoin Core to rescan the transaction history related to an address, which I then query using listtransactions. The address import takes about a hour ...
mjdimn's user avatar
  • 63
1 vote
0 answers
64 views

Could the Bitcoin Core descriptor wallet recover and start spending UTXOs by only scanning the UTXO set?

In the case where you import a previously used BIP32 seed into a Bitcoin Core descriptor wallet, at the moment if I understand correctly, the only way to recover the UTXOs and spend them is by first ...
nolan's user avatar
  • 11
0 votes
2 answers
469 views

Insert a password to a wallet.dat file from windows cmd

Is there a way to insert a password to a wallet.dat file from windows cmd? I'm a newbie, so please be as specific as you can. That wallet.dat file needs rescan, which I want to make after I insert the ...
mikest's user avatar
  • 135
0 votes
1 answer
245 views

Can I rescan a wallet with bitcoin core in more than one session?

Since it takes long time, I want to close bitcoin core and continue later. Will it continue from where it stopped, or do one must do the whole scan in one session?
mikest's user avatar
  • 135
0 votes
1 answer
153 views

Rescan starts not from first block

I have a complete blockchain but when I set rescan = 1 in .conf file my bitcoind starts rescaning from 435000 block. How to start it from the first block? What's wrong with my blockchain?
javierMarquez's user avatar
1 vote
1 answer
92 views

How is BIP 158 wallet rescanning supposed to work with xpub keys?

A light client implementing BIP158 downloads filters and checks its addresses against that filter. If one matches, it downloads the block. Now, let's say we have an HD wallet (BIP32), and/or an xpub ...
cloudhead's user avatar
  • 189
3 votes
3 answers
2k views

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 ...
Rohan's user avatar
  • 31
1 vote
1 answer
991 views

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 ...
Lisa's user avatar
  • 11
1 vote
0 answers
48 views

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 ...
droid192's user avatar
  • 245
1 vote
1 answer
363 views

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 ...
bitn00b's user avatar
  • 11
2 votes
1 answer
1k views

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 ...
blues's user avatar
  • 294
0 votes
1 answer
2k views

How do I get my Bitcoin Core to rescan for a different wallet.dat file on OSX?

I have an old wallet.dat file that I have backed up and I have already replaced the new wallet.dat, which had no btc on it with the old one, which does. I have tried to enter the command for the ...
Gary R.'s user avatar
0 votes
1 answer
470 views

Importing private key for watched address in bitcoind, rescan necessary?

If I have a watch only address in my wallet and then I import the private key corresponding to it, will I need to do a rescan or will it automatically update my available balance with any UTXOs for ...
Daniel McNally's user avatar
4 votes
1 answer
5k views

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. ...
ToddAC's user avatar
  • 41
0 votes
1 answer
591 views

Does `importprivkey` need a rescan even in a txindex=1 node?

Documentation for importprivkey RPC command has an optional boolean argument called "rescan" which hints that the user may want to rescan the blockchain to be able to see previous deposits to this ...
knocte's user avatar
  • 1,754
1 vote
1 answer
242 views

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 ...
Rocky's user avatar
  • 23
2 votes
2 answers
898 views

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 ...
Damiano Barbati's user avatar
1 vote
1 answer
151 views

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 ...
xanadont's user avatar
  • 111
11 votes
1 answer
10k views

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/...
Derek Kaknes's user avatar
4 votes
1 answer
7k views

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 ...
ripper234's user avatar
  • 26.5k
1 vote
1 answer
1k views

Armory client shows transaction unconfirmed

I am new to btc and am using the Armory client. Yesterday I transferred some btc to wallet from my MtGox account. The wallet showed the btc received within minutes, but, after 12 hours it still shows ...
freedomfries's user avatar
5 votes
1 answer
2k views

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",...
ripper234's user avatar
  • 26.5k
9 votes
1 answer
248 views

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, ...
joebeans's user avatar
31 votes
2 answers
35k views

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 ...
ripper234's user avatar
  • 26.5k
8 votes
1 answer
1k views

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, ...
ripper234's user avatar
  • 26.5k