Skip to content

Reindex & rescan (startup flags)

These are advanced startup options used when Core is synced incorrectly, indexes are inconsistent, or transactions/staking appear wrong.

Always backup wallet.dat before running any startup flags.

-reindex-chainstate=1 (targeted reindex)

John Nash recommended trying a chainstate reindex based on a database/index error, after first backing up wallet.dat.1

Example:

reddcoin-qt -reindex-chainstate=1

-reindex

If you are troubleshooting stuck behavior and already know how to pass flags, admins suggested a -reindex pass as a follow-up to other recovery steps.2

-rescan

A rescan can be appropriate after restoring an older wallet file, but it is slower and does not fix a corrupted blockchain database by itself. If you have “blockchain data file is corrupted,” prefer the Corrupted blockchain / resync procedure.


Footnotes


  1. Telegram export (ReddCoinOfficial), 2024-07-05, John (cryptognasher) Nash, message1997316. Note: Firstly, make a backup of your wallet.dat as a precaution. Based on the error, the first thing to try is reindex as a part of startup There are 2 types of index Chainsta… Permalink: https://t.me/ReddcoinOfficial/1997316

  2. Telegram export (ReddCoinOfficial), 2023-12-12, unknown, message1962358. Note: Add "-reindex" in the command line. If you don't know how, it's the same as zapwallet. https://wiki.reddcoin.com/Remove_stuck_transactions_with_zapwallettxes Permalink: https://t.me/ReddcoinOfficial/1962358