<p>You can use the <code>rescanblockchain</code> command/RPC to rescan in stages. Simply provide a start height and stop height, then next time, start from the previous place you left off. You can continue this until you've rescanned the entire chain.</p>
<p>You can use the <code>getwalletinfo</code> RPC to see the current rescan progress too. If the wallet is already scanning, you can use this to estimate which block height it is up to, and then resume from there using <code>rescanblockchain</code>.</p>

CC BY-SA 4.0
2021-12-28T15:49:24.567Z
Thanks! The problem is that I can't get to the RPC, since once bitcoin core is up it immediately starts rescanning and no menu ever appears.
mikest
CC BY-SA 4.0
2021-12-28T19:43:58.830Z
Did you initiate the rescan, or did Bitcoin core do it automatically?
meshcollider
CC BY-SA 4.0
2021-12-29T08:49:41.467Z
Automatically. I can’t even insert a password for that wallet. I can't do anything since there is no menu.   The bitcoin core version I have is 0.22
mikest
CC BY-SA 4.0
2021-12-28T10:00:58.150Z
2021-12-28T10:00:58.150Z
meshcollider
<p>Since it takes long time, I want to close bitcoin core and continue later.</p>
<p>Will it continue from where it stopped, or do one must do the whole scan in one session?</p>

<bitcoin-core><rescan>
Can I rescan a wallet with bitcoin core in more than one session?
mikest
# Can I rescan a wallet with bitcoin core in more than one session?

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

Since it takes long time, I want to close bitcoin core and continue later.

Will it continue from where it stopped, or do one must do the whole scan in one session?

**Tags:** bitcoin-core, rescan


---

## 1 answers

### Answer by username_1 on 2021-12-28. Score: 1 | Accepted answer

You can use the `rescanblockchain` command/RPC to rescan in stages. Simply provide a start height and stop height, then next time, start from the previous place you left off. You can continue this until you've rescanned the entire chain.

You can use the `getwalletinfo` RPC to see the current rescan progress too. If the wallet is already scanning, you can use this to estimate which block height it is up to, and then resume from there using `rescanblockchain`.

> **Comments:**
> **username_0**: Thanks! The problem is that I can't get to the RPC, since once bitcoin core is up it immediately starts rescanning and no menu ever appears.  
> **username_1**: Did you initiate the rescan, or did Bitcoin core do it automatically?  
> **username_0**: Automatically. I can’t even insert a password for that wallet. I can't do anything since there is no menu.   The bitcoin core version I have is 0.22  

---

