2

I have two computers with two different bitcoin-qt wallets:

  1. Very heavy-weight desktop with a great internet connection.
  2. Less powerful laptop with relatively slow internet.

I would like to download AND validate the blockchain only on the desktop. I can trust that blockchain to contain only valid data because it actually validates the input and it is a source under my control. So I figure I don't need to do the same for the laptop. How can I syncronize the blockchain on the laptop? Could I rsync the chainstate, blocks, and database directories for instance? And then I rescan on my laptop and we should be good to go! Would this work?

  • I don't know, but it seems like it would be pretty easy to try. Back up your wallet.dat, of course. – Nate Eldredge Apr 10 '14 at 13:56
  • You could probably have the laptop download the blockchain from the desktop (assuming you can have them on a LAN for a suitable period of time to do the transfer). I think addnode=x or connect=x are what you want, see en.bitcoin.it/wiki/Running_Bitcoin for commands to connect to an IP – Tim S. Apr 10 '14 at 16:47
  • @tim s.: But in that case the laptop will still verify and index the whole chain, which I think the asker wants to avoid. – Nate Eldredge Apr 10 '14 at 21:17
3

If you copy the blocks/ and chainstate/ directory, you're good to go. Rescanning the wallet will happen automatically. The database/ directory only contains temporary data.

You should make sure to shut down the node on your desktop before copying though, or the copy may be inconsistent.

0

Have you considered a bitcoin client that doesn't need to download the blockchain on your laptop? https://electrum.org/

If the two computers resides on the same private network, have you tryied to use the addnode option to point to your PC private address? You could specify it via command line or via the bitcoin.conf file. You need to try, i am not really sure if this helps, in my imagination the PC passes the already downloaded block to the laptop without downloading from the internet.

  • Yes, I have considered that and prefer to use bitcoin-qt. – user Apr 10 '14 at 15:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.