I have a complete blockchain but when I set rescan = 1
in .conf file my bitcoind starts rescaning from 435000 block. How to start it from the first block? What's wrong with my blockchain?
-
I’m not sure if I fully understand your question. Try to remove the rescan from .conf file and take a look there developer.bitcoin.org/reference/rpc/rescanblockchain.html– PegasusDec 14, 2021 at 21:48
1 Answer
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 default start height of this RPC is 0
, so you can simply run rescanblockchain
with no parameters to rescan the entire chain.