Author

Topic: Windows and Linux Wallet and Blockchain client file interoperability (Read 1070 times)

hero member
Activity: 508
Merit: 500
Techwolf on #bitcoin and Reddit
Do the windows and Linux versions of bitcoinQT use the same wallet.dat file; i.e. can I move the wallet.dat file from a windows machine to a Linux one and have bitcoinQT work with that wallet?

Same question for the directories and files containing the blockchain data; i.e. can I move all the directories and files from the associated bitcoinQT directory which has an up to date version of the blockcahin on a windows hot wallet to the associated bitcoinQT directory for a Linux cold wallet to get that wallet to see the latest view of the blockchain?


The wallet.dat file is universal, it should work on all platforms.

The blockchain files should work as well, but both computers would probably need to be compiled against the same version of BerkeleyDB to avoid needing to upgrade (or downgrade, which may not be possible) them for the new computer. If you have the same version of Bitcoin-qt on both computers (and the linux version is statically compiled; if you're not sure, it probably is), then you'll be fine; if not, it should still work, if the versions are close to each other, but it's harder to say for sure.

I believe the chainstate files will need to be rebuilt by the target computer either way, unless you're talking about copying over the entire datadir in which case the statement about the blockchain files applies to them as well. Same goes for peers.dat, although that can be rebuilt extremely quickly so it's not something you really need to worry about.
legendary
Activity: 910
Merit: 1000
★YoBit.Net★ 350+ Coins Exchange & Dice
The wallet.dat you can move between the 2, or anywhere really.

the other data files should be able to be moved, but you might need to use some special command, I recall in older versions of bitcoin you had to do somtrhing special to be able to make the blockchain files even from one directory to another in windows... I can't remember the exact details though sorry.
have a bit of a search.. i'm not sure if on the new versions of bitcoin-qt you can just move them.... but the wallet.dat you can.. i do it all the time Smiley

Do the windows and Linux versions of bitcoinQT use the same wallet.dat file; i.e. can I move the wallet.dat file from a windows machine to a Linux one and have bitcoinQT work with that wallet?

Same question for the directories and files containing the blockchain data; i.e. can I move all the directories and files from the associated bitcoinQT directory which has an up to date version of the blockcahin on a windows hot wallet to the associated bitcoinQT directory for a Linux cold wallet to get that wallet to see the latest view of the blockchain?

hero member
Activity: 906
Merit: 1034
BTC: the beginning of stake-based public resources
Do the windows and Linux versions of bitcoinQT use the same wallet.dat file; i.e. can I move the wallet.dat file from a windows machine to a Linux one and have bitcoinQT work with that wallet?

Same question for the directories and files containing the blockchain data; i.e. can I move all the directories and files from the associated bitcoinQT directory which has an up to date version of the blockcahin on a windows hot wallet to the associated bitcoinQT directory for a Linux cold wallet to get that wallet to see the latest view of the blockchain?
Jump to: