Hot answers tagged

18

-rescan likely did nothing at all. It goes through the blockchain to find transactions that are missing from your wallet. It is only very rarely needed (like when you manually changed things in wallet.dat). -reindex throws away the block chain index and chain state (the database of all unspent transaction outputs), and rebuilds those from scratch. It is ...


14

This is also useful if you are importing more than 1 private key into your wallet: bitcoind importprivkey 1zbcvs.... "My Label" false bitcoind importprivkey 1zbcvs.... "My Label" false bitcoind importprivkey 1zbcvs.... "My Label" false bitcoind stop # One of the following bitcoind -rescan bitcoin-qt -rescan


3

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 the rescan ends and you quit don't forget to revert the bitcoin.conf Method 2 Right click Bitcoin-qt Choose "Show package contents" Go to Contents/MacOS/...


3

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 are related to addresses stored in the wallet. The txindex does not store any of that information, all it stores is the location of each transaction identified ...


2

This answer might help: https://bitcoin.stackexchange.com/a/1251/11026 The gist is that a -rescan was needed, when you were restoring an older backed up wallet that didn't have all the transactions in your current blockchain reflected. Basically the client then goes through your blockchain to see if there are any transactions that affect your wallet. ...


2

To supplement George's answer: It would help if you would clarify what you mean by "crash" and describe exactly what happens. (To many people, "crash" means a segfault or similar abnormal termination, but it sounds like that's not what you mean.) If the issue is that the program appears unresponsive, this is normal: it's a well-known annoyance (perhaps ...


2

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 by restarting Bitcoin Core with the -rescan command-line argument). Rescanning may take several minutes. help importaddress importaddress "address" (...


1

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. Deterministic wallet backups usually come with a master secret and the derivation path. If you have both these pieces of information, only one derivation path needs to be ...


1

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 updated? Maybe see if you can find the adresses by executing listreceivedbyaddress 0 true Or, if that doesn't show anything, dump all the private keys of your ...


1

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, though, if you are missing transactions in an old wallet, the rescan may help. In Core < 0.16 you need to rescan either by startup argument or by a configuration ...


1

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 script. Bitcoind (listtransactions, getbalance, etc.) are not affected.


1

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 more recent transactions. Here is a good article on the subject: http://bitzuma.com/posts/moving-the-bitcoin-core-data-directory/ And here it is from the Wiki:...


1

Importing a private key causes a rescan (so that the correct balance will be displayed in your wallet once the import is through), which can make the UI unresponsive until it completes, when executed through the debug console. Importing your key(s) with rescan set to false should fix this: importprivkey bitcoinprivkey label rescan=false


1

You should launch it with the -rescan option, to rescan the blockchain for missed transactions and confirmations.


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