Author

Topic: Pre HD wallet.dat into new Bitcoin Core (Read 399 times)

staff
Activity: 3458
Merit: 6793
Just writing some code
November 29, 2017, 12:40:34 AM
#8
The good news is, apparently (according to achow here) version 0.16 will automatically convert your wallet into an HD wallet so you don't need to waste fees doing this.
Only if you do -upgradewallet. Also it may not be in 0.16.

So balance would not show up even using HD=0 command (assuming it contains some BTC)? Core crashes without that command with recovered wallet.dat. Thanks.
No, it will show up. The wallet format is not different at all. The reason it is crashing is because when you recovered the wallet you are missing a few fields that should be in the wallet (and the software expects them) but the recover missed them. This effectively corrupts your wallet. Using -usehd=0 works around this issue. You will have full access to whatever coins are associated with the private keys in your wallet.
legendary
Activity: 3038
Merit: 4418
Crypto Swap Exchange
November 28, 2017, 01:39:42 PM
#7
Sweeping private keys is not recommended because it could be fatal if your computer was compromised and attacker saw them.
Wait you lost me. If your computer used to sweep was compromised, your coins would be lost anyways.
Are wallet.dat files from for example Electrum compatible with Bitcoin Core?
Not at all. Bitcoin Core's wallet.dat format is only compatible with their own wallets, at least among the reputable ones.
hero member
Activity: 714
Merit: 500
November 28, 2017, 01:08:25 PM
#6
You can always download the old wallet and export the private key then in the new wallet import the private key.

The most common advice i've seen to start using the HD format is to empty is to send your own bitcoins into a new empty wallet, so you would need to create an empty wallet, create receiving addresses (as many as needed for privacy reasons) and then send the BTC there. Newly created wallets are HD by default since 0.13 I think.

Sweeping private keys is not recommended because it could be fatal if your computer was compromised and attacker saw them.

The good news is, apparently (according to achow here) version 0.16 will automatically convert your wallet into an HD wallet so you don't need to waste fees doing this.

I have no experience with Bitcoin Core, I was just giving general advice on how to export a private key.

Are wallet.dat files from for example Electrum compatible with Bitcoin Core?
full member
Activity: 217
Merit: 109
November 28, 2017, 10:29:20 AM
#5
You can always download the old wallet and export the private key then in the new wallet import the private key.

The most common advice i've seen to start using the HD format is to empty is to send your own bitcoins into a new empty wallet, so you would need to create an empty wallet, create receiving addresses (as many as needed for privacy reasons) and then send the BTC there. Newly created wallets are HD by default since 0.13 I think.

Sweeping private keys is not recommended because it could be fatal if your computer was compromised and attacker saw them.

The good news is, apparently (according to achow here) version 0.16 will automatically convert your wallet into an HD wallet so you don't need to waste fees doing this.
So balance would not show up even using HD=0 command (assuming it contains some BTC)? Core crashes without that command with recovered wallet.dat. Thanks.
legendary
Activity: 1372
Merit: 1252
November 28, 2017, 09:52:21 AM
#4
You can always download the old wallet and export the private key then in the new wallet import the private key.

The most common advice i've seen to start using the HD format is to empty is to send your own bitcoins into a new empty wallet, so you would need to create an empty wallet, create receiving addresses (as many as needed for privacy reasons) and then send the BTC there. Newly created wallets are HD by default since 0.13 I think.

Sweeping private keys is not recommended because it could be fatal if your computer was compromised and attacker saw them.

The good news is, apparently (according to achow here) version 0.16 will automatically convert your wallet into an HD wallet so you don't need to waste fees doing this.
hero member
Activity: 714
Merit: 500
November 28, 2017, 08:31:12 AM
#3
You can always download the old wallet and export the private key then in the new wallet import the private key.
full member
Activity: 177
Merit: 101
November 27, 2017, 06:02:58 PM
#2
i recovered a wallet from 2013 and loaded it into vers 14 of core (fully updated) and all i noticed it said was "rewinding blocks", then hey presto the blocks reindexed and my coins showed up.

not sure if pywallet does anything special to it but i guess as long as its readable it should synch accordingly. i didnt have to do anything special for my wallet.dat although it was quite old.
full member
Activity: 217
Merit: 109
November 27, 2017, 04:57:49 PM
#1
I have a recovered wallet.dat file from an old Bitcoin Core that I have recovered using Pywallet with the kind help of forum member HCP. If I use that wallet.dat in the latest Bitcoin Core with the useHD=0 and rescan options and it is synced, then will it show any Bitcoins that are in there. Thanks.
Jump to: