2

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.

mrbear235
  • 23
  • 3
  • possible duplicate: [Creating my own bootstrap.dat?](http://bitcoin.stackexchange.com/q/10381/5406) – Murch May 12 '15 at 08:17

2 Answers2

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.

lovelace
  • 36
  • 2
0

It should be as easy as

cd /home/USER/.bitcoin/blocks

tar -cf bootstrap.dat blk*

For dogecoin just change the directory to match

Mullick
  • 74
  • 3
  • Pretty sure that just creates a tarfile with the blk files in it. – Nick ODell Dec 16 '14 at 00: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 '14 at 04:15
  • @Mullick: Were you able to confirm your solution? – Murch May 12 '15 at 08:18