Help with Migrating an Old Bitcoin Wallet

5 replies 344 views
serHero Member
Posts: 580 · Reputation: 2321
#1Jul 28, 2023, 01:02 PM
I'm trying to move a wallet from 2012 using bitcoin-qt. I start the process, enter the password, but then I get this error: "Error: Unable to read wallet's best block locator record". Anyone seen this before? Any tips?
4 Reply Quote Share
nick2009Member
Posts: 3 · Reputation: 234
#2Jul 28, 2023, 05:59 PM
Are you sure you have the latest version of bitcoincore?
4 Reply Quote Share
0xChadNewbie
Posts: 513 · Reputation: 3
#3Jul 28, 2023, 11:28 PM
Sounds like it’s missing the last block record or something like that from when it was last synced. You could try version 29.0 which supports legacy wallets. Use "Restore Wallet," let it sync up, and then back it up with "Backup Wallet" before migrating. If it works, update to the latest Bitcoin Core after.
4 Reply Quote Share
dave.forkMember
Posts: 375 · Reputation: 185
#4Jul 29, 2023, 05:23 AM
Hold up! Don't try the migration just yet. If you’re on versions 30.0 or 30.1, there’s this bug that can wipe everything from your wallet folder if the legacy wallet migration fails. First thing you should do is back up your wallet.dat file somewhere safe, like offline.
0 Reply Quote Share
tom2014Legendary
Posts: 79 · Reputation: 4721
#5Jul 29, 2023, 10:57 AM
Totally agree. Even if you didn’t know about that bug, it’s always a smart move to have multiple backups of your wallet file before any recovery attempts. Be careful, man. If your only backup messes up, you could lose your bitcoins for good.
0 Reply Quote Share
matrix2021Full Member
Posts: 92 · Reputation: 612
#6Jul 29, 2023, 01:57 PM
Yeah, this issue is known and should be fixed in the next major update for Bitcoin Core.
1 Reply Quote Share

Related topics