Hot answers tagged

4 votes

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

Method 1 Open "Finder". Press Cmd + Shift + G Paste this: ~/Library/Application Support/Bitcoin Edit bitcoin.conf with TextEdit Add this line: rescan=1 Save it, then run Bitcoin-qt. After you ...
MCCCS's user avatar
  • 10.1k
3 votes

Bitcoin Core RPC for transactions of a new address without rescanning

You can rescan an address, or a bunch of addresses as defined by a range descriptor, using the scantxoutset RPC command. This will give you the current UTxOs paying to this (set of) address(es). ...
Antoine Poinsot's user avatar
3 votes

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

Generally, the wallet shipped with Bitcoin Core only keeps copies of any transactions that directly involve the wallet. When you import a key, your node scans the entire blockchain to see if any ...
Murch's user avatar
  • 72.7k
3 votes
Accepted

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

Yes. txindex=1 is not related to the wallet and the wallet does not know about the txindex nor does it care. What the wallet really cares about is transaction output information and which transactions ...
Andrew Chow's user avatar
  • 68.5k
2 votes

calling importaddress with same address

Calling importaddress will rescan the whole blockchain in default according to bitcoin.org Set rescan parameter to false to not rescan the block database (rescanning can be performed at any time ...
Adam's user avatar
  • 3,649
2 votes
Accepted

Rescan starts not from first block

As of Bitcoin Core v0.16 and later, it is recommended to rescan the blockchain using the rescanblockchain RPC rather than the -rescan parameter (which will be removed in the latest release). The ...
meshcollider's user avatar
  • 11.8k
2 votes
Accepted

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

Using the info @Prayank provided, I managed to do it the following way: Run first cmd session and changed directory to where bitcoind.exe resides. Then run bitcoind.exe Run second cmd session, changed ...
mikest's user avatar
  • 135
1 vote
Accepted

Bitcoin Core RPC for transactions of a new address without rescanning

The fraction of the problem solved for me by using Electrumx server. Electrumx rescan block files and indexed trx history information to the another database. It taken about 3 days. Therefore, I could ...
mjdimn's user avatar
  • 63
1 vote
Accepted

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

You can use the rescanblockchain command/RPC to rescan in stages. Simply provide a start height and stop height, then next time, start from the previous place you left off. You can continue this until ...
meshcollider's user avatar
  • 11.8k
1 vote
Accepted

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

No, you essentially have to do exactly that: test the block filter for each address that might have gotten used by your wallet. That might not be quite as bad as you seem to think, though. ...
Murch's user avatar
  • 72.7k
1 vote

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

I don't think so. If the transaction is removed from the blockchain, it means it was never confirmed. Thus the UTXO is still unspent, and should still be in your wallet. Are you sure your wallet is ...
Rutger Versteegden's user avatar
1 vote

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

The QT terminal (RPC) rescan option will be available in 0.16 (not release by the time of writing). https://github.com/bitcoin/bitcoin/pull/7061 Manual rescans should generally not be required, ...
Jonas Schnelli's user avatar
1 vote
Accepted

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

No additional rescan is required in that case. Though there is a little bug in Bitcoin-Qt: the balance will not get properly updated if you import a private keys where you already have a watch-only ...
Jonas Schnelli's user avatar
1 vote
Accepted

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

The only way to avoid a full resync is to make sure your backup contains the blockchain as it was when you made the backup; not just your wallet. Then the core should only need to update with any ...
SDsolar's user avatar
  • 160

Only top scored, non community-wiki answers of a minimum length are eligible