Posted this on the Bitcoin Stack Exchange after the Bitcoin PR review club. I think it should probably be added to the docs on the config file @jon

Good question! Perhaps grepping for "reindex" in the help dialog would help :)
This that need a reindex when changed and the ones you need to set before IBD.

@stevenroose @michaelfolkson @jon

Good idea, but worth noting that some commands which require a rescan can be called more efficiently, so as to not require a full reindex of the chainstate. So you’ll get some ‘false positives’.

Eg when using ‘importprivkey’, you can set rescan to 0 and then use a the more precise ‘rescanblockchain’ to locate the txs relevant to that key. Requires knowledge of the specific blocks those txs are in though.

Sign in to participate in the conversation
Bitcoin Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!