I would like to generate a Bitcoin and Dogecoin (qt) bootstrap file on my ubuntu machine. Is there any way to do this? I know it's possible with Windows but I'm on Ubuntu. Thanks.


2 Answers 2


Find your local blockchain:

cd ~/.bitcoin/blocks

Or, to bootstrap testnet, find your local testnet blockchain:

cd ~/.bitcoin/testnet3/blocks

Concatenate all your blkxxxxx.dat files and place the result in bootstrap.dat:

cat blk* > bootstrap.dat

Warning: Using tar -cf (as instructed by this answer) did not work for me. I'm importing from bitcoind into btcd.


It should be as easy as

cd /home/USER/.bitcoin/blocks

tar -cf bootstrap.dat blk*

For dogecoin just change the directory to match

  • Pretty sure that just creates a tarfile with the blk files in it.
    – Nick ODell
    Dec 16, 2014 at 0:38
  • ya bitcoind seems to recognize that format just fine. might not be a true bootstrap but i have used it successfully on older bitcoin clones. Might not work the same these days. Ill test tonight and update my post as needed
    – Mullick
    Dec 21, 2014 at 4:15
  • @Mullick: Were you able to confirm your solution?
    – Murch
    May 12, 2015 at 8:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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