I'm getting the latest torrent and I'm running bitcoind on my linux box. How can I import this once it's downloaded?
If you are downloading the blockchain from scratch I strongly recommend using the bootstrap.dat file, which allows your computer to simply verify blocks and import them without needing to download for days or even weeks on end.
The main issue with downloading from the network is that your client will only download one block at a time. It starts with block #1 and will not try to download anything except for block #2 after block #1 is verified, and so on. As you can imagine, with network latency this can become a rather painful process, as you have endured.
The bootstrap.dat file is widely available on bittorrent, torrent files can be found here: http://sourceforge.net/projects/bitcoin/files/Bitcoin/blockchain/
Downloading the bootstrap.dat file is just as secure as downloading the blockchain from peers, but since all the data is already there, the only latency you suffer between blocks is going to your hard drive and finding the next block.
You simply need to place the
bootstrap.dat in your
%appdata%\Bitcoin folder, (on linux/unix in your
.bitcoin folder). The file will be renamed to
bootstrap.dat.old when the data import is complete. Using this, it took me only 4 hours to catch up with the network, as opposed to the 1-2 weeks it took me before reformatting on the same computer.
Copy the blockchain.dat file into your bitcoind directory, and the application will begin processing the file, checking for validity as it goes. Once it parses the entire blockchain file, it will connect to peers to continue downloading more-recent blocks.