Reindexing
Reindexing is a tool which will prompt your node wallet to re-download and rescan your wallet's transaction history. To reindex, you must be running a node wallet (reindexing does not apply to BitGo). Reindexing may take anywhere from 24-48 hours.
Reindexing may be necessary if
- Your wallet is out of sync
- You are finding an incorrect balance shown within your admin's funding panel
- You have just imported a wallet.dat file
- Your wallet is experiencing errors
- You've missed a hard fork deadline
How to reindex
Reindexing Bitcoin Core
To reindex, run the script below:
curl -sS https://raw.githubusercontent.com/lamassu/lamassu-patches/master/wallets/reindex/btc/bitcoin.sh | bash
Verifying
Afterward, check that the wallet's block height by running the following command:
bitcoin-cli -conf=/mnt/blockchains/bitcoin/bitcoin.conf getblockcount
You should see a number lower than the current block height, wait an about a few seconds, then run the command again; verify the number is increasing.
Updating Zcash
To update, run the script below:
curl -sS https://raw.githubusercontent.com/lamassu/lamassu-patches/master/wallets/reindex/zec/zcash.sh | bash
Verifying
Afterward, check that the wallet's block height by running the following command:
zcash-cli -conf=/mnt/blockchains/zcash/zcash.conf getblockcount
You should see a number lower than the current block count, wait an about a few seconds, then run the command again; verify the number is increasing.
Updating Bitcoin Cash
To update, run the script below:
curl -sS https://raw.githubusercontent.com/lamassu/lamassu-patches/master/wallets/reindex/bch/bitcoincash.sh | bash
Verifying
Afterward, check that the wallet's block height by running the following command:
bitcoincash-cli -conf=/mnt/blockchains/bitcoincash/bitcoincash.conf getblockcount
You should see a number lower than the current block count, wait an about a few seconds, then run the command again; verify the number is increasing.
Updating Dash Core
To update, run the script below:
curl -sS https://raw.githubusercontent.com/lamassu/lamassu-patches/master/wallets/reindex/dash/dash.sh | bash
Verifying
Afterward, check that the wallet's block height by running the following command:
dash-cli -conf=/mnt/blockchains/dash/dash.conf getblockcount
You should see a number lower than the current block count, wait an about a few seconds, then run the command again; verify the number is increasing.
Reindexing Litecoin Core
To reindex, run the script below:
curl -sS https://raw.githubusercontent.com/lamassu/lamassu-patches/master/wallets/reindex/ltc/litecoin.sh | bash
Verifying
Afterward, check that the wallet's block height by running the following command:
litecoin-cli -conf=/mnt/blockchains/litecoin/litecoin.conf getblockcount
You should see a number lower than the current block count, wait an about a few seconds, then run the command again; verify the number is increasing.
Comments
0 comments
Article is closed for comments.