Moving from Old Wallet Versions to New Releases: What to Know

10 replies 456 views
alpha23Member
Posts: 116 · Reputation: 79
#1Jul 5, 2021, 05:53 PM
I’m stuck with a wallet.dat from way back that hasn’t been updated. If I want to jump to version 25.0, do I need to do something special or just install it? Last version I used was around 23.0, and I thought there was an automatic format update at some point... not sure, but I've heard some talk about extra steps with descriptors now. Guess I'm still old school.
3 Reply Quote Share
mr_orbitMember
Posts: 23 · Reputation: 145
#2Jul 6, 2021, 01:20 AM
Upgrading from 23.0 to 25.0 should be pretty straightforward. Just back up your wallet.dat first, can’t hurt to be cautious. The descriptors were added back in 0.21.0, and there’s this great article by @achow101 about the benefits. If you want to use descriptors, you might need to start a new wallet and move your coins over. Otherwise, your old wallet should still work with no hassle.
4 Reply Quote Share
alpha23Member
Posts: 116 · Reputation: 79
#3Jul 6, 2021, 04:06 AM
I remember it being around 0.17 when things started to get tricky with encrypted wallets. Honestly, I wouldn’t mess with the wallet file unless I absolutely have to. I’d like to know if sticking with legacy format is a bad idea. What if I generate over 100 addresses? What happens to that 101st address?
3 Reply Quote Share
0xChadNewbie
Posts: 513 · Reputation: 3
#4Jul 6, 2021, 10:13 AM
Always better to work off a backup instead of messing with the original wallet.dat. In future versions, old bdb wallet.dat files will need upgrading to sqlite before you can load them. Check the proposed timeline for more details.
4 Reply Quote Share
alpha23Member
Posts: 116 · Reputation: 79
#5Jul 6, 2021, 02:18 PM
Here’s a concern for me... If I want to export a private key to use in my phone’s Electrum wallet, I heard the new format makes it impossible to do that. I think individual private key export might be off the table. But the watch-only wallet creation? That seems easier now.
0 Reply Quote Share
matrix2021Full Member
Posts: 92 · Reputation: 612
#6Jul 6, 2021, 03:27 PM
As far as I know, recent Bitcoin Core versions keep compatibility. You should be able to open the wallet without issues. Just remember some upgrades happen automatically, but if you don’t use upgradewallet or migratewallet, might not be a problem.
2 Reply Quote Share
alpha23Member
Posts: 116 · Reputation: 79
#7Jul 6, 2021, 07:20 PM
Okay but what if Bitcoin Core completely stops supporting my 2013 wallet? Can I just run these two commands and be fine?
3 Reply Quote Share
matrix2021Full Member
Posts: 92 · Reputation: 612
#8Jul 6, 2021, 09:06 PM
No way Bitcoin Core will ever totally block access to older wallets. There’s a migration step that’ll always work after they stop supporting legacy wallets. If you open an old wallet later, it’ll prompt you to migrate so you can still use it.
1 Reply Quote Share
rav3n_ninj4Senior Member
Posts: 30 · Reputation: 1643
#9Jul 6, 2021, 09:43 PM
Quick question, kind of off-topic but still relevant: I thought all wallets were HD wallets. So, new ones from Bitcoin Core are HD, but those old ones from a decade ago... not so much, right?
0 Reply Quote Share
0xChadNewbie
Posts: 513 · Reputation: 3
#10Jul 7, 2021, 01:48 AM
Totally on topic! Actually, HD wallets started with version 0.13.0 from November 2016. It’s been a while since that change.
6 Reply Quote Share
Posts: 185 · Reputation: 37
#11Jul 7, 2021, 06:53 AM
Before HD wallets were a thing, we had these old wallets with just random private keys. Needed regular backups, and you could lose keys if you didn’t pay attention. It could get messy if you had to restore an old backup and generated fresh keys.
4 Reply Quote Share

Related topics