Bitcoin Forum
May 10, 2024, 07:29:52 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Windows and Linux Wallet and Blockchain client file interoperability  (Read 1040 times)
No_2 (OP)
Hero Member
*****
Offline Offline

Activity: 901
Merit: 1033


BTC: the beginning of stake-based public resources


View Profile
June 19, 2014, 08:49:16 AM
 #1

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 forum strives to allow free discussion of any ideas. All policies are built around this principle. This doesn't mean you can post garbage, though: posts should actually contain ideas, and these ideas should be argued reasonably.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715369392
Hero Member
*
Offline Offline

Posts: 1715369392

View Profile Personal Message (Offline)

Ignore
1715369392
Reply with quote  #2

1715369392
Report to moderator
1715369392
Hero Member
*
Offline Offline

Posts: 1715369392

View Profile Personal Message (Offline)

Ignore
1715369392
Reply with quote  #2

1715369392
Report to moderator
1715369392
Hero Member
*
Offline Offline

Posts: 1715369392

View Profile Personal Message (Offline)

Ignore
1715369392
Reply with quote  #2

1715369392
Report to moderator
Justin00
Legendary
*
Offline Offline

Activity: 910
Merit: 1000


★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
June 19, 2014, 10:54:25 AM
 #2

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?


Dare
Hero Member
*****
Offline Offline

Activity: 508
Merit: 500


Techwolf on #bitcoin and Reddit


View Profile WWW
June 20, 2014, 09:07:11 PM
 #3

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.

BTC: 1M8oUcBnkRDEhWWgV8ZXLTB6p1mgnejVbX
How Forum Activity Works
Bitcointalk Forum Rules
|
|
|
Firstbits (lucky vanitygen): 1WoLfRUGDx1
How Forum Trust Works
Bitcoin Source Code
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!