How to create a bootstrap.dat file?

3

3

I want to create a new bootstrap.dat file for a Dogecoin. How do this kind of files are created and how can I create one? What tools should I use? any answers/links/references are appreciated. I have searched here, but I haven't found any satisfying answer. I saw this post: Creating my own bootstrap.dat but there is no method mentioned of putting the block in the bootstrap.dat file. Saw this post too: How do you generate a bootstrap.dat file? but the tools mentioned are for Bitcoin and I'm not sure how to use them.... can anyone create a more explicit, step-by-step tutorial for doing this? something that anyone can understand? thanks in advance!

nobody

Posted 2014-03-05T10:05:14.290

Reputation: 41

Question was closed 2015-05-12T08:06:28.260

First of all, a valid blockchain. If you don't have one, you may get a headstart downloading the archive gratiously posted here: http://www.reddit.com/r/dogecoin/comments/1ug62i/valid_blockchain_files_syncs_to_correct_chain/

Joe Pineda 2014-03-05T12:50:10.133

Answers

5

Since van der Woerdt's answer in first question you link to indicates you can simply concatenate the blk files, you can open a DOS window (if your using windows), then type

CD C:\Users\<my_user>\AppData\Roaming\DogeCoin

(if you're on Win7+)

And then

COPY /b blk0001.dat+blk0002.dat bootstrap.dat

And that would be it!

Joe Pineda

Posted 2014-03-05T10:05:14.290

Reputation: 2 040

Well I didn't knew exactly what he means by "concatenating", but if it is that easy then it's awesome! thanks a lot, I'll give it a try!nobody 2014-03-05T20:38:26.847

Why there aren't downloads available for this? It's a waste of connections syncing over network.m3nda 2015-02-10T16:08:27.327

@nobody: "To concatenate" means to attach sequentially after one another.Murch 2015-05-12T08:05:48.667

2

 From Mac

  1. Open terminal
  2. Go to the folder where the blocks are. In this case Bitcoin's folder (it's the same for other bitcoin forks)

    cd "/Library/Application Support/Bitcoin/blocks/"

  3. Run this code that will concatenate all the blk files. Make sure to include all the numbered blocks you find on your Bitcoin's folder. In this case there are 4

    cat blk00000.dat blk00001.dat blk00002.dat blk00003.dat blk00004.dat > bootstrap.dat

  4. Done.

David Lopez

Posted 2014-03-05T10:05:14.290

Reputation: 159