I want to run a bitcoin full node at home but the initial sync-up is taking days because of my slow internet connection. Can I download the blockchain data from a machine with faster connection and transfer over to my home machine? Is this possible and if yes, how?
2 Answers
You can simply copy the entire data directory from an existing bitcoin-core installation on another machine over to your machine, then start the bitcoind daemon.
Be aware you'll want to create a backup of the wallet.dat file from the destination machine so you don't inadvertently overwrite it. You may also want to confirm the bitcoin.conf
settings work for the destination machine. Specifically, you may want to modify the rpcpassword, memory configuration, etc.
On Windows, the data folder is installed by default into %AppData%\Bitcoin
If you trust that machine, no problem to do it. All blocks in chains (which means "mined ones" (which means confirmed ones) ) are same in all nodes. But if somebody changed some parts of the chain you fetched from "somewhere", they can spoof received/sent transactions which can be observed as "correct" only in your node. To make sure, you can just compare hashes of the blocks (which contains your in / out transactions) in your node with ones in another node (maybe in blockchain.info).
-dbcache
setting.