<p>As of Bitcoin Core v0.16 and later, it is recommended to rescan the blockchain using the <code>rescanblockchain</code> RPC rather than the <code>-rescan</code> parameter (which will be removed in the latest release). The default start height of this RPC is <code>0</code>, so you can simply run <code>rescanblockchain</code> with no parameters to rescan the entire chain.</p>

CC BY-SA 4.0
2021-12-15T00:32:56.987Z
2021-12-15T00:32:56.987Z
meshcollider
<p>I have a complete blockchain but when I set <code>rescan = 1</code> in .conf file my bitcoind starts rescaning from 435000 block. How to start it from the first block? What's wrong with my blockchain?</p>

CC BY-SA 4.0
2021-12-14T21:48:37.140Z
I’m not sure if I fully understand your question.  Try to remove the rescan from .conf file and take a look there https://developer.bitcoin.org/reference/rpc/rescanblockchain.html
Pegasus
<blockchain><bitcoind><bitcoin.conf><rescan>
Rescan starts not from first block
javierMarquez
# Rescan starts not from first block

(Asked by: username_0 on 2021-12-14)

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?

**Tags:** blockchain, bitcoind, bitcoin.conf, rescan

> **Comments:**
> **username_1**: I’m not sure if I fully understand your question.  Try to remove the rescan from .conf file and take a look there https://developer.bitcoin.org/reference/rpc/rescanblockchain.html  

---

## 1 answers

### Answer by username_2 on 2021-12-15. Score: 2 | Accepted 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.


---

