-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trigger wallet rescan on wallet import/restore #1589
Comments
Hmmm, interesting. If they ran @raphjaph added a |
Rescans can take quite a while so would be hesitant to call |
We can limit the rescan to start from the block containing the genesis inscription - I did a test restore and rescan and it took 51 seconds on my machine. This will obviously get slower as the chain get's longer though. |
I think the latest Bitcoin core release also uses compact block filters for rescanning. So if a user has |
I had a wallet I restored that received inscriptions about a year ago. When I restored it into ord, the Bitcoin Core logs returned that it has only rescanned back 23 blocks: To remedy I had to kick off a manual rescan on the wallet: |
One user reported that after importing a wallet they originally created with Sparrow,
ord
was not showing any of the inscriptions they had received to the wallet. To fix the issue they initiated a manual rescan withrescanblockchain
usingbitcoin-cli
.Not sure if they did something weird when restoring the wallet, or if we need to add some logic to automatically trigger a rescan in bitcoin core when wallets are imported.
The text was updated successfully, but these errors were encountered: